diff --git a/.travis.yml b/.travis.yml index 0310bac..24e290a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: ruby rvm: - - "2.0.0" + - "2.3.3" + - "2.4.0" script: - bundle exec rake test diff --git a/Gemfile b/Gemfile index 6fc4828..9d7f545 100644 --- a/Gemfile +++ b/Gemfile @@ -4,6 +4,9 @@ gemspec gem 'rake' gem 'pry' +# gem 'fhir_models', :path => '../fhir_models' +# gem 'fhir_models', :git => 'https://github.com/fhir-crucible/fhir_models.git', :branch => 'master' + group :test do gem 'simplecov', :require => false gem 'minitest', '~> 5.3' diff --git a/Gemfile.lock b/Gemfile.lock index c5d1fd9..54056ac 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - fhir_scorecard (1.8.0) + fhir_scorecard (1.8.1) fhir_models (~> 1.8) GEM @@ -11,35 +11,35 @@ GEM awesome_print (1.7.0) bcp47 (0.3.3) i18n - builder (3.2.2) + builder (3.2.3) coderay (1.1.1) date_time_precision (0.8.1) docile (1.1.5) - fhir_models (1.8.1) + fhir_models (1.8.3) bcp47 (>= 0.3) date_time_precision (>= 0.8) mime-types (>= 1.16, < 3) nokogiri (>= 1.6) - i18n (0.7.0) - json (2.0.2) + i18n (0.8.1) + json (2.0.3) method_source (0.8.2) mime-types (2.99.3) mini_portile2 (2.1.0) - minitest (5.9.1) - minitest-reporters (1.1.12) + minitest (5.10.1) + minitest-reporters (1.1.14) ansi builder minitest (>= 5.0) ruby-progressbar - nokogiri (1.6.8.1) + nokogiri (1.7.1) mini_portile2 (~> 2.1.0) pry (0.10.4) coderay (~> 1.1.0) method_source (~> 0.8.1) slop (~> 3.4) - rake (11.3.0) + rake (12.0.0) ruby-progressbar (1.8.1) - simplecov (0.12.0) + simplecov (0.14.1) docile (~> 1.1.0) json (>= 1.8, < 3) simplecov-html (~> 0.10.0) @@ -59,4 +59,4 @@ DEPENDENCIES simplecov BUNDLED WITH - 1.13.6 + 1.14.6 diff --git a/fhir_scorecard.gemspec b/fhir_scorecard.gemspec index f54b5bd..c79f9df 100644 --- a/fhir_scorecard.gemspec +++ b/fhir_scorecard.gemspec @@ -7,7 +7,7 @@ Gem::Specification.new do |s| s.email = "jwalonoski@mitre.org" s.homepage = "https://github.com/fhir-crucible/fhir_scorecard" s.authors = ["Jason Walonoski"] - s.version = '1.8.0' + s.version = '1.8.1' s.files = s.files = `git ls-files`.split("\n") diff --git a/lib/fhir_scorecard.rb b/lib/fhir_scorecard.rb index 8cf5f48..d1e77f4 100644 --- a/lib/fhir_scorecard.rb +++ b/lib/fhir_scorecard.rb @@ -6,6 +6,7 @@ require File.join(root,'lib','scorecard.rb') require File.join(root,'lib','terminology.rb') +require File.join(root,'lib','implementation_guides.rb') require File.join(root,'lib','rubrics.rb') Dir.glob(File.join(root, 'lib','rubrics','**','*.rb')).each do |file| diff --git a/lib/implementation_guides.rb b/lib/implementation_guides.rb new file mode 100644 index 0000000..545ade2 --- /dev/null +++ b/lib/implementation_guides.rb @@ -0,0 +1,184 @@ +module FHIR + class ImplementationGuideLookup + + @@resources = File.expand_path './resources', File.dirname(File.absolute_path(__FILE__)) + @@loaded = false + + @@us_core = {} + @@standard_health_record = {} + @@shr_indicators = {} + + @@shr_defaults = { + 'Practitioner' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner', + 'Organization' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization', + 'RelatedPerson' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson', + 'AllergyIntolerance' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-AllergyIntolerance', + 'BodySite' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite', + 'Patient' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord', + 'Coverage' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HealthInsurance', + 'Device' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device', + 'DeviceUseStatement' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUse', + 'Encounter' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter', + 'Immunization' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization', + 'Medication' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication', + 'MedicationStatement' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse', + 'MedicationRequest' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationPrescription', + 'DiagnosticReport' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Panel', + 'Observation' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation', + 'Condition' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Problem', + 'Procedure' => 'http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure' + } + + def self.guess_shr_profile(resource) + load_guides + if resource && !@@shr_indicators.nil? && !@@shr_indicators.empty? + # if the profile is given, we don't need to guess + if resource.meta && resource.meta.profile && !resource.meta.profile.empty? + resource.meta.profile.each do |uri| + return @@standard_health_record[uri] if @@standard_health_record[uri] + end + end + # if the profile is not named, then we need to guess using some heuristic indicators + @@shr_indicators.each do |url, data| + if data['resource'] == resource.resourceType + indicators = true + resource_hash = resource.to_hash + data['fixedValues'].each do |requirement| + # indicators = false if requirement not met + steps = requirement['path'].split('.') + steps.delete(data['resource']) + actual_values = select(steps, resource_hash) + expected_value = requirement['value'] + if actual_values.nil? || (actual_values.is_a?(Array) && actual_values.empty?) + indicators = false + elsif actual_values.is_a?(Array) + actual_values.each do |onevalue| + if onevalue.is_a?(Hash) + if onevalue['coding'] + actual_code = onevalue['coding'].map{|x|x['code']} + expected_code = expected_value['coding'].map{|x|x['code']} + any_match = false + actual_code.each do |x| + any_match = true if expected_code.include?(x) + end + indicators = false unless any_match + else + expected_value.each do |key, value| + indicators = false unless onevalue[key] == value + end + end + end + end + elsif actual_values.is_a?(Hash) + if actual_values['coding'] + actual_code = actual_values['coding'].map{|x|x['code']} + expected_code = expected_value['coding'].map{|x|x['code']} + any_match = false + actual_code.each do |x| + any_match = true if expected_code.include?(x) + end + indicators = false unless any_match + else + expected_value.each do |key, value| + indicators = false unless actual_values[key] == value + end + end + elsif actual_values.is_a?(TrueClass) || actual_values.is_a?(FalseClass) + indicators = false unless actual_values == expected_value + end + end + return @@standard_health_record[uri] if indicators + end + end + # if the heuristics do not help, use a default if possible + default = @@shr_defaults[resource.resourceType] + return @@standard_health_record[default] if default + end + nil + end + + def self.select(steps=[], obj) + return obj if steps.nil? || steps.empty? + copysteps = steps.clone + if obj.is_a?(Hash) + step = copysteps.delete_at(0) + obj = obj[step] + select(copysteps, obj) + elsif obj.is_a?(Array) + obj.map do |x| + select(copysteps, x) + end + end + end + + def self.guess_uscore_profile(resource) + load_guides + if resource + # if the profile is given, we don't need to guess + if resource.meta && resource.meta.profile && !resource.meta.profile.empty? + resource.meta.profile.each do |uri| + return @@us_core[uri] if @@us_core[uri] + end + end + # TODO consider VitalSigns/Observations + # Otherwise, guess the first profile that matches on resource type + @@us_core.each do |url, thing| + if thing.is_a?(FHIR::StructureDefinition) + return thing if thing.type == resource.resourceType + end + end + end + nil + end + + def self.lookup(url) + load_guides + @@us_core[url] || @@standard_health_record[url] || nil + end + + def self.load_guides + if !@@loaded + begin + # load all the FHIR resources in the US Core Implementation Guide + Dir.glob(File.join(@@resources,'us_core','**','*.json')).each do |filename| + raw = File.open(filename,'r:UTF-8',&:read) + resource = FHIR.from_contents(raw) + if resource + @@us_core[resource.id] = resource if resource.id + @@us_core[resource.url] = resource if resource.url + end + end + rescue => error + FHIR.logger.error error + end + + begin + # load all the FHIR resources in the Standard Health Record Implementation Guide + Dir.glob(File.join(@@resources,'standard_health_record','**','*.json')).each do |filename| + raw = File.open(filename,'r:UTF-8',&:read) + resource = FHIR.from_contents(raw) + if resource + @@standard_health_record[resource.id] = resource if resource.id + @@standard_health_record[resource.url] = resource if resource.url + end + end + rescue => error + FHIR.logger.error error + end + + begin + # load some indicators to help guess which SHR profile to use + filename = File.join(@@resources,'profile_indicators.json') + raw = File.open(filename,'r:UTF-8',&:read) + @@shr_indicators = JSON.parse(raw) + rescue => error + @@shr_indicators = {} + FHIR.logger.error error + end + + @@loaded = true + end + end + + end +end diff --git a/lib/resources/profile_indicators.json b/lib/resources/profile_indicators.json new file mode 100644 index 0000000..3ae2491 --- /dev/null +++ b/lib/resources/profile_indicators.json @@ -0,0 +1,1633 @@ +{ + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact", + "resource": "CareTeam", + "fixedValues": [ + { + "path": "CareTeam.participant.role", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1552023" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider", + "resource": "CareTeam", + "fixedValues": [ + { + "path": "CareTeam.participant.role", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider", + "resource": "CareTeam", + "fixedValues": [ + { + "path": "CareTeam.participant.role", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + } + }, + { + "path": "CareTeam.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia", + "resource": "Condition", + "fixedValues": [ + { + "path": "Condition.code", + "value": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "93030006" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction", + "resource": "Condition", + "fixedValues": [ + { + "path": "Condition.category", + "value": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS", + "code": "adverse_reaction" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "drug" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "food" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "food" + }, + { + "path": "AllergyIntolerance.category", + "value": "medication" + }, + { + "path": "AllergyIntolerance.category", + "value": "biologic" + }, + { + "path": "AllergyIntolerance.category", + "value": "environment" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + }, + { + "path": "AllergyIntolerance.verificationStatus", + "value": "unconfirmed" + }, + { + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "food" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + }, + { + "path": "AllergyIntolerance.verificationStatus", + "value": "unconfirmed" + }, + { + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "drug" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + }, + { + "path": "AllergyIntolerance.verificationStatus", + "value": "unconfirmed" + }, + { + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy", + "resource": "AllergyIntolerance", + "fixedValues": [ + { + "path": "AllergyIntolerance.category", + "value": "environment" + }, + { + "path": "AllergyIntolerance.type", + "value": "allergy" + }, + { + "path": "AllergyIntolerance.verificationStatus", + "value": "unconfirmed" + }, + { + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "social-history" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0242566" + } + ] + } + }, + { + "path": "Observation.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0021494" + } + ] + } + }, + { + "path": "Observation.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1522726" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + } + }, + { + "path": "Observation.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2363943" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0001948" + } + ] + } + }, + { + "path": "Observation.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "398624005" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "81364-2" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0012155" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk", + "resource": "Basic", + "fixedValues": [ + { + "path": "Basic.code", + "value": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-behavior-ViolentBehaviorRisk" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel", + "resource": "DiagnosticReport", + "fixedValues": [ + { + "path": "DiagnosticReport.codedDiagnosis", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0516918" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557163" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557162" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1820459" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557509" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0238646" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0206073" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed", + "resource": "MedicationRequest", + "fixedValues": [ + { + "path": "MedicationRequest.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange", + "resource": "Basic", + "fixedValues": [ + { + "path": "Basic.code", + "value": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-medication-MedicationChange" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber", + "resource": "ContactPoint", + "fixedValues": [ + { + "path": "ContactPoint.use", + "value": "personal" + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber", + "resource": "ContactPoint", + "fixedValues": [ + { + "path": "ContactPoint.use", + "value": "work" + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven", + "resource": "Immunization", + "fixedValues": [ + { + "path": "Immunization.wasNotGiven", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0871747" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "63504-5" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74287-4" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74165-2" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService", + "resource": "DiagnosticReport", + "fixedValues": [ + { + "path": "DiagnosticReport.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3714797" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0040802" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "64631-5" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior", + "resource": "DiagnosticReport", + "fixedValues": [ + { + "path": "DiagnosticReport.extension.valueCodeableConcept", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1314687" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0700589" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation", + "resource": "Basic", + "fixedValues": [ + { + "path": "Basic.code", + "value": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-sex-ContraceptiveMethodRecommendation" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed", + "resource": "DeviceUseStatement", + "fixedValues": [ + { + "path": "DeviceUseStatement.extension.valueBoolean", + "value": false + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent", + "resource": "Condition", + "fixedValues": [ + { + "path": "Condition.modifierExtension.extension.valueBoolean", + "value": true + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54574-9" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "/min" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "/min" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "%" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "Cel" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "kg" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5" + } + ] + } + }, + { + "path": "Observation.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + } + }, + { + "path": "Observation.component.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + } + }, + { + "path": "Observation.component.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + } + }, + { + "path": "Observation.component.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + { + "path": "Observation.component.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.category", + "value": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "55284-4" + } + ] + } + }, + { + "path": "Observation.component.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + } + }, + { + "path": "Observation.component.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + } + }, + { + "path": "Observation.component.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "path": "Observation.component.valueQuantity", + "value": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + } + }, + { + "path": "Observation.extension", + "value": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + }, + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure": { + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure", + "resource": "Observation", + "fixedValues": [ + { + "path": "Observation.code", + "value": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + } + }, + { + "path": "Observation.extension", + "value": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierVS.json new file mode 100755 index 0000000..4aab537 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-actor-LanguageQualifierVS.json @@ -0,0 +1,78 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-actor-LanguageQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR LanguageQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-actor-LanguageQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.LanguageQualifierVS" + }, + "name": "SHR LanguageQualifierVS CodeSystem", + "title": "SHR LanguageQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 8, + "concept": [ + { + "code": "preferred_spoken", + "display": "Preferred language", + "definition": "Preferred language" + }, + { + "code": "secondary_spoken", + "display": "Secondary language", + "definition": "Secondary language" + }, + { + "code": "apraxia", + "display": "Difficulty speaking due to motor disorder", + "definition": "Difficulty speaking due to motor disorder" + }, + { + "code": "aphasia", + "display": "Difficulty in speaking, listening, reading, and writing", + "definition": "Difficulty in speaking, listening, reading, and writing" + }, + { + "code": "signs", + "display": "Uses sign language", + "definition": "Uses sign language" + }, + { + "code": "braille", + "display": "Reads using braille", + "definition": "Reads using braille" + }, + { + "code": "lipreads", + "display": "Uses lipreading (speechreading)", + "definition": "Uses lipreading (speechreading)" + }, + { + "code": "aac", + "display": "Uses augmentative and alternative communication", + "definition": "Uses augmentative and alternative communication" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersVS.json b/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersVS.json new file mode 100755 index 0000000..27dcfd4 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-base-GenericAnswersVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-base-GenericAnswersVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GenericAnswersVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-GenericAnswersVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.base.GenericAnswersVS" + }, + "name": "SHR GenericAnswersVS CodeSystem", + "title": "SHR GenericAnswersVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "dont_know_answer", + "display": "The source responded that he or she did not know the information needed or requested.", + "definition": "The source responded that he or she did not know the information needed or requested." + }, + { + "code": "exists_answer", + "display": "The source asserts that the thing in question exists, but additional information is unknown. For example, Jim knows he has a dentist, but not recall her name.", + "definition": "The source asserts that the thing in question exists, but additional information is unknown. For example, Jim knows he has a dentist, but not recall her name." + }, + { + "code": "none_answer", + "display": "Nothing of a type of thing is known to exists, e.g., the siblings of an only child. Also use this code to represent a 'none of the above' answer", + "definition": "Nothing of a type of thing is known to exists, e.g., the siblings of an only child. Also use this code to represent a 'none of the above' answer" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonVS.json new file mode 100755 index 0000000..e5307fb --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-base-MissingValueReasonVS.json @@ -0,0 +1,79 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-base-MissingValueReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MissingValueReasonVS CodeSystem

\n

Reasons that a value associated with a test or other observation is missing.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-MissingValueReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.base.MissingValueReasonVS" + }, + "name": "SHR MissingValueReasonVS CodeSystem", + "title": "SHR MissingValueReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "description": "Reasons that a value associated with a test or other observation is missing.", + "caseSensitive": true, + "content": "complete", + "count": 8, + "concept": [ + { + "code": "missing_unanswered", + "display": "The source was asked but declined to respond to the question, or the question was left unanswered.", + "definition": "The source was asked but declined to respond to the question, or the question was left unanswered." + }, + { + "code": "missing_na", + "display": "The question or data element is not applicable, or based on other answers, no answer to this question is required.", + "definition": "The question or data element is not applicable, or based on other answers, no answer to this question is required." + }, + { + "code": "missing_redacted", + "display": "The information has been redacted.", + "definition": "The information has been redacted." + }, + { + "code": "missing_no_clue", + "display": "The reason the information is not present is not known.", + "definition": "The reason the information is not present is not known." + }, + { + "code": "missing_cancelled", + "display": "The request or order to collect this information was cancelled.", + "definition": "The request or order to collect this information was cancelled." + }, + { + "code": "missing_collection", + "display": "Missing due to a problem collecting, identifying, or locating the specimen, including patient refusal or unable to provide specimen", + "definition": "Missing due to a problem collecting, identifying, or locating the specimen, including patient refusal or unable to provide specimen" + }, + { + "code": "missing_specimen", + "display": "Missing due to a problem with the specimen, e.g. contamination, clotting, improper tube type, improper storage, too small, etc.", + "definition": "Missing due to a problem with the specimen, e.g. contamination, clotting, improper tube type, improper storage, too small, etc." + }, + { + "code": "missing_malfunction", + "display": "Missing due to instrument malfunction.", + "definition": "Missing due to instrument malfunction." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.json new file mode 100755 index 0000000..35809cd --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-AlcoholUseScreeningToolVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AlcoholUseScreeningToolVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-AlcoholUseScreeningToolVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.AlcoholUseScreeningToolVS" + }, + "name": "SHR AlcoholUseScreeningToolVS CodeSystem", + "title": "SHR AlcoholUseScreeningToolVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "audit", + "display": "AUDIT", + "definition": "AUDIT" + }, + { + "code": "audit_c", + "display": "AUDIT-C", + "definition": "AUDIT-C" + }, + { + "code": "crafft", + "display": "CRAFFT", + "definition": "CRAFFT" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernVS.json new file mode 100755 index 0000000..b5ff661 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-DietNutritionConcernVS.json @@ -0,0 +1,128 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-DietNutritionConcernVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DietNutritionConcernVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-DietNutritionConcernVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.DietNutritionConcernVS" + }, + "name": "SHR DietNutritionConcernVS CodeSystem", + "title": "SHR DietNutritionConcernVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 18, + "concept": [ + { + "code": "sugar", + "display": "Too much sugar", + "definition": "Too much sugar" + }, + { + "code": "snacks", + "display": "Frequent snacking", + "definition": "Frequent snacking" + }, + { + "code": "caffeine", + "display": "Too much caffeine", + "definition": "Too much caffeine" + }, + { + "code": "cholesterol", + "display": "Too much cholesterol", + "definition": "Too much cholesterol" + }, + { + "code": "overeating", + "display": "Eating too much", + "definition": "Eating too much" + }, + { + "code": "undereating", + "display": "Eating too little", + "definition": "Eating too little" + }, + { + "code": "unhealthy_diet", + "display": "Eating an unhealthy diet", + "definition": "Eating an unhealthy diet" + }, + { + "code": "chewing", + "display": "Problem chewing", + "definition": "Problem chewing" + }, + { + "code": "swallowing", + "display": "Problem swallowing", + "definition": "Problem swallowing" + }, + { + "code": "high_appetite", + "display": "Increased appetite", + "definition": "Increased appetite" + }, + { + "code": "low_appetite", + "display": "Decreased appetite", + "definition": "Decreased appetite" + }, + { + "code": "taste", + "display": "Problem with food taste", + "definition": "Problem with food taste" + }, + { + "code": "constipation", + "display": "Constipation", + "definition": "Constipation" + }, + { + "code": "diarrhea", + "display": "Diarrhea", + "definition": "Diarrhea" + }, + { + "code": "abdominal_pain", + "display": "Abdominal pain", + "definition": "Abdominal pain" + }, + { + "code": "gas", + "display": "Flatulence", + "definition": "Flatulence" + }, + { + "code": "binging", + "display": "Binge eating", + "definition": "Binge eating" + }, + { + "code": "purging", + "display": "Purging", + "definition": "Purging" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationVS.json new file mode 100755 index 0000000..2bcf73a --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-PhysicalActivityLimitationVS.json @@ -0,0 +1,98 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-PhysicalActivityLimitationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalActivityLimitationVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-PhysicalActivityLimitationVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.PhysicalActivityLimitationVS" + }, + "name": "SHR PhysicalActivityLimitationVS CodeSystem", + "title": "SHR PhysicalActivityLimitationVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 12, + "concept": [ + { + "code": "conditions", + "display": "Medical Problems or Conditions", + "definition": "Medical Problems or Conditions" + }, + { + "code": "disability", + "display": "Disability", + "definition": "Disability" + }, + { + "code": "frail", + "display": "Frailty", + "definition": "Frailty" + }, + { + "code": "pain", + "display": "Pain or injury", + "definition": "Pain or injury" + }, + { + "code": "unaffordable", + "display": "Too expensive", + "definition": "Too expensive" + }, + { + "code": "no_time", + "display": "Not enough time", + "definition": "Not enough time" + }, + { + "code": "lack_knowledge", + "display": "Not sure how", + "definition": "Not sure how" + }, + { + "code": "unmotivated", + "display": "Low motivation", + "definition": "Low motivation" + }, + { + "code": "no_partner", + "display": "Does not have partner", + "definition": "Does not have partner" + }, + { + "code": "no_place", + "display": "No place to exercise", + "definition": "No place to exercise" + }, + { + "code": "worried", + "display": "Worried about starting exercise program", + "definition": "Worried about starting exercise program" + }, + { + "code": "embarrassed", + "display": "Too self-conscious", + "definition": "Too self-conscious" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusVS.json new file mode 100755 index 0000000..0e98ba2 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousPracticeStatusVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-ReligiousPracticeStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousPracticeStatusVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousPracticeStatusVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousPracticeStatusVS" + }, + "name": "SHR ReligiousPracticeStatusVS CodeSystem", + "title": "SHR ReligiousPracticeStatusVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "practicing", + "display": "Active or observant, currently practicing the tenants of the religion", + "definition": "Active or observant, currently practicing the tenants of the religion" + }, + { + "code": "occasional", + "display": "Occasionally practicing, for example, on special holidays or occasions", + "definition": "Occasionally practicing, for example, on special holidays or occasions" + }, + { + "code": "non_practicing", + "display": "Not currently practicing", + "definition": "Not currently practicing" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionVS.json new file mode 100755 index 0000000..ff06905 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-ReligiousRestrictionVS.json @@ -0,0 +1,54 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-ReligiousRestrictionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousRestrictionVS CodeSystem

\n

Includes religious restrictions that could impact care, other than dietary restrictions (handled elsewhere).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousRestrictionVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousRestrictionVS" + }, + "name": "SHR ReligiousRestrictionVS CodeSystem", + "title": "SHR ReligiousRestrictionVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "description": "Includes religious restrictions that could impact care, other than dietary restrictions (handled elsewhere).", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "same_sex", + "display": "Must have a medical provider of the same sex as the subject", + "definition": "Must have a medical provider of the same sex as the subject" + }, + { + "code": "no_transfusion", + "display": "Cannot receive blood products", + "definition": "Cannot receive blood products" + }, + { + "code": "no_treatment", + "display": "Cannot receive medical treatment", + "definition": "Cannot receive medical treatment" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonVS.json new file mode 100755 index 0000000..11bf840 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SleepQualityReasonVS.json @@ -0,0 +1,93 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-SleepQualityReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SleepQualityReasonVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SleepQualityReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SleepQualityReasonVS" + }, + "name": "SHR SleepQualityReasonVS CodeSystem", + "title": "SHR SleepQualityReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 11, + "concept": [ + { + "code": "sleep_location", + "display": "Where you sleep (e.g. noisy or uncomfortable environment)", + "definition": "Where you sleep (e.g. noisy or uncomfortable environment)" + }, + { + "code": "shift", + "display": "Shift work", + "definition": "Shift work" + }, + { + "code": "partner_snoring", + "display": "Partner snoring", + "definition": "Partner snoring" + }, + { + "code": "partner", + "display": "Disturbed by partner snoring or moving", + "definition": "Disturbed by partner snoring or moving" + }, + { + "code": "no_time", + "display": "Not enough time to sleep enough", + "definition": "Not enough time to sleep enough" + }, + { + "code": "breathing", + "display": "Trouble breathing, snoring, waking up gasping for breath", + "definition": "Trouble breathing, snoring, waking up gasping for breath" + }, + { + "code": "worries", + "display": "Thoughts and worries, anxiety", + "definition": "Thoughts and worries, anxiety" + }, + { + "code": "nightmares", + "display": "Disturbing dreams", + "definition": "Disturbing dreams" + }, + { + "code": "restless_legs", + "display": "Restless legs", + "definition": "Restless legs" + }, + { + "code": "pain", + "display": "Pain", + "definition": "Pain" + }, + { + "code": "not_sleepy", + "display": "Not sleepy at the appropriate time", + "definition": "Not sleepy at the appropriate time" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedVS.json new file mode 100755 index 0000000..8fd78dc --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SpecialDietFollowedVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-SpecialDietFollowedVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SpecialDietFollowedVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SpecialDietFollowedVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SpecialDietFollowedVS" + }, + "name": "SHR SpecialDietFollowedVS CodeSystem", + "title": "SHR SpecialDietFollowedVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "vegetarian", + "display": "Vegetarian diet", + "definition": "Vegetarian diet" + }, + { + "code": "paleo", + "display": "Paleo diet", + "definition": "Paleo diet" + }, + { + "code": "kosher", + "display": "Kosher diet", + "definition": "Kosher diet" + }, + { + "code": "halal", + "display": "Halal diet", + "definition": "Halal diet" + }, + { + "code": "gluten_free", + "display": "Gluten free diet", + "definition": "Gluten free diet" + }, + { + "code": "low_salt", + "display": "Low salt diet", + "definition": "Low salt diet" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.json new file mode 100755 index 0000000..023b8ef --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.json @@ -0,0 +1,93 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-behavior-SubstanceAbuseTreatmentTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SubstanceAbuseTreatmentTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SubstanceAbuseTreatmentTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SubstanceAbuseTreatmentTypeVS" + }, + "name": "SHR SubstanceAbuseTreatmentTypeVS CodeSystem", + "title": "SHR SubstanceAbuseTreatmentTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.805Z", + "caseSensitive": true, + "content": "complete", + "count": 11, + "concept": [ + { + "code": "day_treatment", + "display": "Day Treatment Services", + "definition": "Day Treatment Services" + }, + { + "code": "inpatient", + "display": "Inpatient/Hospital", + "definition": "Inpatient/Hospital" + }, + { + "code": "inpatient_detox", + "display": "Hospital Inpatient Detoxification Services", + "definition": "Hospital Inpatient Detoxification Services" + }, + { + "code": "ambulatory", + "display": "Outpatient services", + "definition": "Outpatient services" + }, + { + "code": "ambulatory_detox", + "display": "Ambulatory Detoxification Services", + "definition": "Ambulatory Detoxification Services" + }, + { + "code": "outreach", + "display": "Outreach Services", + "definition": "Outreach Services" + }, + { + "code": "intensive_outpatient", + "display": "Intensive Outpatient Services", + "definition": "Intensive Outpatient Services" + }, + { + "code": "methadone_treatment", + "display": "Methadone Treatment Services", + "definition": "Methadone Treatment Services" + }, + { + "code": "residental_rehab", + "display": "Residential/Rehabilitation Services", + "definition": "Residential/Rehabilitation Services" + }, + { + "code": "after_care", + "display": "After Care Services", + "definition": "After Care Services" + }, + { + "code": "recovery_support", + "display": "Recovery Support Services", + "definition": "Recovery Support Services" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierVS.json new file mode 100755 index 0000000..586b036 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-CodingQualifierVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-CodingQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CodingQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-CodingQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.CodingQualifierVS" + }, + "name": "SHR CodingQualifierVS CodeSystem", + "title": "SHR CodingQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.806Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "preferred_code", + "display": "The preferred, standardized code for interoperability purposes. There should be only one coding in a CodeableConcept with this tag.", + "definition": "The preferred, standardized code for interoperability purposes. There should be only one coding in a CodeableConcept with this tag." + }, + { + "code": "source_code", + "display": "The code found in the information source for this entry, e.g., the raw, original, or first encoding.", + "definition": "The code found in the information source for this entry, e.g., the raw, original, or first encoding." + }, + { + "code": "user_selected_code", + "display": "The code was directly selected by the user, as opposed to being determined after the fact via interpretation of notes or natural language processing.", + "definition": "The code was directly selected by the user, as opposed to being determined after the fact via interpretation of notes or natural language processing." + }, + { + "code": "derived_code", + "display": "The code was determined after-the-fact from source data, either through translation, or via interpretation of free text (by human or machine).", + "definition": "The code was determined after-the-fact from source data, either through translation, or via interpretation of free text (by human or machine)." + }, + { + "code": "category_code", + "display": "Indicates the code is a less specific term or a categorization of the source or standard code, i.e., a hypernym. For example, a code for 'vital sign' in the context of a body weight measurement would be a category code. Category codes can be useful for search and query purposes.", + "definition": "Indicates the code is a less specific term or a categorization of the source or standard code, i.e., a hypernym. For example, a code for 'vital sign' in the context of a body weight measurement would be a category code. Category codes can be useful for search and query purposes." + }, + { + "code": "coded_expression", + "display": "The code is an expression in an expression language defined by the CodeSystem", + "definition": "The code is an expression in an expression language defined by the CodeSystem" + }, + { + "code": "default_code", + "display": "The code was supplied by the system by default, because no specific coded value was available.", + "definition": "The code was supplied by the system by default, because no specific coded value was available." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleVS.json new file mode 100755 index 0000000..3b9e7de --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-PerformanceGradingScaleVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-PerformanceGradingScaleVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PerformanceGradingScaleVS CodeSystem

\n

A simple performance grading scale. Also useful for grading quality.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-PerformanceGradingScaleVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.PerformanceGradingScaleVS" + }, + "name": "SHR PerformanceGradingScaleVS CodeSystem", + "title": "SHR PerformanceGradingScaleVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "description": "A simple performance grading scale. Also useful for grading quality.", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "excellent", + "display": "Excellent", + "definition": "Excellent" + }, + { + "code": "very_good", + "display": "Very good", + "definition": "Very good" + }, + { + "code": "good", + "display": "Good", + "definition": "Good" + }, + { + "code": "fair", + "display": "Fair", + "definition": "Fair" + }, + { + "code": "poor", + "display": "Poor", + "definition": "Poor" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeVS.json new file mode 100755 index 0000000..297ee75 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeDateTimeVS.json @@ -0,0 +1,138 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-QualitativeDateTimeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeDateTimeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeDateTimeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeDateTimeVS" + }, + "name": "SHR QualitativeDateTimeVS CodeSystem", + "title": "SHR QualitativeDateTimeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.806Z", + "caseSensitive": true, + "content": "complete", + "count": 20, + "concept": [ + { + "code": "past", + "display": "A time or time period in the indefinite past", + "definition": "A time or time period in the indefinite past" + }, + { + "code": "many_years_ago", + "display": "Many years ago", + "definition": "Many years ago" + }, + { + "code": "several_years_ago", + "display": "Several years ago", + "definition": "Several years ago" + }, + { + "code": "one_year_ago", + "display": "About a year ago", + "definition": "About a year ago" + }, + { + "code": "months_ago", + "display": "Several months ago", + "definition": "Several months ago" + }, + { + "code": "weeks_ago", + "display": "Several weeks ago", + "definition": "Several weeks ago" + }, + { + "code": "days_ago", + "display": "Several days ago", + "definition": "Several days ago" + }, + { + "code": "hours_ago", + "display": "Several hours ago", + "definition": "Several hours ago" + }, + { + "code": "minutes_ago", + "display": "Several minutes ago", + "definition": "Several minutes ago" + }, + { + "code": "preexisting", + "display": "At a time previous to the current encounter or admission", + "definition": "At a time previous to the current encounter or admission" + }, + { + "code": "now", + "display": "Now, currently, presently continuing or ongoing", + "definition": "Now, currently, presently continuing or ongoing" + }, + { + "code": "minutes_hence", + "display": "Several minutes from now", + "definition": "Several minutes from now" + }, + { + "code": "hours_hence", + "display": "Several hours from now", + "definition": "Several hours from now" + }, + { + "code": "days_hence", + "display": "Several days from now", + "definition": "Several days from now" + }, + { + "code": "weeks_hence", + "display": "Several weeks from now", + "definition": "Several weeks from now" + }, + { + "code": "months_hence", + "display": "Several months from now", + "definition": "Several months from now" + }, + { + "code": "one_year_hence", + "display": "About a year from now", + "definition": "About a year from now" + }, + { + "code": "several_years_hence", + "display": "Several years from now", + "definition": "Several years from now" + }, + { + "code": "many_years_hence", + "display": "Many years from now", + "definition": "Many years from now" + }, + { + "code": "future", + "display": "A time or time period in the indefinite future", + "definition": "A time or time period in the indefinite future" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyVS.json new file mode 100755 index 0000000..d33b956 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeFrequencyVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-QualitativeFrequencyVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeFrequencyVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeFrequencyVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeFrequencyVS" + }, + "name": "SHR QualitativeFrequencyVS CodeSystem", + "title": "SHR QualitativeFrequencyVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "always", + "display": "Virtually always or every time", + "definition": "Virtually always or every time" + }, + { + "code": "usually", + "display": "Frequently or often", + "definition": "Frequently or often" + }, + { + "code": "sometimes", + "display": "Occasionally or sometimes", + "definition": "Occasionally or sometimes" + }, + { + "code": "rarely", + "display": "Rarely", + "definition": "Rarely" + }, + { + "code": "never", + "display": "Never", + "definition": "Never" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodVS.json new file mode 100755 index 0000000..c5d6387 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeLikelihoodVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-QualitativeLikelihoodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeLikelihoodVS CodeSystem

\n

The likelihood of an event or state, expressed qualitatively. Qualitative likelihoods are associated with judgments and assessments. Values are based on US Intelligence Community's standard language used to describe judgements of likelihood.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeLikelihoodVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeLikelihoodVS" + }, + "name": "SHR QualitativeLikelihoodVS CodeSystem", + "title": "SHR QualitativeLikelihoodVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "description": "The likelihood of an event or state, expressed qualitatively. Qualitative likelihoods are associated with judgments and assessments. Values are based on US Intelligence Community's standard language used to describe judgements of likelihood.", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "definitely", + "display": "With certainty or near-complete certainty, an event that definitely has or almost certainly will happen", + "definition": "With certainty or near-complete certainty, an event that definitely has or almost certainly will happen" + }, + { + "code": "very_likely", + "display": "Very likely, highly probable, e.g., an event with more than 80% but less than 100% likelihood", + "definition": "Very likely, highly probable, e.g., an event with more than 80% but less than 100% likelihood" + }, + { + "code": "likely", + "display": "Likely or probable, e.g., an event with 60% to 80% likelihood", + "definition": "Likely or probable, e.g., an event with 60% to 80% likelihood" + }, + { + "code": "even_chance", + "display": "Roughly equal chance or even odds of happening, between 40% and 60% probability", + "definition": "Roughly equal chance or even odds of happening, between 40% and 60% probability" + }, + { + "code": "unlikely", + "display": "Not likely or improbable, e.g., an event with 20% to 40% likelihood", + "definition": "Not likely or improbable, e.g., an event with 20% to 40% likelihood" + }, + { + "code": "very_unlikely", + "display": "Very unlikely, highly improbable, e.g., an event with less than 20% but non-zero likelihood", + "definition": "Very unlikely, highly improbable, e.g., an event with less than 20% but non-zero likelihood" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleVS.json new file mode 100755 index 0000000..5f22b31 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-QualitativeValueScaleVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-QualitativeValueScaleVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeValueScaleVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeValueScaleVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeValueScaleVS" + }, + "name": "SHR QualitativeValueScaleVS CodeSystem", + "title": "SHR QualitativeValueScaleVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "very_high", + "display": "Very high", + "definition": "Very high" + }, + { + "code": "high", + "display": "High", + "definition": "High" + }, + { + "code": "moderate", + "display": "Moderate", + "definition": "Moderate" + }, + { + "code": "low", + "display": "Low", + "definition": "Low" + }, + { + "code": "very_low", + "display": "Very low", + "definition": "Very low" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationVS.json new file mode 100755 index 0000000..68eb597 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeDurationVS.json @@ -0,0 +1,83 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-SemiquantitativeDurationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SemiquantitativeDurationVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeDurationVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SemiquantitativeDurationVS" + }, + "name": "SHR SemiquantitativeDurationVS CodeSystem", + "title": "SHR SemiquantitativeDurationVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.806Z", + "caseSensitive": true, + "content": "complete", + "count": 9, + "concept": [ + { + "code": "many_years", + "display": "Many years", + "definition": "Many years" + }, + { + "code": "several_years", + "display": "Several years", + "definition": "Several years" + }, + { + "code": "one_year", + "display": "About a year", + "definition": "About a year" + }, + { + "code": "months", + "display": "Several months but less than a year", + "definition": "Several months but less than a year" + }, + { + "code": "weeks", + "display": "Several weeks but less than a month", + "definition": "Several weeks but less than a month" + }, + { + "code": "days", + "display": "Several days but less than a week", + "definition": "Several days but less than a week" + }, + { + "code": "hours", + "display": "Several hours but less than a day", + "definition": "Several hours but less than a day" + }, + { + "code": "minutes", + "display": "Several minutes but less than an hour", + "definition": "Several minutes but less than an hour" + }, + { + "code": "seconds", + "display": "Several seconds but less than a minute", + "definition": "Several seconds but less than a minute" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyVS.json new file mode 100755 index 0000000..c1d280e --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-SemiquantitativeFrequencyVS.json @@ -0,0 +1,103 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-SemiquantitativeFrequencyVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SemiquantitativeFrequencyVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeFrequencyVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SemiquantitativeFrequencyVS" + }, + "name": "SHR SemiquantitativeFrequencyVS CodeSystem", + "title": "SHR SemiquantitativeFrequencyVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 13, + "concept": [ + { + "code": "never", + "display": "Never", + "definition": "Never" + }, + { + "code": "less_than_yearly", + "display": "Less than yearly", + "definition": "Less than yearly" + }, + { + "code": "yearly", + "display": "Yearly", + "definition": "Yearly" + }, + { + "code": "mot_yearly", + "display": "More than once yearly", + "definition": "More than once yearly" + }, + { + "code": "monthly", + "display": "Monthly", + "definition": "Monthly" + }, + { + "code": "weekly", + "display": "Weekly", + "definition": "Weekly" + }, + { + "code": "mto_weekly", + "display": "More than once weekly", + "definition": "More than once weekly" + }, + { + "code": "daily", + "display": "Daily", + "definition": "Daily" + }, + { + "code": "mto_daily", + "display": "More than once daily", + "definition": "More than once daily" + }, + { + "code": "hourly", + "display": "Hourly", + "definition": "Hourly" + }, + { + "code": "mto_hourly", + "display": "More than once hourly", + "definition": "More than once hourly" + }, + { + "code": "minutely", + "display": "Every minute", + "definition": "Every minute" + }, + { + "code": "continuously", + "display": "Continuously", + "definition": "Continuously" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-SettingVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-SettingVS.json new file mode 100755 index 0000000..7d5f603 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-SettingVS.json @@ -0,0 +1,209 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-SettingVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SettingVS CodeSystem

\n

What type of place is found at a given location. More than one descriptor may be applicable.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SettingVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SettingVS" + }, + "name": "SHR SettingVS CodeSystem", + "title": "SHR SettingVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "description": "What type of place is found at a given location. More than one descriptor may be applicable.", + "caseSensitive": true, + "content": "complete", + "count": 34, + "concept": [ + { + "code": "work", + "display": "At or during work, in a workplace setting.", + "definition": "At or during work, in a workplace setting." + }, + { + "code": "home", + "display": "At home", + "definition": "At home" + }, + { + "code": "residental", + "display": "In a residential setting", + "definition": "In a residential setting" + }, + { + "code": "school", + "display": "A primary or secondary school", + "definition": "A primary or secondary school" + }, + { + "code": "vehicle", + "display": "In a parked or moving vehicle", + "definition": "In a parked or moving vehicle" + }, + { + "code": "office", + "display": "An non-manufacturing, indoor business setting", + "definition": "An non-manufacturing, indoor business setting" + }, + { + "code": "factory", + "display": "A manufacturing-oriented business setting", + "definition": "A manufacturing-oriented business setting" + }, + { + "code": "business", + "display": "A place of business", + "definition": "A place of business" + }, + { + "code": "restaurant", + "display": "A setting where food is served", + "definition": "A setting where food is served" + }, + { + "code": "food_prep", + "display": "A place where food is prepared", + "definition": "A place where food is prepared" + }, + { + "code": "worksite", + "display": "Workplace that is primarily outdoors", + "definition": "Workplace that is primarily outdoors" + }, + { + "code": "manufacturing", + "display": "A setting where manufacturing takes place", + "definition": "A setting where manufacturing takes place" + }, + { + "code": "owned", + "display": "A building or residence that is owned", + "definition": "A building or residence that is owned" + }, + { + "code": "rental", + "display": "A building or residence that is rented", + "definition": "A building or residence that is rented" + }, + { + "code": "dorm", + "display": "Shared (unassisted) living residence, such as a dormitory or fraternity", + "definition": "Shared (unassisted) living residence, such as a dormitory or fraternity" + }, + { + "code": "foster", + "display": "Foster care group home", + "definition": "Foster care group home" + }, + { + "code": "assisted", + "display": "Assisted living or independent living facility", + "definition": "Assisted living or independent living facility" + }, + { + "code": "snf", + "display": "Skilled nursing facility or other Long-Term Care", + "definition": "Skilled nursing facility or other Long-Term Care" + }, + { + "code": "shelter", + "display": "Homeless or other type of shelter", + "definition": "Homeless or other type of shelter" + }, + { + "code": "hotel", + "display": "Hotel or motel", + "definition": "Hotel or motel" + }, + { + "code": "psh", + "display": "Permanent supportive housing for formerly homeless persons (such as SHP, S+C, or SRO Mod Rehab)", + "definition": "Permanent supportive housing for formerly homeless persons (such as SHP, S+C, or SRO Mod Rehab)" + }, + { + "code": "psych", + "display": "Psychiatric hospital or other psychiatric facility", + "definition": "Psychiatric hospital or other psychiatric facility" + }, + { + "code": "detox", + "display": "Substance abuse treatment facility or detox center", + "definition": "Substance abuse treatment facility or detox center" + }, + { + "code": "prison", + "display": "Individual resides in a correctional facility, state hospital, jail, prison, youth authority facility, juvenile hall, boot camp or Boys Ranch.", + "definition": "Individual resides in a correctional facility, state hospital, jail, prison, youth authority facility, juvenile hall, boot camp or Boys Ranch." + }, + { + "code": "transition", + "display": "Transitional housing, residential provier program, or any type of halfway house", + "definition": "Transitional housing, residential provier program, or any type of halfway house" + }, + { + "code": "squat", + "display": "A homeless camp, abandoned building, shantytown, bus/train/subway station/airport, or squatter area", + "definition": "A homeless camp, abandoned building, shantytown, bus/train/subway station/airport, or squatter area" + }, + { + "code": "outdoors", + "display": "Outside of any shelter, e.g., on a street", + "definition": "Outside of any shelter, e.g., on a street" + }, + { + "code": "agricultural", + "display": "Agricultural setting", + "definition": "Agricultural setting" + }, + { + "code": "farm", + "display": "A farm with livestock", + "definition": "A farm with livestock" + }, + { + "code": "battlefield", + "display": "On a battlefield", + "definition": "On a battlefield" + }, + { + "code": "deployed", + "display": "Deployed to a military camp or area", + "definition": "Deployed to a military camp or area" + }, + { + "code": "ship", + "display": "On a boat", + "definition": "On a boat" + }, + { + "code": "airplane", + "display": "On an airplane", + "definition": "On an airplane" + }, + { + "code": "submarine", + "display": "Aboard a submarine", + "definition": "Aboard a submarine" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityVS.json new file mode 100755 index 0000000..7b95a6f --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-ThreePriorityVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-ThreePriorityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ThreePriorityVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreePriorityVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ThreePriorityVS" + }, + "name": "SHR ThreePriorityVS CodeSystem", + "title": "SHR ThreePriorityVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "primary", + "display": "The first or primary item or alterative in a preference list.", + "definition": "The first or primary item or alterative in a preference list." + }, + { + "code": "secondary", + "display": "The second or backup preference.", + "definition": "The second or backup preference." + }, + { + "code": "third_or_lower", + "display": "An alternative to primary and secondard choices in a preference list.", + "definition": "An alternative to primary and secondard choices in a preference list." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicVS.json b/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicVS.json new file mode 100755 index 0000000..c825ed8 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-core-ThreeValueLogicVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-core-ThreeValueLogicVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ThreeValueLogicVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreeValueLogicVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ThreeValueLogicVS" + }, + "name": "SHR ThreeValueLogicVS CodeSystem", + "title": "SHR ThreeValueLogicVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "true", + "display": "True, or yes", + "definition": "True, or yes" + }, + { + "code": "false", + "display": "False, or no", + "definition": "False, or no" + }, + { + "code": "unknown", + "display": "Unknown", + "definition": "Unknown" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseVS.json b/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseVS.json new file mode 100755 index 0000000..43820dc --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-demographics-AddressUseVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-demographics-AddressUseVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AddressUseVS CodeSystem

\n

How an address is used by the subject, for example, as a dwelling or as a mailing address.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-AddressUseVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.AddressUseVS" + }, + "name": "SHR AddressUseVS CodeSystem", + "title": "SHR AddressUseVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "description": "How an address is used by the subject, for example, as a dwelling or as a mailing address.", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "primary_residence", + "display": "The address at which a person dwells most frequently or maintains as his or her official premises.", + "definition": "The address at which a person dwells most frequently or maintains as his or her official premises." + }, + { + "code": "secondary_residence", + "display": "An address at which a person dwells on a secondary basis, for example, during vacation periods, when residing with other parent or relative, at boarding school, etc.", + "definition": "An address at which a person dwells on a secondary basis, for example, during vacation periods, when residing with other parent or relative, at boarding school, etc." + }, + { + "code": "temporary_dwelling", + "display": "An address temporarily used as a dwelling", + "definition": "An address temporarily used as a dwelling" + }, + { + "code": "former_address", + "display": "Address (residence, postal, or work address) that is no longer in use", + "definition": "Address (residence, postal, or work address) that is no longer in use" + }, + { + "code": "mailing_address", + "display": "Address is a postal address, such as a PO box", + "definition": "Address is a postal address, such as a PO box" + }, + { + "code": "work_address", + "display": "Address of place of business where the subject is employed", + "definition": "Address of place of business where the subject is employed" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeVS.json new file mode 100755 index 0000000..db53258 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-demographics-InsuranceProviderTypeVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-demographics-InsuranceProviderTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR InsuranceProviderTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-InsuranceProviderTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.InsuranceProviderTypeVS" + }, + "name": "SHR InsuranceProviderTypeVS CodeSystem", + "title": "SHR InsuranceProviderTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "chip", + "display": "CHIP or SCHIP - State or Federal Children's Health Insurance Program", + "definition": "CHIP or SCHIP - State or Federal Children's Health Insurance Program" + }, + { + "code": "medicaid", + "display": "Medicaid", + "definition": "Medicaid" + }, + { + "code": "medicare", + "display": "Medicare", + "definition": "Medicare" + }, + { + "code": "military", + "display": "Military coverage (Tricare)", + "definition": "Military coverage (Tricare)" + }, + { + "code": "veteran", + "display": "VA coverage", + "definition": "VA coverage" + }, + { + "code": "private", + "display": "Private or self-insured group", + "definition": "Private or self-insured group" + }, + { + "code": "no_insurance", + "display": "No health insurance", + "definition": "No health insurance" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierVS.json new file mode 100755 index 0000000..f6fcc04 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelecomQualifierVS.json @@ -0,0 +1,98 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-demographics-TelecomQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TelecomQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelecomQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelecomQualifierVS" + }, + "name": "SHR TelecomQualifierVS CodeSystem", + "title": "SHR TelecomQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 12, + "concept": [ + { + "code": "primary", + "display": "Primary (preferred) method of contact", + "definition": "Primary (preferred) method of contact" + }, + { + "code": "secondary", + "display": "Secondary method of contact", + "definition": "Secondary method of contact" + }, + { + "code": "prefer_call", + "display": "Prefer voice calls", + "definition": "Prefer voice calls" + }, + { + "code": "prefer_text", + "display": "Prefer texting", + "definition": "Prefer texting" + }, + { + "code": "personal", + "display": "Personal (home) use", + "definition": "Personal (home) use" + }, + { + "code": "work", + "display": "Work use", + "definition": "Work use" + }, + { + "code": "no_message", + "display": "Do not leave messages at this phone number", + "definition": "Do not leave messages at this phone number" + }, + { + "code": "alert", + "display": "Use this contact method for reminders, alerts, and notifications", + "definition": "Use this contact method for reminders, alerts, and notifications" + }, + { + "code": "telecare", + "display": "Use for telecare encounters", + "definition": "Use for telecare encounters" + }, + { + "code": "shared", + "display": "A shared telecom address, e.g., facility telephone or family email", + "definition": "A shared telecom address, e.g., facility telephone or family email" + }, + { + "code": "direct", + "display": "An encrypted DIRECT email address", + "definition": "An encrypted DIRECT email address" + }, + { + "code": "portal", + "display": "Portal-based secure messaging address", + "definition": "Portal-based secure messaging address" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeVS.json new file mode 100755 index 0000000..d00cf13 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-demographics-TelephoneTypeVS.json @@ -0,0 +1,48 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-demographics-TelephoneTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TelephoneTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelephoneTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelephoneTypeVS" + }, + "name": "SHR TelephoneTypeVS CodeSystem", + "title": "SHR TelephoneTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 2, + "concept": [ + { + "code": "mobile", + "display": "Mobile phone (assumed text capable)", + "definition": "Mobile phone (assumed text capable)" + }, + { + "code": "land", + "display": "Landline telephone", + "definition": "Landline telephone" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceVS.json b/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceVS.json new file mode 100755 index 0000000..8078805 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryAssistDeviceVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-device-RespiratoryAssistDeviceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryAssistDeviceVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryAssistDeviceVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.device.RespiratoryAssistDeviceVS" + }, + "name": "SHR RespiratoryAssistDeviceVS CodeSystem", + "title": "SHR RespiratoryAssistDeviceVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "apnea", + "display": "Apnea monitor", + "definition": "Apnea monitor" + }, + { + "code": "vent", + "display": "Ventilator", + "definition": "Ventilator" + }, + { + "code": "mand_vent", + "display": "Intermittent mandatory ventilator", + "definition": "Intermittent mandatory ventilator" + }, + { + "code": "neonat_vent", + "display": "Neonatal ventilator", + "definition": "Neonatal ventilator" + }, + { + "code": "vent_synch", + "display": "Synchronized intermittent mandatory ventilator", + "definition": "Synchronized intermittent mandatory ventilator" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingVS.json b/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingVS.json new file mode 100755 index 0000000..b0503f2 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-device-RespiratoryRateSettingVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-device-RespiratoryRateSettingVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateSettingVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryRateSettingVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.device.RespiratoryRateSettingVS" + }, + "name": "SHR RespiratoryRateSettingVS CodeSystem", + "title": "SHR RespiratoryRateSettingVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "set_min_alarm", + "display": "minimum alarm", + "definition": "minimum alarm" + }, + { + "code": "set_min", + "display": "minimum", + "definition": "minimum" + }, + { + "code": "set_max", + "display": "maximum", + "definition": "maximum" + }, + { + "code": "set_max_alarm", + "display": "maximum alarm", + "definition": "maximum alarm" + }, + { + "code": "set_target", + "display": "target setting", + "definition": "target setting" + }, + { + "code": "set_sigh", + "display": "Sigh rate setting LOINC#19838-2", + "definition": "Sigh rate setting LOINC#19838-2" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeVS.json new file mode 100755 index 0000000..ce0ef6c --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-encounter-EncounterTypeVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-encounter-EncounterTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EncounterTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EncounterTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EncounterTypeVS" + }, + "name": "SHR EncounterTypeVS CodeSystem", + "title": "SHR EncounterTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "inpatient", + "display": "In-facility or hospital setting encounter", + "definition": "In-facility or hospital setting encounter" + }, + { + "code": "ambulatory", + "display": "Ambulatory encounter in office or facility setting", + "definition": "Ambulatory encounter in office or facility setting" + }, + { + "code": "home_visit", + "display": "Encounter in patient's home or location of residence", + "definition": "Encounter in patient's home or location of residence" + }, + { + "code": "tele_video", + "display": "Non-face to face contact via synchronous audio and video connection", + "definition": "Non-face to face contact via synchronous audio and video connection" + }, + { + "code": "tele_audio", + "display": "Non-face to face contact via telephone or audio-only connection", + "definition": "Non-face to face contact via telephone or audio-only connection" + }, + { + "code": "tele_asynch", + "display": "Non-face to face contact via text messaging or similar non-simultaneous mode", + "definition": "Non-face to face contact via text messaging or similar non-simultaneous mode" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.json b/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.json new file mode 100755 index 0000000..dfb3be0 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-encounter-EpisodeOfCareCompletionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EpisodeOfCareCompletionVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EpisodeOfCareCompletionVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EpisodeOfCareCompletionVS" + }, + "name": "SHR EpisodeOfCareCompletionVS CodeSystem", + "title": "SHR EpisodeOfCareCompletionVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 10, + "concept": [ + { + "code": "completed", + "display": "Treatment was completed.", + "definition": "Treatment was completed." + }, + { + "code": "eligibility", + "display": "Insurance eligibility changed.", + "definition": "Insurance eligibility changed." + }, + { + "code": "declined", + "display": "Declined further treatment.", + "definition": "Declined further treatment." + }, + { + "code": "lost_contact", + "display": "Client fell out of contact.", + "definition": "Client fell out of contact." + }, + { + "code": "incarcerated", + "display": "Client was detained/incarcerated.", + "definition": "Client was detained/incarcerated." + }, + { + "code": "moved", + "display": "Client moved out of the area.", + "definition": "Client moved out of the area." + }, + { + "code": "transferred", + "display": "Care was tranferred to the care of another provider.", + "definition": "Care was tranferred to the care of another provider." + }, + { + "code": "failed", + "display": "Client was unable to complete the course of treatment.", + "definition": "Client was unable to complete the course of treatment." + }, + { + "code": "noncompliance", + "display": "Client did not comply with the course of treatment.", + "definition": "Client did not comply with the course of treatment." + }, + { + "code": "death", + "display": "Client died.", + "definition": "Client died." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.json b/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.json new file mode 100755 index 0000000..2ca9d9e --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.json @@ -0,0 +1,58 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-encounter-ReasonEncounterDidNotHappenVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReasonEncounterDidNotHappenVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReasonEncounterDidNotHappenVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReasonEncounterDidNotHappenVS" + }, + "name": "SHR ReasonEncounterDidNotHappenVS CodeSystem", + "title": "SHR ReasonEncounterDidNotHappenVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 4, + "concept": [ + { + "code": "cancelled", + "display": "Patient cancelled appointment", + "definition": "Patient cancelled appointment" + }, + { + "code": "lost_touch", + "display": "Lost touch with patient", + "definition": "Lost touch with patient" + }, + { + "code": "withdrew", + "display": "Patient withdrew from trial", + "definition": "Patient withdrew from trial" + }, + { + "code": "hospitalized", + "display": "Patient was hospitalized", + "definition": "Patient was hospitalized" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeVS.json new file mode 100755 index 0000000..a02c455 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-encounter-ReferralSourceTypeVS.json @@ -0,0 +1,83 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-encounter-ReferralSourceTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReferralSourceTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReferralSourceTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReferralSourceTypeVS" + }, + "name": "SHR ReferralSourceTypeVS CodeSystem", + "title": "SHR ReferralSourceTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 9, + "concept": [ + { + "code": "self", + "display": "Self, or personal associated, such as family or friend", + "definition": "Self, or personal associated, such as family or friend" + }, + { + "code": "pcp", + "display": "General Practitioner or Primary Care Physician", + "definition": "General Practitioner or Primary Care Physician" + }, + { + "code": "specialist", + "display": "Provider other than Primary Care Physician", + "definition": "Provider other than Primary Care Physician" + }, + { + "code": "fed", + "display": "Federal agency", + "definition": "Federal agency" + }, + { + "code": "cps", + "display": "Child Protective Service", + "definition": "Child Protective Service" + }, + { + "code": "court", + "display": "Criminal justice", + "definition": "Criminal justice" + }, + { + "code": "comm", + "display": "Community agency", + "definition": "Community agency" + }, + { + "code": "hp", + "display": "Health Plan", + "definition": "Health Plan" + }, + { + "code": "employer", + "display": "Employer", + "definition": "Employer" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationVS.json b/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationVS.json new file mode 100755 index 0000000..a80b2b7 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-encounter-TreatmentCooperationVS.json @@ -0,0 +1,58 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-encounter-TreatmentCooperationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TreatmentCooperationVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-TreatmentCooperationVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.TreatmentCooperationVS" + }, + "name": "SHR TreatmentCooperationVS CodeSystem", + "title": "SHR TreatmentCooperationVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.807Z", + "caseSensitive": true, + "content": "complete", + "count": 4, + "concept": [ + { + "code": "voluntary", + "display": "Voluntary cooperation", + "definition": "Voluntary cooperation" + }, + { + "code": "ordered_criminal", + "display": "Criminal court ordered treatment", + "definition": "Criminal court ordered treatment" + }, + { + "code": "ordered_civil", + "display": "Civil court ordered treatment", + "definition": "Civil court ordered treatment" + }, + { + "code": "involuntary", + "display": "Not court-ordered but involutary treatment", + "definition": "Not court-ordered but involutary treatment" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureVS.json new file mode 100755 index 0000000..ce0b9b8 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-AnimalExposureVS.json @@ -0,0 +1,83 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-AnimalExposureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AnimalExposureVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-AnimalExposureVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnimalExposureVS" + }, + "name": "SHR AnimalExposureVS CodeSystem", + "title": "SHR AnimalExposureVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 9, + "concept": [ + { + "code": "dog", + "display": "dog", + "definition": "dog" + }, + { + "code": "cat", + "display": "cat", + "definition": "cat" + }, + { + "code": "bird", + "display": "bird", + "definition": "bird" + }, + { + "code": "fish", + "display": "fish", + "definition": "fish" + }, + { + "code": "reptile", + "display": "reptile", + "definition": "reptile" + }, + { + "code": "rodent", + "display": "rodent", + "definition": "rodent" + }, + { + "code": "primate", + "display": "monkey or ape", + "definition": "monkey or ape" + }, + { + "code": "livestock", + "display": "livestock", + "definition": "livestock" + }, + { + "code": "chicken", + "display": "chicken", + "definition": "chicken" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantVS.json new file mode 100755 index 0000000..579b0da --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-CoinhabitantVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-CoinhabitantVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CoinhabitantVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-CoinhabitantVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CoinhabitantVS" + }, + "name": "SHR CoinhabitantVS CodeSystem", + "title": "SHR CoinhabitantVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "partner", + "display": "Spouse or partner", + "definition": "Spouse or partner" + }, + { + "code": "parents_birth", + "display": "Birth parents", + "definition": "Birth parents" + }, + { + "code": "parents_adoptive", + "display": "Adoptive parents", + "definition": "Adoptive parents" + }, + { + "code": "foster", + "display": "Foster family", + "definition": "Foster family" + }, + { + "code": "child", + "display": "Child or children", + "definition": "Child or children" + }, + { + "code": "relatives", + "display": "other relatives", + "definition": "other relatives" + }, + { + "code": "non_relatives", + "display": "non-relatives", + "definition": "non-relatives" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskVS.json new file mode 100755 index 0000000..a9888e7 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-HomeEnvironmentRiskVS.json @@ -0,0 +1,213 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-HomeEnvironmentRiskVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HomeEnvironmentRiskVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-HomeEnvironmentRiskVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HomeEnvironmentRiskVS" + }, + "name": "SHR HomeEnvironmentRiskVS CodeSystem", + "title": "SHR HomeEnvironmentRiskVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 35, + "concept": [ + { + "code": "guns", + "display": "Guns in household", + "definition": "Guns in household" + }, + { + "code": "more_guns", + "display": "Guns in neighborhood", + "definition": "Guns in neighborhood" + }, + { + "code": "smoke_detectors", + "display": "No Smoke Detectors", + "definition": "No Smoke Detectors" + }, + { + "code": "radiation", + "display": "Radon or other radiation source", + "definition": "Radon or other radiation source" + }, + { + "code": "swimming_pool", + "display": "Swimming Pool", + "definition": "Swimming Pool" + }, + { + "code": "lead", + "display": "Lead in soil, paint or water", + "definition": "Lead in soil, paint or water" + }, + { + "code": "well", + "display": "Well water", + "definition": "Well water" + }, + { + "code": "mold", + "display": "Mold", + "definition": "Mold" + }, + { + "code": "noise", + "display": "Excessive noise", + "definition": "Excessive noise" + }, + { + "code": "no_connection", + "display": "No internet", + "definition": "No internet" + }, + { + "code": "no_electricity", + "display": "Unreliable electricity supply", + "definition": "Unreliable electricity supply" + }, + { + "code": "air_quality", + "display": "Poor air quality", + "definition": "Poor air quality" + }, + { + "code": "water_quality", + "display": "Poor drinking water quality", + "definition": "Poor drinking water quality" + }, + { + "code": "crime", + "display": "Neighborhood crime", + "definition": "Neighborhood crime" + }, + { + "code": "traffic", + "display": "Neighborhood traffic", + "definition": "Neighborhood traffic" + }, + { + "code": "unwalkable", + "display": "Neighborhood unwalkable", + "definition": "Neighborhood unwalkable" + }, + { + "code": "insects", + "display": "Insect infestation", + "definition": "Insect infestation" + }, + { + "code": "rodents", + "display": "Rodent infestation", + "definition": "Rodent infestation" + }, + { + "code": "asbestos", + "display": "Asbestos", + "definition": "Asbestos" + }, + { + "code": "disrepair", + "display": "Home in disrepair", + "definition": "Home in disrepair" + }, + { + "code": "clutter", + "display": "Clutter or hoarding", + "definition": "Clutter or hoarding" + }, + { + "code": "fire_hazard", + "display": "No fire escape or other fire hazard", + "definition": "No fire escape or other fire hazard" + }, + { + "code": "stairs", + "display": "Steps hard to navigate", + "definition": "Steps hard to navigate" + }, + { + "code": "bathroom", + "display": "Bathroom facilities hard to utilize, e.g., on another floor or lacking accomodations", + "definition": "Bathroom facilities hard to utilize, e.g., on another floor or lacking accomodations" + }, + { + "code": "crowding", + "display": "Overcrowded", + "definition": "Overcrowded" + }, + { + "code": "isolated", + "display": "Too far away from things", + "definition": "Too far away from things" + }, + { + "code": "transportation", + "display": "Hard to access transportation resources", + "definition": "Hard to access transportation resources" + }, + { + "code": "radiation", + "display": "Radiation", + "definition": "Radiation" + }, + { + "code": "asbestos", + "display": "Asbestos", + "definition": "Asbestos" + }, + { + "code": "pesticides", + "display": "Pesticides", + "definition": "Pesticides" + }, + { + "code": "motorcycle", + "display": "Ride motorcycle", + "definition": "Ride motorcycle" + }, + { + "code": "contact_sports", + "display": "Play contact sports", + "definition": "Play contact sports" + }, + { + "code": "seat_belt", + "display": "Does not wear seat belts", + "definition": "Does not wear seat belts" + }, + { + "code": "sun_exposure", + "display": "Spends excessive time in the sun", + "definition": "Spends excessive time in the sun" + }, + { + "code": "tanning", + "display": "Uses tanning bed", + "definition": "Uses tanning bed" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceVS.json new file mode 100755 index 0000000..1066377 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-IncomeSourceVS.json @@ -0,0 +1,108 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-IncomeSourceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR IncomeSourceVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-IncomeSourceVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeSourceVS" + }, + "name": "SHR IncomeSourceVS CodeSystem", + "title": "SHR IncomeSourceVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 14, + "concept": [ + { + "code": "earned", + "display": "Earned Income (i.e., employment income)", + "definition": "Earned Income (i.e., employment income)" + }, + { + "code": "unemployment", + "display": "Unemployment Insurance", + "definition": "Unemployment Insurance" + }, + { + "code": "ssi", + "display": "Supplemental Security Income (SSI)", + "definition": "Supplemental Security Income (SSI)" + }, + { + "code": "ssdi", + "display": "Social Security Disability Income (SSDI)", + "definition": "Social Security Disability Income (SSDI)" + }, + { + "code": "disability_va", + "display": "Veteran’s disability payment", + "definition": "Veteran’s disability payment" + }, + { + "code": "disability_private", + "display": "Private disability insurance", + "definition": "Private disability insurance" + }, + { + "code": "disability_workers", + "display": "Worker’s compensation", + "definition": "Worker’s compensation" + }, + { + "code": "tanf", + "display": "Temporary Assistance for Needy Families (TANF) or similar local program", + "definition": "Temporary Assistance for Needy Families (TANF) or similar local program" + }, + { + "code": "ga", + "display": "General Assistance (GA) or similar local program", + "definition": "General Assistance (GA) or similar local program" + }, + { + "code": "ss", + "display": "Retirement income from Social Security", + "definition": "Retirement income from Social Security" + }, + { + "code": "savings", + "display": "Savings", + "definition": "Savings" + }, + { + "code": "pension_va", + "display": "Veteran’s pension", + "definition": "Veteran’s pension" + }, + { + "code": "child_support", + "display": "Child support", + "definition": "Child support" + }, + { + "code": "alimony", + "display": "Alimony or other spousal support", + "definition": "Alimony or other spousal support" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitVS.json new file mode 100755 index 0000000..4e9ad83 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-NonCashBenefitVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-NonCashBenefitVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR NonCashBenefitVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-NonCashBenefitVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NonCashBenefitVS" + }, + "name": "SHR NonCashBenefitVS CodeSystem", + "title": "SHR NonCashBenefitVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 10, + "concept": [ + { + "code": "snap", + "display": "Supplemental Nutrition Assistance Program (SNAP) (Previously known as Food Stamps)", + "definition": "Supplemental Nutrition Assistance Program (SNAP) (Previously known as Food Stamps)" + }, + { + "code": "medicaid", + "display": "MEDICAID health insurance program or local equivalent", + "definition": "MEDICAID health insurance program or local equivalent" + }, + { + "code": "schip", + "display": "State Children’s Health Insurance Program or local equivalent", + "definition": "State Children’s Health Insurance Program or local equivalent" + }, + { + "code": "wic", + "display": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC)", + "definition": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC)" + }, + { + "code": "vams", + "display": "Veteran’s Administration (VA) Medical Services", + "definition": "Veteran’s Administration (VA) Medical Services" + }, + { + "code": "tanf", + "display": "Temporary Assistance for Needy Families (TANF) or similar local program", + "definition": "Temporary Assistance for Needy Families (TANF) or similar local program" + }, + { + "code": "tanf_transport", + "display": "Temporary Assistance for Needy Families (TANF) transportation services", + "definition": "Temporary Assistance for Needy Families (TANF) transportation services" + }, + { + "code": "tanf_other", + "display": "Temporary Assistance for Needy Families (TANF) other services", + "definition": "Temporary Assistance for Needy Families (TANF) other services" + }, + { + "code": "section8", + "display": "Section 8, public housing, or other ongoing rental assistance", + "definition": "Section 8, public housing, or other ongoing rental assistance" + }, + { + "code": "temp_rental", + "display": "Temporary Rental Assistance", + "definition": "Temporary Rental Assistance" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityVS.json b/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityVS.json new file mode 100755 index 0000000..b54dbb1 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-environment-ResourceStabilityVS.json @@ -0,0 +1,58 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-environment-ResourceStabilityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ResourceStabilityVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-ResourceStabilityVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ResourceStabilityVS" + }, + "name": "SHR ResourceStabilityVS CodeSystem", + "title": "SHR ResourceStabilityVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 4, + "concept": [ + { + "code": "stable", + "display": "Not at risk or minimal risk of losing the resource (or a significant portion of the resource)", + "definition": "Not at risk or minimal risk of losing the resource (or a significant portion of the resource)" + }, + { + "code": "at_risk", + "display": "Some risk of losing the resource (or a significant portion of the resource)", + "definition": "Some risk of losing the resource (or a significant portion of the resource)" + }, + { + "code": "imminent_risk", + "display": "Imminent risk of loss of the resource (or a significant portion of the resource)", + "definition": "Imminent risk of loss of the resource (or a significant portion of the resource)" + }, + { + "code": "recent_loss", + "display": "Recent loss of the resource (or a significant portion of the resource)", + "definition": "Recent loss of the resource (or a significant portion of the resource)" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusVS.json new file mode 100755 index 0000000..0ff4537 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lab-RequestStatusVS.json @@ -0,0 +1,58 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lab-RequestStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RequestStatusVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lab-RequestStatusVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.RequestStatusVS" + }, + "name": "SHR RequestStatusVS CodeSystem", + "title": "SHR RequestStatusVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 4, + "concept": [ + { + "code": "active", + "display": "The request is complete and is ready for fulfillment.", + "definition": "The request is complete and is ready for fulfillment." + }, + { + "code": "in_progress", + "display": "The request is being carried out.", + "definition": "The request is being carried out." + }, + { + "code": "suspended", + "display": "The request has been held by originating system/user request.", + "definition": "The request has been held by originating system/user request." + }, + { + "code": "completed", + "display": "The diagnostic testing has been completed, the report(s) released, and no further work is planned.", + "definition": "The diagnostic testing has been completed, the report(s) released, and no further work is planned." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentVS.json new file mode 100755 index 0000000..0d90f2d --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EducationalAttainmentVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-EducationalAttainmentVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EducationalAttainmentVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EducationalAttainmentVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EducationalAttainmentVS" + }, + "name": "SHR EducationalAttainmentVS CodeSystem", + "title": "SHR EducationalAttainmentVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 10, + "concept": [ + { + "code": "no_formal", + "display": "No schooling completed, or ages 0-4", + "definition": "No schooling completed, or ages 0-4" + }, + { + "code": "elementary", + "display": "Elementary (grades 1-8)", + "definition": "Elementary (grades 1-8)" + }, + { + "code": "high_school_some", + "display": "High school (grades 9-12, no degree)", + "definition": "High school (grades 9-12, no degree)" + }, + { + "code": "high_school_grad", + "display": "High school graduate (or equivalent)", + "definition": "High school graduate (or equivalent)" + }, + { + "code": "college", + "display": "Some college (1-4 years, no degree)", + "definition": "Some college (1-4 years, no degree)" + }, + { + "code": "assoc", + "display": "Associate’s degree (including vocational, occupational or academic degrees)", + "definition": "Associate’s degree (including vocational, occupational or academic degrees)" + }, + { + "code": "bachelor", + "display": "Bachelor’s degree (BA, BS, AB, etc)", + "definition": "Bachelor’s degree (BA, BS, AB, etc)" + }, + { + "code": "master", + "display": "Master’s degree (MA, MS, MENG, MSW, etc)", + "definition": "Master’s degree (MA, MS, MENG, MSW, etc)" + }, + { + "code": "prof", + "display": "Professional school degree (MD, DDC, JD, etc)", + "definition": "Professional school degree (MD, DDC, JD, etc)" + }, + { + "code": "doc", + "display": "Doctorate degree (PhD, EdD, etc)", + "definition": "Doctorate degree (PhD, EdD, etc)" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusVS.json new file mode 100755 index 0000000..a28d6eb --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-EmploymentStatusVS.json @@ -0,0 +1,103 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-EmploymentStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EmploymentStatusVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EmploymentStatusVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EmploymentStatusVS" + }, + "name": "SHR EmploymentStatusVS CodeSystem", + "title": "SHR EmploymentStatusVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 13, + "concept": [ + { + "code": "self_employed", + "display": "Self employed", + "definition": "Self employed" + }, + { + "code": "full_time", + "display": "Works in military or community setting on a full time basis (35 or more hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients.", + "definition": "Works in military or community setting on a full time basis (35 or more hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients." + }, + { + "code": "part_time", + "display": "Works in military or community setting on a full time basis (less than 35 hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients.", + "definition": "Works in military or community setting on a full time basis (less than 35 hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients." + }, + { + "code": "work_training", + "display": "Facility or community based paid training program that teaches the meaning, value and demands of work. Individuals perform paid work activities and are accompanied by a job coach. These paid work activities are geared towards assisting the individual in gaining work experience and developing the soft skills needed to obtain competitive employment. Participation in work adjustment training programs should preferably be time-limited, with a long term goal of obtaining competitive employment. Participation in a work adjustment training program is set aside for mental health clients and/or other participants of a rehabilitation program.", + "definition": "Facility or community based paid training program that teaches the meaning, value and demands of work. Individuals perform paid work activities and are accompanied by a job coach. These paid work activities are geared towards assisting the individual in gaining work experience and developing the soft skills needed to obtain competitive employment. Participation in work adjustment training programs should preferably be time-limited, with a long term goal of obtaining competitive employment. Participation in a work adjustment training program is set aside for mental health clients and/or other participants of a rehabilitation program." + }, + { + "code": "transitional", + "display": "Temporary employment placement secured by a vocational agency (such as a Fountain House model clubhouse program) and set aside for mental health clients. Employment is paid and is in an integrated / mainstream business setting. Individuals are actual employees of the company, not of the clubhouse. Individuals are paid at least minimum wage, and preferably the prevailing rate received by regular company employees for the same job. Placement work is done in the company’s place of business, never in the clubhouse.", + "definition": "Temporary employment placement secured by a vocational agency (such as a Fountain House model clubhouse program) and set aside for mental health clients. Employment is paid and is in an integrated / mainstream business setting. Individuals are actual employees of the company, not of the clubhouse. Individuals are paid at least minimum wage, and preferably the prevailing rate received by regular company employees for the same job. Placement work is done in the company’s place of business, never in the clubhouse." + }, + { + "code": "unemployed", + "display": "Not currently employed, but looking for work in the past 30 days or on layoff from a job.", + "definition": "Not currently employed, but looking for work in the past 30 days or on layoff from a job." + }, + { + "code": "volunteer", + "display": "Volunteers (unpaid) their time in the community on a regular basis, and does not fit the criteria for Employed, Transitional Employment, or Work Adjustment Training", + "definition": "Volunteers (unpaid) their time in the community on a regular basis, and does not fit the criteria for Employed, Transitional Employment, or Work Adjustment Training" + }, + { + "code": "unpaid_rehab", + "display": "Engaged in any rehabilitation activity not already specified in one of the other categories, such as: work exploration, pre-vocational skill building groups and activities, community activities such as church groups, social skill building activities, mobility training, adjustment to disability training, etc.", + "definition": "Engaged in any rehabilitation activity not already specified in one of the other categories, such as: work exploration, pre-vocational skill building groups and activities, community activities such as church groups, social skill building activities, mobility training, adjustment to disability training, etc." + }, + { + "code": "homemaker", + "display": "Manages their family household as a principal occupation, and performs household duties for others", + "definition": "Manages their family household as a principal occupation, and performs household duties for others" + }, + { + "code": "student", + "display": "Currently in school and not involved in any other work activity. If an individual is in school, but otherwise employed, they shall be categorized in the appropriate employment category.", + "definition": "Currently in school and not involved in any other work activity. If an individual is in school, but otherwise employed, they shall be categorized in the appropriate employment category." + }, + { + "code": "retired", + "display": "Individual has concluded their working or professional career, and does not fit the criteria for Student or Volunteer", + "definition": "Individual has concluded their working or professional career, and does not fit the criteria for Student or Volunteer" + }, + { + "code": "disabled", + "display": "Not currently employed or looking for work due to disability. Not involved in any other rehabilitation activity.", + "definition": "Not currently employed or looking for work due to disability. Not involved in any other rehabilitation activity." + }, + { + "code": "confined", + "display": "Individual resides in a jail or correctional facility and is unable to work.", + "definition": "Individual resides in a jail or correctional facility and is unable to work." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.json new file mode 100755 index 0000000..80890ff --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-MilitaryServiceDischargeStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceDischargeStatusVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceDischargeStatusVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceDischargeStatusVS" + }, + "name": "SHR MilitaryServiceDischargeStatusVS CodeSystem", + "title": "SHR MilitaryServiceDischargeStatusVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "bad", + "display": "Bad Conduct Discharge", + "definition": "Bad Conduct Discharge" + }, + { + "code": "dishonorable", + "display": "Dishonorable discharge", + "definition": "Dishonorable discharge" + }, + { + "code": "general", + "display": "General Conduct Discharge", + "definition": "General Conduct Discharge" + }, + { + "code": "honorable", + "display": "Honorable Discharge", + "definition": "Honorable Discharge" + }, + { + "code": "not_honorable", + "display": "Other than honorable discharge, but not specified", + "definition": "Other than honorable discharge, but not specified" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraVS.json new file mode 100755 index 0000000..f23ee6d --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryServiceEraVS.json @@ -0,0 +1,79 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-MilitaryServiceEraVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceEraVS CodeSystem

\n

Values were taken from Final HMIS Data Standards March 2010 (Homeless Management Information System), field 4.15E Veteran’s Information. See: https://www.onecpd.info/resources/documents/FinalHMISDataStandards_March2010.pdf.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceEraVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceEraVS" + }, + "name": "SHR MilitaryServiceEraVS CodeSystem", + "title": "SHR MilitaryServiceEraVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "Values were taken from Final HMIS Data Standards March 2010 (Homeless Management Information System), field 4.15E Veteran’s Information. See: https://www.onecpd.info/resources/documents/FinalHMISDataStandards_March2010.pdf.", + "caseSensitive": true, + "content": "complete", + "count": 8, + "concept": [ + { + "code": "post_9_11_era", + "display": "Post September 11, 2001 to Present", + "definition": "Post September 11, 2001 to Present" + }, + { + "code": "gulf_era", + "display": "Persian Gulf Era (August 1991 - September 10, 2001)", + "definition": "Persian Gulf Era (August 1991 - September 10, 2001)" + }, + { + "code": "post_vietnam_era", + "display": "Post-Vietnam (May 1975 - July 1991)", + "definition": "Post-Vietnam (May 1975 - July 1991)" + }, + { + "code": "vietnam_era", + "display": "Vietnam Era (August 1964 - April 1975)", + "definition": "Vietnam Era (August 1964 - April 1975)" + }, + { + "code": "post_korean_era", + "display": "Between Korean and Vietnam War (February 1955 - July 1964)", + "definition": "Between Korean and Vietnam War (February 1955 - July 1964)" + }, + { + "code": "korean_era", + "display": "Korean War (June 1950 - January 1955)", + "definition": "Korean War (June 1950 - January 1955)" + }, + { + "code": "post_wwII_era", + "display": "Between WWII and Korean War (August 1947 - May 1950)", + "definition": "Between WWII and Korean War (August 1947 - May 1950)" + }, + { + "code": "wwII_era", + "display": "World War II (September 1940 - July 1947)", + "definition": "World War II (September 1940 - July 1947)" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusVS.json new file mode 100755 index 0000000..4b2ce0b --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-MilitaryStatusVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-MilitaryStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryStatusVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryStatusVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryStatusVS" + }, + "name": "SHR MilitaryStatusVS CodeSystem", + "title": "SHR MilitaryStatusVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "active", + "display": "On active duty in US military", + "definition": "On active duty in US military" + }, + { + "code": "reserve", + "display": "Currently a Reservist", + "definition": "Currently a Reservist" + }, + { + "code": "discharged", + "display": "No longer in active military service", + "definition": "No longer in active military service" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenVS.json new file mode 100755 index 0000000..44cb37f --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-TeratogenVS.json @@ -0,0 +1,318 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-TeratogenVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TeratogenVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-TeratogenVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.TeratogenVS" + }, + "name": "SHR TeratogenVS CodeSystem", + "title": "SHR TeratogenVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 56, + "concept": [ + { + "code": "chlamydia", + "display": "Chlamydia", + "definition": "Chlamydia" + }, + { + "code": "pneumonia", + "display": "Pneumonia", + "definition": "Pneumonia" + }, + { + "code": "gonorrhea", + "display": "Gonorrhea", + "definition": "Gonorrhea" + }, + { + "code": "rubella", + "display": "Rubella (German Measles)", + "definition": "Rubella (German Measles)" + }, + { + "code": "herpes", + "display": "Herpes", + "definition": "Herpes" + }, + { + "code": "scarlet", + "display": "Scarlet Fever", + "definition": "Scarlet Fever" + }, + { + "code": "hiv", + "display": "HIV", + "definition": "HIV" + }, + { + "code": "syphilis", + "display": "Syphilis", + "definition": "Syphilis" + }, + { + "code": "mumps", + "display": "Mumps", + "definition": "Mumps" + }, + { + "code": "toxoplasmosis", + "display": "Toxoplasmosis", + "definition": "Toxoplasmosis" + }, + { + "code": "tuberculosis", + "display": "Tuberculosis", + "definition": "Tuberculosis" + }, + { + "code": "influenza", + "display": "Influenza", + "definition": "Influenza" + }, + { + "code": "accutane", + "display": "Accutane", + "definition": "Accutane" + }, + { + "code": "hexachlorophene", + "display": "Hexachlorophene", + "definition": "Hexachlorophene" + }, + { + "code": "alcohol", + "display": "Alcohol", + "definition": "Alcohol" + }, + { + "code": "iodides", + "display": "Iodides", + "definition": "Iodides" + }, + { + "code": "amphetamines", + "display": "Amphetamines", + "definition": "Amphetamines" + }, + { + "code": "lithium", + "display": "Lithium", + "definition": "Lithium" + }, + { + "code": "antibiotics", + "display": "Antibiotics", + "definition": "Antibiotics" + }, + { + "code": "lsd", + "display": "LSD", + "definition": "LSD" + }, + { + "code": "anti-cancer", + "display": "Anti-cancer drugs", + "definition": "Anti-cancer drugs" + }, + { + "code": "opiates", + "display": "Opiates", + "definition": "Opiates" + }, + { + "code": "anticoagulant", + "display": "Anticoagulant drugs", + "definition": "Anticoagulant drugs" + }, + { + "code": "quinine", + "display": "Quinine", + "definition": "Quinine" + }, + { + "code": "aspirin", + "display": "Aspirin", + "definition": "Aspirin" + }, + { + "code": "sedatives", + "display": "Sedatives", + "definition": "Sedatives" + }, + { + "code": "barbiturates", + "display": "Barbiturates", + "definition": "Barbiturates" + }, + { + "code": "smallpox", + "display": "Smallpox vaccination", + "definition": "Smallpox vaccination" + }, + { + "code": "caffeine", + "display": "Caffeine", + "definition": "Caffeine" + }, + { + "code": "thalidomide", + "display": "Thalidomide", + "definition": "Thalidomide" + }, + { + "code": "nicotine", + "display": "Nicotine", + "definition": "Nicotine" + }, + { + "code": "tranquilizers", + "display": "Tranquilizers", + "definition": "Tranquilizers" + }, + { + "code": "cocaine", + "display": "Cocaine", + "definition": "Cocaine" + }, + { + "code": "vitamins", + "display": "Vitamins in excess", + "definition": "Vitamins in excess" + }, + { + "code": "des", + "display": "Diethylstilbestrol (DES)", + "definition": "Diethylstilbestrol (DES)" + }, + { + "code": "marijuana", + "display": "Marijuana ", + "definition": "Marijuana " + }, + { + "code": "cadmium", + "display": "Cadmium", + "definition": "Cadmium" + }, + { + "code": "mercury", + "display": "Mercury", + "definition": "Mercury" + }, + { + "code": "cat", + "display": "Cat feces", + "definition": "Cat feces" + }, + { + "code": "nickel", + "display": "Nickel", + "definition": "Nickel" + }, + { + "code": "fumes", + "display": "Fumes from paints, solvents, glues, dry-cleaning fluids", + "definition": "Fumes from paints, solvents, glues, dry-cleaning fluids" + }, + { + "code": "pesticides", + "display": "Pesticides", + "definition": "Pesticides" + }, + { + "code": "insecticides", + "display": "Insecticides", + "definition": "Insecticides" + }, + { + "code": "herbicides", + "display": "Herbicides", + "definition": "Herbicides" + }, + { + "code": "manganese", + "display": "Manganese", + "definition": "Manganese" + }, + { + "code": "radiation", + "display": "Radiation (X-rays, Video Display Terminals)", + "definition": "Radiation (X-rays, Video Display Terminals)" + }, + { + "code": "hair", + "display": "Hair dyes", + "definition": "Hair dyes" + }, + { + "code": "polychlorinated", + "display": "Polychlorinated Biphenyls (PCBs)", + "definition": "Polychlorinated Biphenyls (PCBs)" + }, + { + "code": "lead", + "display": "Lead", + "definition": "Lead" + }, + { + "code": "alcoholism", + "display": "Alcoholism", + "definition": "Alcoholism" + }, + { + "code": "chemical", + "display": "Chemical dependency", + "definition": "Chemical dependency" + }, + { + "code": "phenylketonuria", + "display": "Phenylketonuria", + "definition": "Phenylketonuria" + }, + { + "code": "rh", + "display": "Rh + factor", + "definition": "Rh + factor" + }, + { + "code": "anemia", + "display": "Anemia", + "definition": "Anemia" + }, + { + "code": "stress", + "display": "Stress", + "definition": "Stress" + }, + { + "code": "diabetes", + "display": "Diabetes Mellitus", + "definition": "Diabetes Mellitus" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchVS.json b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchVS.json new file mode 100755 index 0000000..6d90a25 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-lifehistory-USMilitaryBranchVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-lifehistory-USMilitaryBranchVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR USMilitaryBranchVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-USMilitaryBranchVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.USMilitaryBranchVS" + }, + "name": "SHR USMilitaryBranchVS CodeSystem", + "title": "SHR USMilitaryBranchVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "usa", + "display": "US Army", + "definition": "US Army" + }, + { + "code": "usn", + "display": "US Navy", + "definition": "US Navy" + }, + { + "code": "usaf", + "display": "US Air Force", + "definition": "US Air Force" + }, + { + "code": "usmc", + "display": "US Marine Corps", + "definition": "US Marine Corps" + }, + { + "code": "uscg", + "display": "US Coast Guard", + "definition": "US Coast Guard" + }, + { + "code": "usphc", + "display": "US Public Health Service", + "definition": "US Public Health Service" + }, + { + "code": "noaa", + "display": "National Oceanic and Atmospheric Administration", + "definition": "National Oceanic and Atmospheric Administration" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonVS.json new file mode 100755 index 0000000..f293bf6 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeReasonVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-medication-MedicationChangeReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MedicationChangeReasonVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationChangeReasonVS" + }, + "name": "SHR MedicationChangeReasonVS CodeSystem", + "title": "SHR MedicationChangeReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "not_needed", + "display": "Do not need it any more, condition abated", + "definition": "Do not need it any more, condition abated" + }, + { + "code": "finished", + "display": "Course of treatment complete", + "definition": "Course of treatment complete" + }, + { + "code": "ineffective", + "display": "MTH #C3661846 Medication not effective.", + "definition": "MTH #C3661846 Medication not effective." + }, + { + "code": "burdensome", + "display": "Can't take it when supposed to, too busy, or inconvenient to store or administer", + "definition": "Can't take it when supposed to, too busy, or inconvenient to store or administer" + }, + { + "code": "difficult", + "display": "Has trouble or finds it difficult to take or administer", + "definition": "Has trouble or finds it difficult to take or administer" + }, + { + "code": "side_effect", + "display": "MTH#C0879626 \tExperienced side effects", + "definition": "MTH#C0879626 \tExperienced side effects" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeVS.json b/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeVS.json new file mode 100755 index 0000000..1325646 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-medication-MedicationChangeTypeVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-medication-MedicationChangeTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MedicationChangeTypeVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeTypeVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationChangeTypeVS" + }, + "name": "SHR MedicationChangeTypeVS CodeSystem", + "title": "SHR MedicationChangeTypeVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "reduced", + "display": "Dose reduced", + "definition": "Dose reduced" + }, + { + "code": "increased", + "display": "Dose increased", + "definition": "Dose increased" + }, + { + "code": "temp_stop", + "display": "Medication temporarily interrupted", + "definition": "Medication temporarily interrupted" + }, + { + "code": "swap", + "display": "Switch from one medication (or set of medications) to another", + "definition": "Switch from one medication (or set of medications) to another" + }, + { + "code": "stop", + "display": "Medication stopped", + "definition": "Medication stopped" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedVS.json b/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedVS.json new file mode 100755 index 0000000..816a58d --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-medication-ReasonMedicationNotUsedVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-medication-ReasonMedicationNotUsedVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReasonMedicationNotUsedVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-ReasonMedicationNotUsedVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.ReasonMedicationNotUsedVS" + }, + "name": "SHR ReasonMedicationNotUsedVS CodeSystem", + "title": "SHR ReasonMedicationNotUsedVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 10, + "concept": [ + { + "code": "not_indicated", + "display": "Not indicated", + "definition": "Not indicated" + }, + { + "code": "ineffective", + "display": "Medication or similiar class of medications have been ineffective on the patient", + "definition": "Medication or similiar class of medications have been ineffective on the patient" + }, + { + "code": "nonadherence", + "display": "Patient not expected to adhere to the medication", + "definition": "Patient not expected to adhere to the medication" + }, + { + "code": "side_effect", + "display": "Patient has experienced side effects to this or similar medication", + "definition": "Patient has experienced side effects to this or similar medication" + }, + { + "code": "allergy_intolerance", + "display": "Patient has an allergy or intolerance to this or similar medications", + "definition": "Patient has an allergy or intolerance to this or similar medications" + }, + { + "code": "apprehension", + "display": "Subject is worried about taking medication due to potential side effects, drug interactions, etc.", + "definition": "Subject is worried about taking medication due to potential side effects, drug interactions, etc." + }, + { + "code": "affordability", + "display": "Medication is unaffordable for the patient", + "definition": "Medication is unaffordable for the patient" + }, + { + "code": "objection", + "display": "Patient or patient representative objects to medication", + "definition": "Patient or patient representative objects to medication" + }, + { + "code": "asleep", + "display": "Patient was asleep when the dose was supposed to have been given", + "definition": "Patient was asleep when the dose was supposed to have been given" + }, + { + "code": "unsuccessful", + "display": "Administration attempt unsuccessful (patient vomited dose, could not find vein, etc.)", + "definition": "Administration attempt unsuccessful (patient vomited dose, could not find vein, etc.)" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonVS.json new file mode 100755 index 0000000..5763f1e --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-observation-ExposureReasonVS.json @@ -0,0 +1,74 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-observation-ExposureReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ExposureReasonVS CodeSystem

\n

The reason that an exposure occurred.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ExposureReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ExposureReasonVS" + }, + "name": "SHR ExposureReasonVS CodeSystem", + "title": "SHR ExposureReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "The reason that an exposure occurred.", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "voluntary", + "display": "The subject voluntarily subjects him or herself to the exposure, for example, smoking or using a drug recreationally.", + "definition": "The subject voluntarily subjects him or herself to the exposure, for example, smoking or using a drug recreationally." + }, + { + "code": "addiction", + "display": "The subject is addicted to the substance.", + "definition": "The subject is addicted to the substance." + }, + { + "code": "self_prescribed", + "display": "The subject takes a non-prescription substance to address health issues or for prevention, e.g. herbal remedy for depression.", + "definition": "The subject takes a non-prescription substance to address health issues or for prevention, e.g. herbal remedy for depression." + }, + { + "code": "occupational", + "display": "Exposure in a workplace setting.", + "definition": "Exposure in a workplace setting." + }, + { + "code": "home", + "display": "Exposure in home setting.", + "definition": "Exposure in home setting." + }, + { + "code": "passive", + "display": "The exposure occurred or occurs involuntarily, e.g., exposure to second-hand smoke.", + "definition": "The exposure occurred or occurs involuntarily, e.g., exposure to second-hand smoke." + }, + { + "code": "accidental", + "display": "The exposure as a result of an accident.", + "definition": "The exposure as a result of an accident." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonVS.json new file mode 100755 index 0000000..9b7c5cd --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-observation-ObservationNotMadeReasonVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-observation-ObservationNotMadeReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ObservationNotMadeReasonVS CodeSystem

\n

An explanation of why the observation was not made (or ordered), i.e., why test was not ordered, or why a question was not asked. Since an observation is really a type of procedure, reasons that an observation was not carried out are similar to reasons any procedure might not be carried out.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ObservationNotMadeReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationNotMadeReasonVS" + }, + "name": "SHR ObservationNotMadeReasonVS CodeSystem", + "title": "SHR ObservationNotMadeReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "An explanation of why the observation was not made (or ordered), i.e., why test was not ordered, or why a question was not asked. Since an observation is really a type of procedure, reasons that an observation was not carried out are similar to reasons any procedure might not be carried out.", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "not_applicable", + "display": "The question or data element is not applicable, or based on other answers, no answer to this question is required.", + "definition": "The question or data element is not applicable, or based on other answers, no answer to this question is required." + }, + { + "code": "contraindicated", + "display": "The test or observation is contraindicated, i.e., the subject is intolerant or at risk of an adverse reaction if subjected to the test or observation.", + "definition": "The test or observation is contraindicated, i.e., the subject is intolerant or at risk of an adverse reaction if subjected to the test or observation." + }, + { + "code": "redundant", + "display": "The observation has made previously, or a previous test result is available, a new test or observation would be redundant.", + "definition": "The observation has made previously, or a previous test result is available, a new test or observation would be redundant." + }, + { + "code": "cost", + "display": "The observation would be too costly.", + "definition": "The observation would be too costly." + }, + { + "code": "refused", + "display": "The subject refused the observation.", + "definition": "The subject refused the observation." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityVS.json b/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityVS.json new file mode 100755 index 0000000..0113669 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-problem-EvidenceQualityVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-problem-EvidenceQualityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EvidenceQualityVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-EvidenceQualityVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.EvidenceQualityVS" + }, + "name": "SHR EvidenceQualityVS CodeSystem", + "title": "SHR EvidenceQualityVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 3, + "concept": [ + { + "code": "compelling_evidence", + "display": "Compelling evidence; indicates that assessments are based on high-quality information from multiple sources. High quality evidence does not imply that the assessment is a fact or certainty.", + "definition": "Compelling evidence; indicates that assessments are based on high-quality information from multiple sources. High quality evidence does not imply that the assessment is a fact or certainty." + }, + { + "code": "suggestive_evidence", + "display": "Suggestive evidence; indicates that assessments are based on credible and plausible information, but not of sufficient quality or corroborated sufficiently to warrant a higher level of confidence.", + "definition": "Suggestive evidence; indicates that assessments are based on credible and plausible information, but not of sufficient quality or corroborated sufficiently to warrant a higher level of confidence." + }, + { + "code": "weak_evidence", + "display": "Weak evidence, its credibility and/or plausibility is uncertain, fragmented or poorly corroborated to make solid judgments.", + "definition": "Weak evidence, its credibility and/or plausibility is uncertain, fragmented or poorly corroborated to make solid judgments." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageVS.json b/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageVS.json new file mode 100755 index 0000000..9eb71a9 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-problem-GradeOrStageVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-problem-GradeOrStageVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GradeOrStageVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-GradeOrStageVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.GradeOrStageVS" + }, + "name": "SHR GradeOrStageVS CodeSystem", + "title": "SHR GradeOrStageVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "grade_1", + "display": "Mild", + "definition": "Mild" + }, + { + "code": "grade_2", + "display": "Moderate", + "definition": "Moderate" + }, + { + "code": "grade_3", + "display": "Severe", + "definition": "Severe" + }, + { + "code": "grade_4", + "display": "Life-threatening or disabling", + "definition": "Life-threatening or disabling" + }, + { + "code": "grade_5", + "display": "Death", + "definition": "Death" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryVS.json b/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryVS.json new file mode 100755 index 0000000..22214d3 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-problem-ProblemCategoryVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-problem-ProblemCategoryVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ProblemCategoryVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.ProblemCategoryVS" + }, + "name": "SHR ProblemCategoryVS CodeSystem", + "title": "SHR ProblemCategoryVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "disease", + "display": "A disorder of structure or function in a human, animal, or plant, especially one that produces specific signs or symptoms or that affects a specific location and is not simply a direct result of physical injury.", + "definition": "A disorder of structure or function in a human, animal, or plant, especially one that produces specific signs or symptoms or that affects a specific location and is not simply a direct result of physical injury." + }, + { + "code": "functional_impairment", + "display": "A disability experienced by the subject.", + "definition": "A disability experienced by the subject." + }, + { + "code": "structural_abnormality", + "display": "An abnormality of physiologic structure.", + "definition": "An abnormality of physiologic structure." + }, + { + "code": "concern", + "display": "Something the subject is worried about, which may or may not have yet been manifested. The object of the concern does not have to be a medical disorder.", + "definition": "Something the subject is worried about, which may or may not have yet been manifested. The object of the concern does not have to be a medical disorder." + }, + { + "code": "symptom", + "display": "A manifestation of a deeper cause, of known or unknown etiology, e.g. pain or ringing in the ears.", + "definition": "A manifestation of a deeper cause, of known or unknown etiology, e.g. pain or ringing in the ears." + }, + { + "code": "adverse_reaction", + "display": "An adverse reaction to an intervention.", + "definition": "An adverse reaction to an intervention." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonVS.json new file mode 100755 index 0000000..a862727 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodReasonVS.json @@ -0,0 +1,63 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-sex-ContraceptiveMethodReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodReasonVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodReasonVS" + }, + "name": "SHR ContraceptiveMethodReasonVS CodeSystem", + "title": "SHR ContraceptiveMethodReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "control", + "display": "Gives subject control the use of contraceptive.", + "definition": "Gives subject control the use of contraceptive." + }, + { + "code": "safer_sex", + "display": "Method of contraceptive provides safer sex.", + "definition": "Method of contraceptive provides safer sex." + }, + { + "code": "convenient", + "display": "Easy to use.", + "definition": "Easy to use." + }, + { + "code": "long_term", + "display": "Provides long term protection.", + "definition": "Provides long term protection." + }, + { + "code": "available", + "display": "Easily available, affordable.", + "definition": "Easily available, affordable." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodVS.json b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodVS.json new file mode 100755 index 0000000..2ff06e5 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveMethodVS.json @@ -0,0 +1,128 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-sex-ContraceptiveMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodVS" + }, + "name": "SHR ContraceptiveMethodVS CodeSystem", + "title": "SHR ContraceptiveMethodVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 18, + "concept": [ + { + "code": "no_contraceptive", + "display": "Not using contraceptive", + "definition": "Not using contraceptive" + }, + { + "code": "implant", + "display": "Implanted long-term contraceptive", + "definition": "Implanted long-term contraceptive" + }, + { + "code": "iud", + "display": "Intrauterine device or system", + "definition": "Intrauterine device or system" + }, + { + "code": "sterilized_female", + "display": "Female sterilization, e.g., tubal ligation", + "definition": "Female sterilization, e.g., tubal ligation" + }, + { + "code": "sterilized_male", + "display": "Male sterilization, e.g., vasectomy", + "definition": "Male sterilization, e.g., vasectomy" + }, + { + "code": "injectable", + "display": "Injectable contraceptive", + "definition": "Injectable contraceptive" + }, + { + "code": "lam", + "display": "Lactational amenorrhea method", + "definition": "Lactational amenorrhea method" + }, + { + "code": "oral", + "display": "Oral contraceptive", + "definition": "Oral contraceptive" + }, + { + "code": "patch", + "display": "Contraceptive patch", + "definition": "Contraceptive patch" + }, + { + "code": "ring", + "display": "Vaginal ring", + "definition": "Vaginal ring" + }, + { + "code": "condom_male", + "display": "Male condom", + "definition": "Male condom" + }, + { + "code": "condom_female", + "display": "Female condom", + "definition": "Female condom" + }, + { + "code": "fam", + "display": "Fertility awareness method aka natural family planning aka rhythm method", + "definition": "Fertility awareness method aka natural family planning aka rhythm method" + }, + { + "code": "withdrawal", + "display": "Withdrawal method aka coitus interruptus", + "definition": "Withdrawal method aka coitus interruptus" + }, + { + "code": "spermicide", + "display": "Use of spermicide.", + "definition": "Use of spermicide." + }, + { + "code": "sponge", + "display": "Contraceptive sponge", + "definition": "Contraceptive sponge" + }, + { + "code": "partner", + "display": "Rely on partner to provide.", + "definition": "Rely on partner to provide." + }, + { + "code": "emergency", + "display": "Emergency contraceptive, the 'morning after' pill.", + "definition": "Emergency contraceptive, the 'morning after' pill." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.json b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.json new file mode 100755 index 0000000..4931378 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-sex-ContraceptiveNotUsedReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveNotUsedReasonVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveNotUsedReasonVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveNotUsedReasonVS" + }, + "name": "SHR ContraceptiveNotUsedReasonVS CodeSystem", + "title": "SHR ContraceptiveNotUsedReasonVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 10, + "concept": [ + { + "code": "abstinent", + "display": "Abstains from sexual intercourse.", + "definition": "Abstains from sexual intercourse." + }, + { + "code": "new", + "display": "Newly sexually active, has not yet sought birth control.", + "definition": "Newly sexually active, has not yet sought birth control." + }, + { + "code": "seeking", + "display": "Seeking to become pregnant or accepting of the prospect of pregnancy.", + "definition": "Seeking to become pregnant or accepting of the prospect of pregnancy." + }, + { + "code": "sterility", + "display": "Either partner is sterile (other than being sterilized for contraceptive purposes, which counts as a method of contraception).", + "definition": "Either partner is sterile (other than being sterilized for contraceptive purposes, which counts as a method of contraception)." + }, + { + "code": "same_sex", + "display": "Partner of same sex.", + "definition": "Partner of same sex." + }, + { + "code": "pregnant", + "display": "Partner is pregnant.", + "definition": "Partner is pregnant." + }, + { + "code": "not_at_risk", + "display": "Not at risk of unintended pregnancy, for example, post-menopausal.", + "definition": "Not at risk of unintended pregnancy, for example, post-menopausal." + }, + { + "code": "decline", + "display": "Declines to use any method of birth control.", + "definition": "Declines to use any method of birth control." + }, + { + "code": "unavailable", + "display": "Difficulty obtaining contraceptive, for reasons of cost or access.", + "definition": "Difficulty obtaining contraceptive, for reasons of cost or access." + }, + { + "code": "inconvenient", + "display": "Using contraceptive is inconvenient.", + "definition": "Using contraceptive is inconvenient." + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityVS.json b/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityVS.json new file mode 100755 index 0000000..18c9e61 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-sex-GenderIdentityVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-sex-GenderIdentityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GenderIdentityVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-GenderIdentityVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.GenderIdentityVS" + }, + "name": "SHR GenderIdentityVS CodeSystem", + "title": "SHR GenderIdentityVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "male_gender", + "display": "Identifies as male, exclusively, usually, or primarily", + "definition": "Identifies as male, exclusively, usually, or primarily" + }, + { + "code": "female_gender", + "display": "Identifies as female, exclusively, usually, or primarily ", + "definition": "Identifies as female, exclusively, usually, or primarily " + }, + { + "code": "agender", + "display": "Does not identify with any gender", + "definition": "Does not identify with any gender" + }, + { + "code": "bigender", + "display": "Identifies with both male and female genders, either simultaneously, or changing fluidly over time", + "definition": "Identifies with both male and female genders, either simultaneously, or changing fluidly over time" + }, + { + "code": "unsure_gender", + "display": "Uncertain or searching for gender identity", + "definition": "Uncertain or searching for gender identity" + }, + { + "code": "trans_female", + "display": "Male (at birth) who identifies as a female", + "definition": "Male (at birth) who identifies as a female" + }, + { + "code": "trans_male", + "display": "Female (at birth) who identifies as a male", + "definition": "Female (at birth) who identifies as a male" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationVS.json b/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationVS.json new file mode 100755 index 0000000..fa90089 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-skin-PressureUlcerAssociationVS.json @@ -0,0 +1,48 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-skin-PressureUlcerAssociationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerAssociationVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-PressureUlcerAssociationVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerAssociationVS" + }, + "name": "SHR PressureUlcerAssociationVS CodeSystem", + "title": "SHR PressureUlcerAssociationVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 2, + "concept": [ + { + "code": "device", + "display": "Device related", + "definition": "Device related" + }, + { + "code": "pressure_point", + "display": "Pressure-point related", + "definition": "Pressure-point related" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.json b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.json new file mode 100755 index 0000000..5ae6b68 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.json @@ -0,0 +1,48 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-skin-SupportSurfaceBodyPositionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceBodyPositionVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceBodyPositionVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceBodyPositionVS" + }, + "name": "SHR SupportSurfaceBodyPositionVS CodeSystem", + "title": "SHR SupportSurfaceBodyPositionVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 2, + "concept": [ + { + "code": "sitting", + "display": "Sitting", + "definition": "Sitting" + }, + { + "code": "lying", + "display": "Lying", + "definition": "Lying" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryVS.json b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryVS.json new file mode 100755 index 0000000..626088e --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceCategoryVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-skin-SupportSurfaceCategoryVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceCategoryVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceCategoryVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceCategoryVS" + }, + "name": "SHR SupportSurfaceCategoryVS CodeSystem", + "title": "SHR SupportSurfaceCategoryVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "active_support", + "display": "Active support surface", + "definition": "Active support surface" + }, + { + "code": "reactive_support", + "display": "Reactive support surface", + "definition": "Reactive support surface" + }, + { + "code": "mattress", + "display": "Mattress", + "definition": "Mattress" + }, + { + "code": "bed_system", + "display": "Integrated bed system", + "definition": "Integrated bed system" + }, + { + "code": "overlay", + "display": "Overlay", + "definition": "Overlay" + }, + { + "code": "nonpowered", + "display": "Non-powered", + "definition": "Non-powered" + }, + { + "code": "powered", + "display": "Powered", + "definition": "Powered" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentVS.json b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentVS.json new file mode 100755 index 0000000..e1a895f --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceComponentVS.json @@ -0,0 +1,98 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-skin-SupportSurfaceComponentVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceComponentVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceComponentVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceComponentVS" + }, + "name": "SHR SupportSurfaceComponentVS CodeSystem", + "title": "SHR SupportSurfaceComponentVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 12, + "concept": [ + { + "code": "air", + "display": "Air", + "definition": "Air" + }, + { + "code": "cell", + "display": "Cell or bladder", + "definition": "Cell or bladder" + }, + { + "code": "viscoelastic", + "display": "Viscoelastic foam", + "definition": "Viscoelastic foam" + }, + { + "code": "elastic", + "display": "Elastic foam", + "definition": "Elastic foam" + }, + { + "code": "closed_cell", + "display": "Closed cell foam", + "definition": "Closed cell foam" + }, + { + "code": "open_cell", + "display": "Open cell foam", + "definition": "Open cell foam" + }, + { + "code": "gel", + "display": "gel", + "definition": "gel" + }, + { + "code": "pad", + "display": "pad", + "definition": "pad" + }, + { + "code": "viscous", + "display": "Viscous fluid", + "definition": "Viscous fluid" + }, + { + "code": "elastomer", + "display": "Elastomer", + "definition": "Elastomer" + }, + { + "code": "solid", + "display": "Solid surface", + "definition": "Solid surface" + }, + { + "code": "water", + "display": "Water", + "definition": "Water" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureVS.json b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureVS.json new file mode 100755 index 0000000..5fa027b --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-skin-SupportSurfaceFeatureVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-skin-SupportSurfaceFeatureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceFeatureVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceFeatureVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceFeatureVS" + }, + "name": "SHR SupportSurfaceFeatureVS CodeSystem", + "title": "SHR SupportSurfaceFeatureVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "fluidized", + "display": "Air fluidized", + "definition": "Air fluidized" + }, + { + "code": "alternating", + "display": "Alternating pressure", + "definition": "Alternating pressure" + }, + { + "code": "rotation", + "display": "Lateral rotation", + "definition": "Lateral rotation" + }, + { + "code": "low_air_loss", + "display": "Low air loss", + "definition": "Low air loss" + }, + { + "code": "envelopment", + "display": "Envelopment", + "definition": "Envelopment" + }, + { + "code": "multi_zone", + "display": "Multi-zone surface", + "definition": "Multi-zone surface" + }, + { + "code": "redist", + "display": "Pressure redistribution", + "definition": "Pressure redistribution" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodVS.json new file mode 100755 index 0000000..480fd90 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureMethodVS.json @@ -0,0 +1,59 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-BloodPressureMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressureMethodVS CodeSystem

\n

The method used to measure blood pressure.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureMethodVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressureMethodVS" + }, + "name": "SHR BloodPressureMethodVS CodeSystem", + "title": "SHR BloodPressureMethodVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.809Z", + "description": "The method used to measure blood pressure.", + "caseSensitive": true, + "content": "complete", + "count": 4, + "concept": [ + { + "code": "cuff_manual", + "display": "Cuff method, manual", + "definition": "Cuff method, manual" + }, + { + "code": "cuff_auto", + "display": "Cuff method, automatic", + "definition": "Cuff method, automatic" + }, + { + "code": "intravascular", + "display": "Intravascular method", + "definition": "Intravascular method" + }, + { + "code": "continuous", + "display": "Continuous non-invasive monitoring", + "definition": "Continuous non-invasive monitoring" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierVS.json new file mode 100755 index 0000000..eff358b --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-BloodPressureQualifierVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-BloodPressureQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressureQualifierVS CodeSystem

\n

Code further describing the blood pressure measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressureQualifierVS" + }, + "name": "SHR BloodPressureQualifierVS CodeSystem", + "title": "SHR BloodPressureQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.809Z", + "description": "Code further describing the blood pressure measurement.", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "pre_transfusion", + "display": "pre transfusion", + "definition": "pre transfusion" + }, + { + "code": "post_transfusion", + "display": "post transfusion", + "definition": "post transfusion" + }, + { + "code": "pre_phlebotomy", + "display": "pre phlebotomy", + "definition": "pre phlebotomy" + }, + { + "code": "post_phlebotomy", + "display": "post phlebotomy", + "definition": "post phlebotomy" + }, + { + "code": "expiration", + "display": "during expiration", + "definition": "during expiration" + }, + { + "code": "inspiration", + "display": "during inspiration", + "definition": "during inspiration" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierVS.json new file mode 100755 index 0000000..738f7fc --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyHeightQualifierVS.json @@ -0,0 +1,43 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-BodyHeightQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyHeightQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyHeightQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyHeightQualifierVS" + }, + "name": "SHR BodyHeightQualifierVS CodeSystem", + "title": "SHR BodyHeightQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 1, + "concept": [ + { + "code": "shoes_on", + "display": "Body height wearing shoes", + "definition": "Body height wearing shoes" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierVS.json new file mode 100755 index 0000000..a94942b --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyTemperatureQualifierVS.json @@ -0,0 +1,43 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-BodyTemperatureQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyTemperatureQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyTemperatureQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyTemperatureQualifierVS" + }, + "name": "SHR BodyTemperatureQualifierVS CodeSystem", + "title": "SHR BodyTemperatureQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "caseSensitive": true, + "content": "complete", + "count": 1, + "concept": [ + { + "code": "max_illness", + "display": "Maximum temperature during an illness", + "definition": "Maximum temperature during an illness" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierVS.json new file mode 100755 index 0000000..11071dc --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-BodyWeightQualifierVS.json @@ -0,0 +1,108 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-BodyWeightQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyWeightQualifierVS CodeSystem

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyWeightQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyWeightQualifierVS" + }, + "name": "SHR BodyWeightQualifierVS CodeSystem", + "title": "SHR BodyWeightQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.809Z", + "caseSensitive": true, + "content": "complete", + "count": 14, + "concept": [ + { + "code": "meas", + "display": "Measured", + "definition": "Measured" + }, + { + "code": "est", + "display": "Estimated", + "definition": "Estimated" + }, + { + "code": "ideal", + "display": "Ideal", + "definition": "Ideal" + }, + { + "code": "clothed", + "display": "with clothes", + "definition": "with clothes" + }, + { + "code": "unclothed", + "display": "without clothes", + "definition": "without clothes" + }, + { + "code": "pre_dialysis", + "display": "pre dialysis", + "definition": "pre dialysis" + }, + { + "code": "post_dialysis", + "display": "post dialysis", + "definition": "post dialysis" + }, + { + "code": "preop", + "display": "pre operative", + "definition": "pre operative" + }, + { + "code": "postop", + "display": "pre pregnancy", + "definition": "pre pregnancy" + }, + { + "code": "antepartum", + "display": "ante partum", + "definition": "ante partum" + }, + { + "code": "delivery", + "display": "mother at delivery", + "definition": "mother at delivery" + }, + { + "code": "postpartum", + "display": "post partum", + "definition": "post partum" + }, + { + "code": "birth", + "display": "birth weight", + "definition": "birth weight" + }, + { + "code": "dry", + "display": "dry", + "definition": "dry" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodVS.json new file mode 100755 index 0000000..40500f1 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateMethodVS.json @@ -0,0 +1,74 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-HeartRateMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HeartRateMethodVS CodeSystem

\n

Method of measuring heart rate.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateMethodVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeartRateMethodVS" + }, + "name": "SHR HeartRateMethodVS CodeSystem", + "title": "SHR HeartRateMethodVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "Method of measuring heart rate.", + "caseSensitive": true, + "content": "complete", + "count": 7, + "concept": [ + { + "code": "pulseox", + "display": "Pulse oximetry", + "definition": "Pulse oximetry" + }, + { + "code": "pedometer", + "display": "Pedometer", + "definition": "Pedometer" + }, + { + "code": "auscul", + "display": "Auscultation", + "definition": "Auscultation" + }, + { + "code": "palp", + "display": "Palpation", + "definition": "Palpation" + }, + { + "code": "invasive", + "display": "Invasive (e.g. intra arterial)", + "definition": "Invasive (e.g. intra arterial)" + }, + { + "code": "us_doppler", + "display": "US Doppler", + "definition": "US Doppler" + }, + { + "code": "ecg", + "display": "Electrocardiogram", + "definition": "Electrocardiogram" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierVS.json new file mode 100755 index 0000000..e437191 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-HeartRateQualifierVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-HeartRateQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HeartRateQualifierVS CodeSystem

\n

Details of a heart rate measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeartRateQualifierVS" + }, + "name": "SHR HeartRateQualifierVS CodeSystem", + "title": "SHR HeartRateQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "Details of a heart rate measurement.", + "caseSensitive": true, + "content": "complete", + "count": 5, + "concept": [ + { + "code": "rest", + "display": "resting or pre-exercise", + "definition": "resting or pre-exercise" + }, + { + "code": "post_exercise", + "display": "post exercise", + "definition": "post exercise" + }, + { + "code": "apgar_1", + "display": "1 minute Apgar heart rate", + "definition": "1 minute Apgar heart rate" + }, + { + "code": "apgar_5", + "display": "5 minute Apgar heart rate", + "definition": "5 minute Apgar heart rate" + }, + { + "code": "apgar_10", + "display": "10 minute Apgar heart rate", + "definition": "10 minute Apgar heart rate" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodVS.json new file mode 100755 index 0000000..33dd8b3 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateMethodVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-RespiratoryRateMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateMethodVS CodeSystem

\n

Methods of measuring respiratory rate.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateMethodVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.RespiratoryRateMethodVS" + }, + "name": "SHR RespiratoryRateMethodVS CodeSystem", + "title": "SHR RespiratoryRateMethodVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "Methods of measuring respiratory rate.", + "caseSensitive": true, + "content": "complete", + "count": 6, + "concept": [ + { + "code": "acoustic", + "display": "Acoustic measurement", + "definition": "Acoustic measurement" + }, + { + "code": "airway_flow", + "display": "Airway flow measurement", + "definition": "Airway flow measurement" + }, + { + "code": "co2", + "display": "Carbon dioxide measurement", + "definition": "Carbon dioxide measurement" + }, + { + "code": "imped", + "display": "Transthoracic impedance", + "definition": "Transthoracic impedance" + }, + { + "code": "spiro", + "display": "Spirometry", + "definition": "Spirometry" + }, + { + "code": "capillary", + "display": "Capillary blood", + "definition": "Capillary blood" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierVS.json b/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierVS.json new file mode 100755 index 0000000..b2aff46 --- /dev/null +++ b/lib/resources/standard_health_record/CodeSystem-shr-vital-RespiratoryRateQualifierVS.json @@ -0,0 +1,109 @@ +{ + "resourceType": "CodeSystem", + "id": "shr-vital-RespiratoryRateQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/codesystem-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateQualifierVS CodeSystem

\n

Details of a respiratory rate measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateQualifierVS", + "identifier": { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.RespiratoryRateQualifierVS" + }, + "name": "SHR RespiratoryRateQualifierVS CodeSystem", + "title": "SHR RespiratoryRateQualifierVS CodeSystem", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.808Z", + "description": "Details of a respiratory rate measurement.", + "caseSensitive": true, + "content": "complete", + "count": 14, + "concept": [ + { + "code": "rest", + "display": "resting or pre-exercise", + "definition": "resting or pre-exercise" + }, + { + "code": "post_exercise", + "display": "post exercise", + "definition": "post exercise" + }, + { + "code": "max_voluntary", + "display": "maximum voluntary ventilation", + "definition": "maximum voluntary ventilation" + }, + { + "code": "post_bronchoscopy", + "display": "post bronchoscopy", + "definition": "post bronchoscopy" + }, + { + "code": "post_cardioversion", + "display": "post cardioversion", + "definition": "post cardioversion" + }, + { + "code": "post_sedation", + "display": "post conscious sedation", + "definition": "post conscious sedation" + }, + { + "code": "post_therapy", + "display": "post inhalation therapy", + "definition": "post inhalation therapy" + }, + { + "code": "pre_bronchoscopy", + "display": "pre bronchoscopy", + "definition": "pre bronchoscopy" + }, + { + "code": "pre_cardioversion", + "display": "pre cardioversion", + "definition": "pre cardioversion" + }, + { + "code": "pre_sedation", + "display": "pre conscious sedation", + "definition": "pre conscious sedation" + }, + { + "code": "pre_therapy", + "display": "pre inhalation therapy", + "definition": "pre inhalation therapy" + }, + { + "code": "vent_spont", + "display": "on ventilator, spontaneous", + "definition": "on ventilator, spontaneous" + }, + { + "code": "vent", + "display": "on ventilator, mechanical and spontaneous", + "definition": "on ventilator, mechanical and spontaneous" + }, + { + "code": "vent_mech", + "display": "on ventilator, mechanical", + "definition": "on ventilator, mechanical" + } + ] +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ImplementationGuide.json b/lib/resources/standard_health_record/ImplementationGuide.json new file mode 100755 index 0000000..9fde6bc --- /dev/null +++ b/lib/resources/standard_health_record/ImplementationGuide.json @@ -0,0 +1,7052 @@ +{ + "resourceType": "ImplementationGuide", + "id": "1", + "url": "http://standardhealthrecord.org/fhir/ImplementationGuide/1", + "name": "Standard Health Record FHIR Profiles", + "status": "draft", + "package": [ + { + "name": "Profiles in this Implementation Guide", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-EmergencyContact.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-EmergencyContact", + "display": "SHR EmergencyContact Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-NoPrimaryCareProvider.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-NoPrimaryCareProvider", + "display": "SHR NoPrimaryCareProvider Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Organization.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Organization", + "display": "SHR Organization Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Practitioner.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Practitioner", + "display": "SHR Practitioner Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-PrimaryCareProvider.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-PrimaryCareProvider", + "display": "SHR PrimaryCareProvider Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-ProviderRelationship.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-ProviderRelationship", + "display": "SHR ProviderRelationship Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-RelatedPerson.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-RelatedPerson", + "display": "SHR RelatedPerson Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-adverse-AdverseReaction.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-adverse-AdverseReaction", + "display": "SHR AdverseReaction Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-AllergyIntolerance.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-AllergyIntolerance", + "display": "SHR AllergyIntolerance Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-DrugAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-DrugAllergy", + "display": "SHR DrugAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-FoodAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-FoodAllergy", + "display": "SHR FoodAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-NoKnownAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-NoKnownAllergy", + "display": "SHR NoKnownAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-NoKnownDrugAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-NoKnownDrugAllergy", + "display": "SHR NoKnownDrugAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy", + "display": "SHR NoKnownEnvironmentalAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-NoKnownFoodAllergy.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-NoKnownFoodAllergy", + "display": "SHR NoKnownFoodAllergy Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-Entry.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-Entry", + "display": "SHR Entry Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-Narrative.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-Narrative", + "display": "SHR Narrative Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-AlcoholUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-AlcoholUse", + "display": "SHR AlcoholUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-BehavioralObservation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-BehavioralObservation", + "display": "SHR BehavioralObservation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-DietAndNutrition.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-DietAndNutrition", + "display": "SHR DietAndNutrition Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-IntravenousDrugUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-IntravenousDrugUse", + "display": "SHR IntravenousDrugUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-NicotineUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-NicotineUse", + "display": "SHR NicotineUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ONCSmokingStatus.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ONCSmokingStatus", + "display": "SHR ONCSmokingStatus Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-PhysicalActivityLevel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-PhysicalActivityLevel", + "display": "SHR PhysicalActivityLevel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ReligiousPractice.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ReligiousPractice", + "display": "SHR ReligiousPractice Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-SleepQuality.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-SleepQuality", + "display": "SHR SleepQuality Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-SubstanceAbuseTreatment", + "display": "SHR SubstanceAbuseTreatment Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-SubstanceUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-SubstanceUse", + "display": "SHR SubstanceUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ViolentBehaviorRisk.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ViolentBehaviorRisk", + "display": "SHR ViolentBehaviorRisk Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Address.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Address", + "display": "SHR Address Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Age.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Age", + "display": "SHR Age Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Annotation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Annotation", + "display": "SHR Annotation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-BodySite.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-BodySite", + "display": "SHR BodySite Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-CodeableConcept.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-CodeableConcept", + "display": "SHR CodeableConcept Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Coding.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Coding", + "display": "SHR Coding Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-DollarAmount.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-DollarAmount", + "display": "SHR DollarAmount Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Duration.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Duration", + "display": "SHR Duration Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-EffectiveTimePeriod.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-EffectiveTimePeriod", + "display": "SHR EffectiveTimePeriod Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GeopoliticalLocation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GeopoliticalLocation", + "display": "SHR GeopoliticalLocation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Geoposition.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Geoposition", + "display": "SHR Geoposition Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-HumanName.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-HumanName", + "display": "SHR HumanName Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Identifier.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Identifier", + "display": "SHR Identifier Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-LowerBound.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-LowerBound", + "display": "SHR LowerBound Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-PeriodOfUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-PeriodOfUse", + "display": "SHR PeriodOfUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Quantity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Quantity", + "display": "SHR Quantity Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Statistic.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Statistic", + "display": "SHR Statistic Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-TimePeriod.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-TimePeriod", + "display": "SHR TimePeriod Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-UnitedStatesAddress.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-UnitedStatesAddress", + "display": "SHR UnitedStatesAddress Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-UpperBound.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-UpperBound", + "display": "SHR UpperBound Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-HealthInsurance.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-HealthInsurance", + "display": "SHR HealthInsurance Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-HomeTelephoneNumber.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-HomeTelephoneNumber", + "display": "SHR HomeTelephoneNumber Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-PersonOfRecord.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-PersonOfRecord", + "display": "SHR PersonOfRecord Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-Telecom.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-Telecom", + "display": "SHR Telecom Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-TelephoneNumber.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-TelephoneNumber", + "display": "SHR TelephoneNumber Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-WorkTelephoneNumber.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-WorkTelephoneNumber", + "display": "SHR WorkTelephoneNumber Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-device-Device.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-device-Device", + "display": "SHR Device Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-device-DeviceUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-device-DeviceUse", + "display": "SHR DeviceUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-Encounter.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-Encounter", + "display": "SHR Encounter Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-Facility.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-Facility", + "display": "SHR Facility Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-AnimalExposure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-AnimalExposure", + "display": "SHR AnimalExposure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-AnnualIncome.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-AnnualIncome", + "display": "SHR AnnualIncome Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordChildCare.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordChildCare", + "display": "SHR CanAffordChildCare Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordClothing.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordClothing", + "display": "SHR CanAffordClothing Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordDentalCare.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordDentalCare", + "display": "SHR CanAffordDentalCare Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordFood.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordFood", + "display": "SHR CanAffordFood Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordHousing.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordHousing", + "display": "SHR CanAffordHousing Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordMedication.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordMedication", + "display": "SHR CanAffordMedication Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordTransportation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordTransportation", + "display": "SHR CanAffordTransportation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordUtilities.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordUtilities", + "display": "SHR CanAffordUtilities Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-Coinhabitant.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-Coinhabitant", + "display": "SHR Coinhabitant Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-DomesticViolence.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-DomesticViolence", + "display": "SHR DomesticViolence Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-EmotionalSafety.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-EmotionalSafety", + "display": "SHR EmotionalSafety Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-EnvironmentalExposuresPanel", + "display": "SHR EnvironmentalExposuresPanel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-ExposureToSubstance.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-ExposureToSubstance", + "display": "SHR ExposureToSubstance Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-FinancialSituationPanel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-FinancialSituationPanel", + "display": "SHR FinancialSituationPanel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HomeEnvironmentRisk.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HomeEnvironmentRisk", + "display": "SHR HomeEnvironmentRisk Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HouseholdSituationPanel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HouseholdSituationPanel", + "display": "SHR HouseholdSituationPanel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HouseholdSize.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HouseholdSize", + "display": "SHR HouseholdSize Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HousingSecurity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HousingSecurity", + "display": "SHR HousingSecurity Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-IncomeSource.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-IncomeSource", + "display": "SHR IncomeSource Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-IncomeStability.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-IncomeStability", + "display": "SHR IncomeStability Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-NonCashBenefit.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-NonCashBenefit", + "display": "SHR NonCashBenefit Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-NumberOfDependents.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-NumberOfDependents", + "display": "SHR NumberOfDependents Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-PhysicalSafety.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-PhysicalSafety", + "display": "SHR PhysicalSafety Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-SocialEnvironmentPanel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-SocialEnvironmentPanel", + "display": "SHR SocialEnvironmentPanel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-TransportationAvailability.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-TransportationAvailability", + "display": "SHR TransportationAvailability Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-immunization-Immunization.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-immunization-Immunization", + "display": "SHR Immunization Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-immunization-ImmunizationAdministered.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-immunization-ImmunizationAdministered", + "display": "SHR ImmunizationAdministered Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-immunization-ImmunizationNotGiven.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-immunization-ImmunizationNotGiven", + "display": "SHR ImmunizationNotGiven Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-HIVScreeningTest.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-HIVScreeningTest", + "display": "SHR HIVScreeningTest Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-HIVScreeningTestRequest.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-HIVScreeningTestRequest", + "display": "SHR HIVScreeningTestRequest Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-HIVSupplementalTest.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-HIVSupplementalTest", + "display": "SHR HIVSupplementalTest Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-HIVSupplementalTestRequest.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-HIVSupplementalTestRequest", + "display": "SHR HIVSupplementalTestRequest Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-Test.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-Test", + "display": "SHR Test Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-TestRequest.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-TestRequest", + "display": "SHR TestRequest Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-CongenitalAbnormalities", + "display": "SHR CongenitalAbnormalities Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-EducationalAttainment.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-EducationalAttainment", + "display": "SHR EducationalAttainment Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-Employment.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-Employment", + "display": "SHR Employment Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryService.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryService", + "display": "SHR MilitaryService Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryStatus.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryStatus", + "display": "SHR MilitaryStatus Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-Occupation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-Occupation", + "display": "SHR Occupation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-PrenatalExposure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-PrenatalExposure", + "display": "SHR PrenatalExposure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-Travel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-Travel", + "display": "SHR Travel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-Medication.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-Medication", + "display": "SHR Medication Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationChange.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationChange", + "display": "SHR MedicationChange Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationNotAdministered.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationNotAdministered", + "display": "SHR MedicationNotAdministered Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationNotPrescribed.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationNotPrescribed", + "display": "SHR MedicationNotPrescribed Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationPrescription.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationPrescription", + "display": "SHR MedicationPrescription Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationUse.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationUse", + "display": "SHR MedicationUse Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-CodeableConceptObservation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-CodeableConceptObservation", + "display": "SHR CodeableConceptObservation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-HistoryObservation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-HistoryObservation", + "display": "SHR HistoryObservation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-Observation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-Observation", + "display": "SHR Observation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-Panel.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-Panel", + "display": "SHR Panel Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-SocialHistory.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-SocialHistory", + "display": "SHR SocialHistory Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-AcademicProblem.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-AcademicProblem", + "display": "SHR AcademicProblem Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Asplenia.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Asplenia", + "display": "SHR Asplenia Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Injury.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Injury", + "display": "SHR Injury Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Manifestation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Manifestation", + "display": "SHR Manifestation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-MentalHealthProblem.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-MentalHealthProblem", + "display": "SHR MentalHealthProblem Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Problem.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Problem", + "display": "SHR Problem Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-procedure-Procedure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-procedure-Procedure", + "display": "SHR Procedure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-ContraceptiveMethodRecommendation", + "display": "SHR ContraceptiveMethodRecommendation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-ContraceptiveMethodsUsed", + "display": "SHR ContraceptiveMethodsUsed Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-GenderIdentity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-GenderIdentity", + "display": "SHR GenderIdentity Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-PregnancyHistory.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-PregnancyHistory", + "display": "SHR PregnancyHistory Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-PregnancyIntention.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-PregnancyIntention", + "display": "SHR PregnancyIntention Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-SexualBehavior.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-SexualBehavior", + "display": "SHR SexualBehavior Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-SexualIdentity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-SexualIdentity", + "display": "SHR SexualIdentity Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-PressureUlcer.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-PressureUlcer", + "display": "SHR PressureUlcer Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-PressureUlcerBodySite.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-PressureUlcerBodySite", + "display": "SHR PressureUlcerBodySite Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-PressureUlcerManifestation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-PressureUlcerManifestation", + "display": "SHR PressureUlcerManifestation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-PressureUlcerNotPresent.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-PressureUlcerNotPresent", + "display": "SHR PressureUlcerNotPresent Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-SupportSurface.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-SupportSurface", + "display": "SHR SupportSurface Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-SupportSurfaceEmployed.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-SupportSurfaceEmployed", + "display": "SHR SupportSurfaceEmployed Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BloodPressure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BloodPressure", + "display": "SHR BloodPressure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BodyHeight.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BodyHeight", + "display": "SHR BodyHeight Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BodyLength.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BodyLength", + "display": "SHR BodyLength Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BodyMassIndex.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BodyMassIndex", + "display": "SHR BodyMassIndex Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BodyTemperature.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BodyTemperature", + "display": "SHR BodyTemperature Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-BodyWeight.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-BodyWeight", + "display": "SHR BodyWeight Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-DiastolicPressure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-DiastolicPressure", + "display": "SHR DiastolicPressure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-HeadCircumference.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-HeadCircumference", + "display": "SHR HeadCircumference Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-HeartRate.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-HeartRate", + "display": "SHR HeartRate Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-OxygenSaturation.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-OxygenSaturation", + "display": "SHR OxygenSaturation Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-RespiratoryRate.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-RespiratoryRate", + "display": "SHR RespiratoryRate Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-SystolicPressure.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-SystolicPressure", + "display": "SHR SystolicPressure Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-VitalSign.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-VitalSign", + "display": "SHR VitalSign Profile" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-AgeAtDeath-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-AgeAtDeath-extension", + "display": "SHR AgeAtDeath Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Anonymized-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Anonymized-extension", + "display": "SHR Anonymized Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-DateOfDeath-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-DateOfDeath-extension", + "display": "SHR DateOfDeath Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Deceased-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Deceased-extension", + "display": "SHR Deceased Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-FictionalPerson-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-FictionalPerson-extension", + "display": "SHR FictionalPerson Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-LanguageQualifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-LanguageQualifier-extension", + "display": "SHR LanguageQualifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-LanguageUsed-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-LanguageUsed-extension", + "display": "SHR LanguageUsed Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Participant-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Participant-extension", + "display": "SHR Participant Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-ParticipationType-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-ParticipationType-extension", + "display": "SHR ParticipationType Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-Practitioner-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-Practitioner-extension", + "display": "SHR Practitioner Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-RelatedPerson-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-RelatedPerson-extension", + "display": "SHR RelatedPerson Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-SpokenLanguageProficiency-extension", + "display": "SHR SpokenLanguageProficiency Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-actor-WrittenLanguageProficiency-extension", + "display": "SHR WrittenLanguageProficiency Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-adverse-AdverseReaction-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-adverse-AdverseReaction-extension", + "display": "SHR AdverseReaction Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-adverse-AdverseReactionAttribution-extension", + "display": "SHR AdverseReactionAttribution Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-adverse-AttributionCertainty-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-adverse-AttributionCertainty-extension", + "display": "SHR AttributionCertainty Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-allergy-FoodAllergy-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-allergy-FoodAllergy-extension", + "display": "SHR FoodAllergy Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-ActionCode-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-ActionCode-extension", + "display": "SHR ActionCode Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-AssociatedEncounter-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-AssociatedEncounter-extension", + "display": "SHR AssociatedEncounter Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-Author-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-Author-extension", + "display": "SHR Author Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-FocalSubject-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-FocalSubject-extension", + "display": "SHR FocalSubject Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-Informant-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-Informant-extension", + "display": "SHR Informant Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-Language-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-Language-extension", + "display": "SHR Language Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-NonOccurrenceModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "display": "SHR NonOccurrenceModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-OriginalCreationDate-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-OriginalCreationDate-extension", + "display": "SHR OriginalCreationDate Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-PatientInstructions-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-PatientInstructions-extension", + "display": "SHR PatientInstructions Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-PerformerInstructions-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-PerformerInstructions-extension", + "display": "SHR PerformerInstructions Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-PriorityOfRequest-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-PriorityOfRequest-extension", + "display": "SHR PriorityOfRequest Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension", + "display": "SHR RequestNotToPerformActionModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-ShrId-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-ShrId-extension", + "display": "SHR ShrId Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension", + "display": "SHR SubjectIsThirdPartyModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension", + "display": "SHR AlcoholBingeFrequency Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-AssessmentTool-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-AssessmentTool-extension", + "display": "SHR AssessmentTool Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-DietNutritionConcern-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-DietNutritionConcern-extension", + "display": "SHR DietNutritionConcern Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension", + "display": "SHR ExerciseHoursPerWeek Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-HasSufficientFood-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-HasSufficientFood-extension", + "display": "SHR HasSufficientFood Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-HoursSleepPerNight-extension", + "display": "SHR HoursSleepPerNight Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension", + "display": "SHR PhysicalActivityLimitation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ReadinessToChange-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ReadinessToChange-extension", + "display": "SHR ReadinessToChange Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension", + "display": "SHR ReligiousPracticeStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ReligiousRestriction-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ReligiousRestriction-extension", + "display": "SHR ReligiousRestriction Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-SleepQualityReason-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-SleepQualityReason-extension", + "display": "SHR SleepQualityReason Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-SpecialDietFollowed-extension", + "display": "SHR SpecialDietFollowed Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-TroubleFallingAsleep-extension", + "display": "SHR TroubleFallingAsleep Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-TroubleStayingAsleep-extension", + "display": "SHR TroubleStayingAsleep Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ViolentRiskToOthers-extension", + "display": "SHR ViolentRiskToOthers Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-ViolentRiskToSelf-extension", + "display": "SHR ViolentRiskToSelf Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-behavior-WakeFeelingRested-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-behavior-WakeFeelingRested-extension", + "display": "SHR WakeFeelingRested Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Age-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Age-extension", + "display": "SHR Age Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-AgeGroup-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-AgeGroup-extension", + "display": "SHR AgeGroup Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-AgeRange-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-AgeRange-extension", + "display": "SHR AgeRange Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Area-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Area-extension", + "display": "SHR Area Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-BodySite-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-BodySite-extension", + "display": "SHR BodySite Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Circumference-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Circumference-extension", + "display": "SHR Circumference Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-ClockDirection-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-ClockDirection-extension", + "display": "SHR ClockDirection Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-CodeableConcept-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-CodeableConcept-extension", + "display": "SHR CodeableConcept Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-CodingQualifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-CodingQualifier-extension", + "display": "SHR CodingQualifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Count-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Count-extension", + "display": "SHR Count Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Country-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Country-extension", + "display": "SHR Country Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Depth-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Depth-extension", + "display": "SHR Depth Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Details-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Details-extension", + "display": "SHR Details Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Duration-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Duration-extension", + "display": "SHR Duration Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-EffectiveDate-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-EffectiveDate-extension", + "display": "SHR EffectiveDate Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-EffectiveTimePeriod-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-EffectiveTimePeriod-extension", + "display": "SHR EffectiveTimePeriod Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Explanation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Explanation-extension", + "display": "SHR Explanation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Frequency-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Frequency-extension", + "display": "SHR Frequency Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GeneralizedAge-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GeneralizedAge-extension", + "display": "SHR GeneralizedAge Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GeneralizedDateTime-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GeneralizedDateTime-extension", + "display": "SHR GeneralizedDateTime Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GeneralizedLikelihood-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GeneralizedLikelihood-extension", + "display": "SHR GeneralizedLikelihood Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GeneralizedTemporalContext-extension", + "display": "SHR GeneralizedTemporalContext Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GestationalAge-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GestationalAge-extension", + "display": "SHR GestationalAge Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GestationalTemporalContext-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GestationalTemporalContext-extension", + "display": "SHR GestationalTemporalContext Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-GestationalTimePeriod-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-GestationalTimePeriod-extension", + "display": "SHR GestationalTimePeriod Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Length-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Length-extension", + "display": "SHR Length Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Likelihood-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Likelihood-extension", + "display": "SHR Likelihood Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Location-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Location-extension", + "display": "SHR Location Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-LowerBound-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-LowerBound-extension", + "display": "SHR LowerBound Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-OccurrenceTime-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-OccurrenceTime-extension", + "display": "SHR OccurrenceTime Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Percentage-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Percentage-extension", + "display": "SHR Percentage Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Priority-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Priority-extension", + "display": "SHR Priority Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-QualitativeDateTime-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-QualitativeDateTime-extension", + "display": "SHR QualitativeDateTime Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-QualitativeLikelihood-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-QualitativeLikelihood-extension", + "display": "SHR QualitativeLikelihood Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Quantity-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Quantity-extension", + "display": "SHR Quantity Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Reason-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Reason-extension", + "display": "SHR Reason Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Setting-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Setting-extension", + "display": "SHR Setting Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-State-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-State-extension", + "display": "SHR State Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-StatisticType-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-StatisticType-extension", + "display": "SHR StatisticType Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Substance-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Substance-extension", + "display": "SHR Substance Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-TimePeriod-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-TimePeriod-extension", + "display": "SHR TimePeriod Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-UpperBound-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-UpperBound-extension", + "display": "SHR UpperBound Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Volume-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Volume-extension", + "display": "SHR Volume Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-core-Width-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-core-Width-extension", + "display": "SHR Width Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-CountryOfIssue-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-CountryOfIssue-extension", + "display": "SHR CountryOfIssue Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-DriversLicenseNumber-extension", + "display": "SHR DriversLicenseNumber Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-FamilialRelationship-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-FamilialRelationship-extension", + "display": "SHR FamilialRelationship Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-FathersName-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-FathersName-extension", + "display": "SHR FathersName Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-PassportNumber-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-PassportNumber-extension", + "display": "SHR PassportNumber Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-PersonOfRecord-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-PersonOfRecord-extension", + "display": "SHR PersonOfRecord Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-SocialSecurityNumber-extension", + "display": "SHR SocialSecurityNumber Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-StateOfIssue-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-StateOfIssue-extension", + "display": "SHR StateOfIssue Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-demographics-TelecomTypeOther-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-demographics-TelecomTypeOther-extension", + "display": "SHR TelecomTypeOther Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-device-DeviceUseStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-device-DeviceUseStatus-extension", + "display": "SHR DeviceUseStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-device-Implanted-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-device-Implanted-extension", + "display": "SHR Implanted Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension", + "display": "SHR EncounterNonOccurrenceModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-Facility-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-Facility-extension", + "display": "SHR Facility Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-MobileFacility-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-MobileFacility-extension", + "display": "SHR MobileFacility Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-PaymentSource-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-PaymentSource-extension", + "display": "SHR PaymentSource Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-ReferralDate-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-ReferralDate-extension", + "display": "SHR ReferralDate Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-ReferralSourceType-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-ReferralSourceType-extension", + "display": "SHR ReferralSourceType Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-encounter-TreatmentCooperation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-encounter-TreatmentCooperation-extension", + "display": "SHR TreatmentCooperation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-AnimalExposure-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-AnimalExposure-extension", + "display": "SHR AnimalExposure Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-AnnualIncome-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-AnnualIncome-extension", + "display": "SHR AnnualIncome Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordChildCare-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordChildCare-extension", + "display": "SHR CanAffordChildCare Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordClothing-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordClothing-extension", + "display": "SHR CanAffordClothing Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordDentalCare-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordDentalCare-extension", + "display": "SHR CanAffordDentalCare Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordFood-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordFood-extension", + "display": "SHR CanAffordFood Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordHousing-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordHousing-extension", + "display": "SHR CanAffordHousing Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordMedication-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordMedication-extension", + "display": "SHR CanAffordMedication Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordTransportation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordTransportation-extension", + "display": "SHR CanAffordTransportation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-CanAffordUtilities-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-CanAffordUtilities-extension", + "display": "SHR CanAffordUtilities Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-Coinhabitant-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-Coinhabitant-extension", + "display": "SHR Coinhabitant Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-DomesticViolence-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-DomesticViolence-extension", + "display": "SHR DomesticViolence Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-EmotionalSafety-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-EmotionalSafety-extension", + "display": "SHR EmotionalSafety Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-ExposureMethod-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-ExposureMethod-extension", + "display": "SHR ExposureMethod Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-ExposureReason-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-ExposureReason-extension", + "display": "SHR ExposureReason Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-ExposureSourceOrVector-extension", + "display": "SHR ExposureSourceOrVector Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HomeEnvironmentRisk-extension", + "display": "SHR HomeEnvironmentRisk Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HouseholdSize-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HouseholdSize-extension", + "display": "SHR HouseholdSize Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-HousingSecurity-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-HousingSecurity-extension", + "display": "SHR HousingSecurity Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-IncomeSource-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-IncomeSource-extension", + "display": "SHR IncomeSource Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-IncomeStability-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-IncomeStability-extension", + "display": "SHR IncomeStability Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-NonCashBenefit-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-NonCashBenefit-extension", + "display": "SHR NonCashBenefit Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-NumberOfDependents-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-NumberOfDependents-extension", + "display": "SHR NumberOfDependents Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-PhysicalSafety-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-PhysicalSafety-extension", + "display": "SHR PhysicalSafety Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-environment-TransportationAvailability-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-environment-TransportationAvailability-extension", + "display": "SHR TransportationAvailability Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-ChangeFlag-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-ChangeFlag-extension", + "display": "SHR ChangeFlag Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-Test-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-Test-extension", + "display": "SHR Test Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lab-TestRequest-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lab-TestRequest-extension", + "display": "SHR TestRequest Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-Employer-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-Employer-extension", + "display": "SHR Employer Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-EmploymentStatus-extension", + "display": "SHR EmploymentStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryBranch-extension", + "display": "SHR MilitaryBranch Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension", + "display": "SHR MilitaryServiceDischargeStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension", + "display": "SHR MilitaryServiceEra Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-MilitaryStatus-extension", + "display": "SHR MilitaryStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension", + "display": "SHR ServiceConnectedDisability Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-Adherence-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-Adherence-extension", + "display": "SHR Adherence Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-AdherenceLevel-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-AdherenceLevel-extension", + "display": "SHR AdherenceLevel Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationAfterChange-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationAfterChange-extension", + "display": "SHR MedicationAfterChange Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationBeforeChange-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationBeforeChange-extension", + "display": "SHR MedicationBeforeChange Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension", + "display": "SHR MedicationNotPrescribedModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-NonAdherenceReason-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-NonAdherenceReason-extension", + "display": "SHR NonAdherenceReason Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-OverTheCounter-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-OverTheCounter-extension", + "display": "SHR OverTheCounter Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-RouteIntoBody-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-RouteIntoBody-extension", + "display": "SHR RouteIntoBody Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-medication-TypeOfChange-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-medication-TypeOfChange-extension", + "display": "SHR TypeOfChange Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-ObservationCode-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-ObservationCode-extension", + "display": "SHR ObservationCode Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension", + "display": "SHR ObservationNonOccurrenceModifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-ObservationQualifier-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-ObservationQualifier-extension", + "display": "SHR ObservationQualifier Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-observation-ObservationReason-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-observation-ObservationReason-extension", + "display": "SHR ObservationReason Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-base64Binary-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-base64Binary-extension", + "display": "SHR base64Binary Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-boolean-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-boolean-extension", + "display": "SHR boolean Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-code-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-code-extension", + "display": "SHR code Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-date-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-date-extension", + "display": "SHR date Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-dateTime-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-dateTime-extension", + "display": "SHR dateTime Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-decimal-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-decimal-extension", + "display": "SHR decimal Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-id-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-id-extension", + "display": "SHR id Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-instant-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-instant-extension", + "display": "SHR instant Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-integer-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-integer-extension", + "display": "SHR integer Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-markdown-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-markdown-extension", + "display": "SHR markdown Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-oid-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-oid-extension", + "display": "SHR oid Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-positiveInt-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-positiveInt-extension", + "display": "SHR positiveInt Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-string-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-string-extension", + "display": "SHR string Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-time-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-time-extension", + "display": "SHR time Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-unsignedInt-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-unsignedInt-extension", + "display": "SHR unsignedInt Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-uri-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-uri-extension", + "display": "SHR uri Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-primitive-xhtml-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/primitive-xhtml-extension", + "display": "SHR xhtml Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Abatement-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Abatement-extension", + "display": "SHR Abatement Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Criticality-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Criticality-extension", + "display": "SHR Criticality Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-IncludeOnProblemList-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-IncludeOnProblemList-extension", + "display": "SHR IncludeOnProblemList Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Manifestation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Manifestation-extension", + "display": "SHR Manifestation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Preexisting-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Preexisting-extension", + "display": "SHR Preexisting Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-Severity-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-Severity-extension", + "display": "SHR Severity Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-SupportingEvidenceQuality-extension", + "display": "SHR SupportingEvidenceQuality Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-problem-WhenClinicallyRecognized-extension", + "display": "SHR WhenClinicallyRecognized Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-CurrentPregnancyStatus-extension", + "display": "SHR CurrentPregnancyStatus Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-DifficultyWithIntercourse-extension", + "display": "SHR DifficultyWithIntercourse Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-Dispensed-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-Dispensed-extension", + "display": "SHR Dispensed Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-GenderIdentity-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-GenderIdentity-extension", + "display": "SHR GenderIdentity Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-NumberOfLivingChildren-extension", + "display": "SHR NumberOfLivingChildren Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension", + "display": "SHR NumberOfPreviousPregnancies Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension", + "display": "SHR NumberOfSexualPartnersPastYear Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension", + "display": "SHR ReasonForNotRecommendingContraceptive Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-SexualActivity-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-SexualActivity-extension", + "display": "SHR SexualActivity Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-sex-SexualOrientation-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-sex-SexualOrientation-extension", + "display": "SHR SexualOrientation Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-CausativeFactor-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-CausativeFactor-extension", + "display": "SHR CausativeFactor Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-ImmersionDepth-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-ImmersionDepth-extension", + "display": "SHR ImmersionDepth Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension", + "display": "SHR SupportSurfaceBodyPosition Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-SupportSurfaceCategory-extension", + "display": "SHR SupportSurfaceCategory Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-SupportSurfaceComponent-extension", + "display": "SHR SupportSurfaceComponent Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-VisibleInternalStructure-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-VisibleInternalStructure-extension", + "display": "SHR VisibleInternalStructure Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundBedAndEdge-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundBedAndEdge-extension", + "display": "SHR WoundBedAndEdge Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundEdgeAppearance-extension", + "display": "SHR WoundEdgeAppearance Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundExudate-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundExudate-extension", + "display": "SHR WoundExudate Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundSize-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundSize-extension", + "display": "SHR WoundSize Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundTunnelling-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundTunnelling-extension", + "display": "SHR WoundTunnelling Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-skin-WoundUndermining-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-skin-WoundUndermining-extension", + "display": "SHR WoundUndermining Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-shr-vital-HeadTiltAngle-extension.html" + } + ], + "example": false, + "sourceReference": { + "reference": "StructureDefinition/shr-vital-HeadTiltAngle-extension", + "display": "SHR HeadTiltAngle Extension" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-actor-AgeGroupVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-actor-AgeGroupVS", + "display": "SHR AgeGroupVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-actor-HealthcareRoleVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-actor-HealthcareRoleVS", + "display": "SHR HealthcareRoleVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-actor-LanguageQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-actor-LanguageQualifierVS", + "display": "SHR LanguageQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-allergy-AllergenIrritantVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-allergy-AllergenIrritantVS", + "display": "SHR AllergenIrritantVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-allergy-AllergyVerificationStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-allergy-AllergyVerificationStatusVS", + "display": "SHR AllergyVerificationStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-allergy-DrugIngredientVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-allergy-DrugIngredientVS", + "display": "SHR DrugIngredientVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-allergy-FoodSubstanceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-allergy-FoodSubstanceVS", + "display": "SHR FoodSubstanceVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-base-GenericAnswersVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-base-GenericAnswersVS", + "display": "SHR GenericAnswersVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-base-MissingValueReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-base-MissingValueReasonVS", + "display": "SHR MissingValueReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-AlcoholUseScreeningToolVS", + "display": "SHR AlcoholUseScreeningToolVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-DietNutritionConcernVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-DietNutritionConcernVS", + "display": "SHR DietNutritionConcernVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-PhysicalActivityLimitationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-PhysicalActivityLimitationVS", + "display": "SHR PhysicalActivityLimitationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-ReligiousPracticeStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-ReligiousPracticeStatusVS", + "display": "SHR ReligiousPracticeStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-ReligiousRestrictionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-ReligiousRestrictionVS", + "display": "SHR ReligiousRestrictionVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-SleepQualityReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-SleepQualityReasonVS", + "display": "SHR SleepQualityReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-SpecialDietFollowedVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-SpecialDietFollowedVS", + "display": "SHR SpecialDietFollowedVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-SubstanceAbuseTreatmentTypeVS", + "display": "SHR SubstanceAbuseTreatmentTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-behavior-SubstanceOfAbuseVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-behavior-SubstanceOfAbuseVS", + "display": "SHR SubstanceOfAbuseVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-BodyPositionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-BodyPositionVS", + "display": "SHR BodyPositionVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-BodySiteVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-BodySiteVS", + "display": "SHR BodySiteVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-ClinicalFindingAbsentVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-ClinicalFindingAbsentVS", + "display": "SHR ClinicalFindingAbsentVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-ClockDirectionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-ClockDirectionVS", + "display": "SHR ClockDirectionVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-CodingQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-CodingQualifierVS", + "display": "SHR CodingQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-DirectionalityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-DirectionalityVS", + "display": "SHR DirectionalityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-DiseaseFindingVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-DiseaseFindingVS", + "display": "SHR DiseaseFindingVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-LateralityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-LateralityVS", + "display": "SHR LateralityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-LowerBoundTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-LowerBoundTypeVS", + "display": "SHR LowerBoundTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-ManifestationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-ManifestationVS", + "display": "SHR ManifestationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-PerformanceGradingScaleVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-PerformanceGradingScaleVS", + "display": "SHR PerformanceGradingScaleVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-PortionTotalityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-PortionTotalityVS", + "display": "SHR PortionTotalityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-QualitativeDateTimeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-QualitativeDateTimeVS", + "display": "SHR QualitativeDateTimeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-QualitativeFrequencyVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-QualitativeFrequencyVS", + "display": "SHR QualitativeFrequencyVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-QualitativeLikelihoodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-QualitativeLikelihoodVS", + "display": "SHR QualitativeLikelihoodVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-QualitativeValueScaleVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-QualitativeValueScaleVS", + "display": "SHR QualitativeValueScaleVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-SemiquantitativeDurationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-SemiquantitativeDurationVS", + "display": "SHR SemiquantitativeDurationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-SemiquantitativeFrequencyVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-SemiquantitativeFrequencyVS", + "display": "SHR SemiquantitativeFrequencyVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-SettingVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-SettingVS", + "display": "SHR SettingVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-StatisticTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-StatisticTypeVS", + "display": "SHR StatisticTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-ThreePriorityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-ThreePriorityVS", + "display": "SHR ThreePriorityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-ThreeValueLogicVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-ThreeValueLogicVS", + "display": "SHR ThreeValueLogicVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-TimeUnitOfMeasureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-TimeUnitOfMeasureVS", + "display": "SHR TimeUnitOfMeasureVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-core-UpperBoundTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-core-UpperBoundTypeVS", + "display": "SHR UpperBoundTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-demographics-AddressUseVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-demographics-AddressUseVS", + "display": "SHR AddressUseVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-demographics-InsuranceProviderTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-demographics-InsuranceProviderTypeVS", + "display": "SHR InsuranceProviderTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-demographics-TelecomQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-demographics-TelecomQualifierVS", + "display": "SHR TelecomQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-demographics-TelephoneTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-demographics-TelephoneTypeVS", + "display": "SHR TelephoneTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-device-RespiratoryAssistDeviceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-device-RespiratoryAssistDeviceVS", + "display": "SHR RespiratoryAssistDeviceVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-device-RespiratoryRateSettingVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-device-RespiratoryRateSettingVS", + "display": "SHR RespiratoryRateSettingVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-EncounterTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-EncounterTypeVS", + "display": "SHR EncounterTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-EncounterUrgencyVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-EncounterUrgencyVS", + "display": "SHR EncounterUrgencyVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-EpisodeOfCareCompletionVS", + "display": "SHR EpisodeOfCareCompletionVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-ReasonEncounterDidNotHappenVS", + "display": "SHR ReasonEncounterDidNotHappenVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-ReferralSourceTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-ReferralSourceTypeVS", + "display": "SHR ReferralSourceTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-encounter-TreatmentCooperationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-encounter-TreatmentCooperationVS", + "display": "SHR TreatmentCooperationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-AnimalExposureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-AnimalExposureVS", + "display": "SHR AnimalExposureVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-CoinhabitantVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-CoinhabitantVS", + "display": "SHR CoinhabitantVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-HomeEnvironmentRiskVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-HomeEnvironmentRiskVS", + "display": "SHR HomeEnvironmentRiskVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-IncomeSourceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-IncomeSourceVS", + "display": "SHR IncomeSourceVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-NonCashBenefitVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-NonCashBenefitVS", + "display": "SHR NonCashBenefitVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-environment-ResourceStabilityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-environment-ResourceStabilityVS", + "display": "SHR ResourceStabilityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-immunization-ImmunizationNotGivenReasonVS", + "display": "SHR ImmunizationNotGivenReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-ChangeFlagVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-ChangeFlagVS", + "display": "SHR ChangeFlagVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-HIVScreeningTestCodeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-HIVScreeningTestCodeVS", + "display": "SHR HIVScreeningTestCodeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-HIVScreeningTestResultVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-HIVScreeningTestResultVS", + "display": "SHR HIVScreeningTestResultVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-HIVSupplementalTestCodeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-HIVSupplementalTestCodeVS", + "display": "SHR HIVSupplementalTestCodeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-HIVSupplementalTestResultVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-HIVSupplementalTestResultVS", + "display": "SHR HIVSupplementalTestResultVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-RequestStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-RequestStatusVS", + "display": "SHR RequestStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lab-TestInterpretationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lab-TestInterpretationVS", + "display": "SHR TestInterpretationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-CongenitalAbnormalitiesVS", + "display": "SHR CongenitalAbnormalitiesVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-EducationalAttainmentVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-EducationalAttainmentVS", + "display": "SHR EducationalAttainmentVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-EmploymentStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-EmploymentStatusVS", + "display": "SHR EmploymentStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-MilitaryServiceDischargeStatusVS", + "display": "SHR MilitaryServiceDischargeStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-MilitaryServiceEraVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-MilitaryServiceEraVS", + "display": "SHR MilitaryServiceEraVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-MilitaryStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-MilitaryStatusVS", + "display": "SHR MilitaryStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-TeratogenVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-TeratogenVS", + "display": "SHR TeratogenVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-lifehistory-USMilitaryBranchVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-lifehistory-USMilitaryBranchVS", + "display": "SHR USMilitaryBranchVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-medication-MedicationChangeReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-medication-MedicationChangeReasonVS", + "display": "SHR MedicationChangeReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-medication-MedicationChangeTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-medication-MedicationChangeTypeVS", + "display": "SHR MedicationChangeTypeVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-medication-MedicationNonAdherenceReasonVS", + "display": "SHR MedicationNonAdherenceReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-medication-ReasonMedicationNotUsedVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-medication-ReasonMedicationNotUsedVS", + "display": "SHR ReasonMedicationNotUsedVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-observation-ExposureReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-observation-ExposureReasonVS", + "display": "SHR ExposureReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-observation-NonLabObservationStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-observation-NonLabObservationStatusVS", + "display": "SHR NonLabObservationStatusVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-observation-ObservationNotMadeReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-observation-ObservationNotMadeReasonVS", + "display": "SHR ObservationNotMadeReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-problem-EvidenceQualityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-problem-EvidenceQualityVS", + "display": "SHR EvidenceQualityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-problem-GradeOrStageVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-problem-GradeOrStageVS", + "display": "SHR GradeOrStageVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-problem-ProblemCategoryVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-problem-ProblemCategoryVS", + "display": "SHR ProblemCategoryVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-CommonPregnancyComplicationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-CommonPregnancyComplicationVS", + "display": "SHR CommonPregnancyComplicationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-ContraceptiveMethodReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-ContraceptiveMethodReasonVS", + "display": "SHR ContraceptiveMethodReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-ContraceptiveMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-ContraceptiveMethodVS", + "display": "SHR ContraceptiveMethodVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-ContraceptiveNotUsedReasonVS", + "display": "SHR ContraceptiveNotUsedReasonVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-DifficultyWithIntercourseVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-DifficultyWithIntercourseVS", + "display": "SHR DifficultyWithIntercourseVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-GenderIdentityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-GenderIdentityVS", + "display": "SHR GenderIdentityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-SexualActivityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-SexualActivityVS", + "display": "SHR SexualActivityVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-sex-SexualOrientationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-sex-SexualOrientationVS", + "display": "SHR SexualOrientationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-PressureUlcerAssociationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-PressureUlcerAssociationVS", + "display": "SHR PressureUlcerAssociationVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-PressureUlcerBodySiteVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-PressureUlcerBodySiteVS", + "display": "SHR PressureUlcerBodySiteVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-SupportSurfaceBodyPositionVS", + "display": "SHR SupportSurfaceBodyPositionVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-SupportSurfaceCategoryVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-SupportSurfaceCategoryVS", + "display": "SHR SupportSurfaceCategoryVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-SupportSurfaceComponentVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-SupportSurfaceComponentVS", + "display": "SHR SupportSurfaceComponentVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-SupportSurfaceFeatureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-SupportSurfaceFeatureVS", + "display": "SHR SupportSurfaceFeatureVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-SupportSurfaceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-SupportSurfaceVS", + "display": "SHR SupportSurfaceVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-VisibleInternalStructureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-VisibleInternalStructureVS", + "display": "SHR VisibleInternalStructureVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-skin-WoundEdgeAppearanceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-skin-WoundEdgeAppearanceVS", + "display": "SHR WoundEdgeAppearanceVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BloodPressureBodySiteVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BloodPressureBodySiteVS", + "display": "SHR BloodPressureBodySiteVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BloodPressureMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BloodPressureMethodVS", + "display": "SHR BloodPressureMethodVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BloodPressureQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BloodPressureQualifierVS", + "display": "SHR BloodPressureQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BodyHeightQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BodyHeightQualifierVS", + "display": "SHR BodyHeightQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BodyTemperatureBodySiteVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BodyTemperatureBodySiteVS", + "display": "SHR BodyTemperatureBodySiteVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BodyTemperatureQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BodyTemperatureQualifierVS", + "display": "SHR BodyTemperatureQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-BodyWeightQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-BodyWeightQualifierVS", + "display": "SHR BodyWeightQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-HeartRateMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-HeartRateMethodVS", + "display": "SHR HeartRateMethodVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-HeartRateQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-HeartRateQualifierVS", + "display": "SHR HeartRateQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-OxygenSaturationBodySiteVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-OxygenSaturationBodySiteVS", + "display": "SHR OxygenSaturationBodySiteVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-RespiratoryRateMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-RespiratoryRateMethodVS", + "display": "SHR RespiratoryRateMethodVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-shr-vital-RespiratoryRateQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/shr-vital-RespiratoryRateQualifierVS", + "display": "SHR RespiratoryRateQualifierVS ValueSet" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-actor-LanguageQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-actor-LanguageQualifierVS", + "display": "SHR LanguageQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-base-GenericAnswersVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-base-GenericAnswersVS", + "display": "SHR GenericAnswersVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-base-MissingValueReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-base-MissingValueReasonVS", + "display": "SHR MissingValueReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-AlcoholUseScreeningToolVS", + "display": "SHR AlcoholUseScreeningToolVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-DietNutritionConcernVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-DietNutritionConcernVS", + "display": "SHR DietNutritionConcernVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-PhysicalActivityLimitationVS", + "display": "SHR PhysicalActivityLimitationVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-ReligiousPracticeStatusVS", + "display": "SHR ReligiousPracticeStatusVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-ReligiousRestrictionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-ReligiousRestrictionVS", + "display": "SHR ReligiousRestrictionVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-SleepQualityReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-SleepQualityReasonVS", + "display": "SHR SleepQualityReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-SpecialDietFollowedVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-SpecialDietFollowedVS", + "display": "SHR SpecialDietFollowedVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-behavior-SubstanceAbuseTreatmentTypeVS", + "display": "SHR SubstanceAbuseTreatmentTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-CodingQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-CodingQualifierVS", + "display": "SHR CodingQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-PerformanceGradingScaleVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-PerformanceGradingScaleVS", + "display": "SHR PerformanceGradingScaleVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-QualitativeDateTimeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-QualitativeDateTimeVS", + "display": "SHR QualitativeDateTimeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-QualitativeFrequencyVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-QualitativeFrequencyVS", + "display": "SHR QualitativeFrequencyVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-QualitativeLikelihoodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-QualitativeLikelihoodVS", + "display": "SHR QualitativeLikelihoodVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-QualitativeValueScaleVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-QualitativeValueScaleVS", + "display": "SHR QualitativeValueScaleVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-SemiquantitativeDurationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-SemiquantitativeDurationVS", + "display": "SHR SemiquantitativeDurationVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-SemiquantitativeFrequencyVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-SemiquantitativeFrequencyVS", + "display": "SHR SemiquantitativeFrequencyVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-SettingVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-SettingVS", + "display": "SHR SettingVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-ThreePriorityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-ThreePriorityVS", + "display": "SHR ThreePriorityVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-core-ThreeValueLogicVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-core-ThreeValueLogicVS", + "display": "SHR ThreeValueLogicVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-demographics-AddressUseVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-demographics-AddressUseVS", + "display": "SHR AddressUseVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-demographics-InsuranceProviderTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-demographics-InsuranceProviderTypeVS", + "display": "SHR InsuranceProviderTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-demographics-TelecomQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-demographics-TelecomQualifierVS", + "display": "SHR TelecomQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-demographics-TelephoneTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-demographics-TelephoneTypeVS", + "display": "SHR TelephoneTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-device-RespiratoryAssistDeviceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-device-RespiratoryAssistDeviceVS", + "display": "SHR RespiratoryAssistDeviceVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-device-RespiratoryRateSettingVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-device-RespiratoryRateSettingVS", + "display": "SHR RespiratoryRateSettingVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-encounter-EncounterTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-encounter-EncounterTypeVS", + "display": "SHR EncounterTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-encounter-EpisodeOfCareCompletionVS", + "display": "SHR EpisodeOfCareCompletionVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-encounter-ReasonEncounterDidNotHappenVS", + "display": "SHR ReasonEncounterDidNotHappenVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-encounter-ReferralSourceTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-encounter-ReferralSourceTypeVS", + "display": "SHR ReferralSourceTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-encounter-TreatmentCooperationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-encounter-TreatmentCooperationVS", + "display": "SHR TreatmentCooperationVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-AnimalExposureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-AnimalExposureVS", + "display": "SHR AnimalExposureVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-CoinhabitantVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-CoinhabitantVS", + "display": "SHR CoinhabitantVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-HomeEnvironmentRiskVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-HomeEnvironmentRiskVS", + "display": "SHR HomeEnvironmentRiskVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-IncomeSourceVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-IncomeSourceVS", + "display": "SHR IncomeSourceVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-NonCashBenefitVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-NonCashBenefitVS", + "display": "SHR NonCashBenefitVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-environment-ResourceStabilityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-environment-ResourceStabilityVS", + "display": "SHR ResourceStabilityVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lab-RequestStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lab-RequestStatusVS", + "display": "SHR RequestStatusVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-EducationalAttainmentVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-EducationalAttainmentVS", + "display": "SHR EducationalAttainmentVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-EmploymentStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-EmploymentStatusVS", + "display": "SHR EmploymentStatusVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-MilitaryServiceDischargeStatusVS", + "display": "SHR MilitaryServiceDischargeStatusVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-MilitaryServiceEraVS", + "display": "SHR MilitaryServiceEraVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-MilitaryStatusVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-MilitaryStatusVS", + "display": "SHR MilitaryStatusVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-TeratogenVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-TeratogenVS", + "display": "SHR TeratogenVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-lifehistory-USMilitaryBranchVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-lifehistory-USMilitaryBranchVS", + "display": "SHR USMilitaryBranchVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-medication-MedicationChangeReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-medication-MedicationChangeReasonVS", + "display": "SHR MedicationChangeReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-medication-MedicationChangeTypeVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-medication-MedicationChangeTypeVS", + "display": "SHR MedicationChangeTypeVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-medication-ReasonMedicationNotUsedVS", + "display": "SHR ReasonMedicationNotUsedVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-observation-ExposureReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-observation-ExposureReasonVS", + "display": "SHR ExposureReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-observation-ObservationNotMadeReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-observation-ObservationNotMadeReasonVS", + "display": "SHR ObservationNotMadeReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-problem-EvidenceQualityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-problem-EvidenceQualityVS", + "display": "SHR EvidenceQualityVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-problem-GradeOrStageVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-problem-GradeOrStageVS", + "display": "SHR GradeOrStageVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-problem-ProblemCategoryVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-problem-ProblemCategoryVS", + "display": "SHR ProblemCategoryVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-sex-ContraceptiveMethodReasonVS", + "display": "SHR ContraceptiveMethodReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-sex-ContraceptiveMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-sex-ContraceptiveMethodVS", + "display": "SHR ContraceptiveMethodVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-sex-ContraceptiveNotUsedReasonVS", + "display": "SHR ContraceptiveNotUsedReasonVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-sex-GenderIdentityVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-sex-GenderIdentityVS", + "display": "SHR GenderIdentityVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-skin-PressureUlcerAssociationVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-skin-PressureUlcerAssociationVS", + "display": "SHR PressureUlcerAssociationVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-skin-SupportSurfaceBodyPositionVS", + "display": "SHR SupportSurfaceBodyPositionVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-skin-SupportSurfaceCategoryVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-skin-SupportSurfaceCategoryVS", + "display": "SHR SupportSurfaceCategoryVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-skin-SupportSurfaceComponentVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-skin-SupportSurfaceComponentVS", + "display": "SHR SupportSurfaceComponentVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-skin-SupportSurfaceFeatureVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-skin-SupportSurfaceFeatureVS", + "display": "SHR SupportSurfaceFeatureVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-BloodPressureMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-BloodPressureMethodVS", + "display": "SHR BloodPressureMethodVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-BloodPressureQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-BloodPressureQualifierVS", + "display": "SHR BloodPressureQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-BodyHeightQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-BodyHeightQualifierVS", + "display": "SHR BodyHeightQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-BodyTemperatureQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-BodyTemperatureQualifierVS", + "display": "SHR BodyTemperatureQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-BodyWeightQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-BodyWeightQualifierVS", + "display": "SHR BodyWeightQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-HeartRateMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-HeartRateMethodVS", + "display": "SHR HeartRateMethodVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-HeartRateQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-HeartRateQualifierVS", + "display": "SHR HeartRateQualifierVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-RespiratoryRateMethodVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-RespiratoryRateMethodVS", + "display": "SHR RespiratoryRateMethodVS CodeSystem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-shr-vital-RespiratoryRateQualifierVS.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/shr-vital-RespiratoryRateQualifierVS", + "display": "SHR RespiratoryRateQualifierVS CodeSystem" + } + } + ] + } + ], + "page": { + "source": "index.html", + "title": "Standard Health Record", + "kind": "page" + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json new file mode 100755 index 0000000..784c7c2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-base64Binary-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-base64Binary-extension", + "text": { + "status": "generated", + "div": "
\n

SHR base64Binary Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-base64Binary-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR base64Binary Extension", + "title": "SHR base64Binary Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The base64Binary that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:base64binary", + "path": "Extension", + "short": "base64Binary", + "definition": "The base64Binary that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:base64binary.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:base64binary.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:base64binary.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-base64Binary-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:base64binary.valueBase64Binary", + "path": "Extension.valueBase64Binary", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:base64binary", + "path": "Extension", + "short": "base64Binary", + "definition": "The base64Binary that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:base64binary.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:base64binary.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-base64Binary-extension" + }, + { + "id": "Extension:base64binary.valueBase64Binary", + "path": "Extension.valueBase64Binary", + "min": 1, + "type": [ + { + "code": "base64Binary" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json new file mode 100755 index 0000000..3e6574a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-boolean-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-boolean-extension", + "text": { + "status": "generated", + "div": "
\n

SHR boolean Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR boolean Extension", + "title": "SHR boolean Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.817Z", + "description": "The boolean that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:boolean", + "path": "Extension", + "short": "boolean", + "definition": "The boolean that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:boolean.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:boolean.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:boolean.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:boolean.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:boolean", + "path": "Extension", + "short": "boolean", + "definition": "The boolean that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:boolean.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:boolean.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + }, + { + "id": "Extension:boolean.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json new file mode 100755 index 0000000..6158195 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-code-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-code-extension", + "text": { + "status": "generated", + "div": "
\n

SHR code Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-code-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR code Extension", + "title": "SHR code Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The code that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:code", + "path": "Extension", + "short": "code", + "definition": "The code that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:code.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:code.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:code.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-code-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:code.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:code", + "path": "Extension", + "short": "code", + "definition": "The code that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:code.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:code.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-code-extension" + }, + { + "id": "Extension:code.valueCode", + "path": "Extension.valueCode", + "min": 1, + "type": [ + { + "code": "code" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json new file mode 100755 index 0000000..9714625 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-date-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-date-extension", + "text": { + "status": "generated", + "div": "
\n

SHR date Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-date-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR date Extension", + "title": "SHR date Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The date that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:date", + "path": "Extension", + "short": "date", + "definition": "The date that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:date.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:date.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:date.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-date-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:date.valueDate", + "path": "Extension.valueDate", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:date", + "path": "Extension", + "short": "date", + "definition": "The date that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:date.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:date.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-date-extension" + }, + { + "id": "Extension:date.valueDate", + "path": "Extension.valueDate", + "min": 1, + "type": [ + { + "code": "date" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json new file mode 100755 index 0000000..3f0d894 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-dateTime-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-dateTime-extension", + "text": { + "status": "generated", + "div": "
\n

SHR dateTime Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR dateTime Extension", + "title": "SHR dateTime Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The dateTime that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:datetime", + "path": "Extension", + "short": "dateTime", + "definition": "The dateTime that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:datetime.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:datetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:datetime.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:datetime.valueDateTime", + "path": "Extension.valueDateTime", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:datetime", + "path": "Extension", + "short": "dateTime", + "definition": "The dateTime that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:datetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:datetime.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension" + }, + { + "id": "Extension:datetime.valueDateTime", + "path": "Extension.valueDateTime", + "min": 1, + "type": [ + { + "code": "dateTime" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json new file mode 100755 index 0000000..e92ec38 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-decimal-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-decimal-extension", + "text": { + "status": "generated", + "div": "
\n

SHR decimal Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-decimal-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR decimal Extension", + "title": "SHR decimal Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The decimal that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:decimal", + "path": "Extension", + "short": "decimal", + "definition": "The decimal that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:decimal.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:decimal.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:decimal.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-decimal-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:decimal.valueDecimal", + "path": "Extension.valueDecimal", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:decimal", + "path": "Extension", + "short": "decimal", + "definition": "The decimal that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:decimal.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:decimal.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-decimal-extension" + }, + { + "id": "Extension:decimal.valueDecimal", + "path": "Extension.valueDecimal", + "min": 1, + "type": [ + { + "code": "decimal" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json new file mode 100755 index 0000000..752d482 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-id-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-id-extension", + "text": { + "status": "generated", + "div": "
\n

SHR id Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-id-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR id Extension", + "title": "SHR id Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The id that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:id", + "path": "Extension", + "short": "id", + "definition": "The id that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:id.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:id.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:id.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-id-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:id.valueId", + "path": "Extension.valueId", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "id" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:id", + "path": "Extension", + "short": "id", + "definition": "The id that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:id.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:id.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-id-extension" + }, + { + "id": "Extension:id.valueId", + "path": "Extension.valueId", + "min": 1, + "type": [ + { + "code": "id" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json new file mode 100755 index 0000000..eaa2c27 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-instant-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-instant-extension", + "text": { + "status": "generated", + "div": "
\n

SHR instant Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-instant-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR instant Extension", + "title": "SHR instant Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The instant that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:instant", + "path": "Extension", + "short": "instant", + "definition": "The instant that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:instant.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:instant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:instant.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-instant-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:instant.valueInstant", + "path": "Extension.valueInstant", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:instant", + "path": "Extension", + "short": "instant", + "definition": "The instant that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:instant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:instant.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-instant-extension" + }, + { + "id": "Extension:instant.valueInstant", + "path": "Extension.valueInstant", + "min": 1, + "type": [ + { + "code": "instant" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json new file mode 100755 index 0000000..57eb03d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-integer-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-integer-extension", + "text": { + "status": "generated", + "div": "
\n

SHR integer Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-integer-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR integer Extension", + "title": "SHR integer Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The integer that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:integer", + "path": "Extension", + "short": "integer", + "definition": "The integer that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:integer.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:integer.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:integer.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-integer-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:integer.valueInteger", + "path": "Extension.valueInteger", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:integer", + "path": "Extension", + "short": "integer", + "definition": "The integer that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:integer.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:integer.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-integer-extension" + }, + { + "id": "Extension:integer.valueInteger", + "path": "Extension.valueInteger", + "min": 1, + "type": [ + { + "code": "integer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json new file mode 100755 index 0000000..88ba08e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-markdown-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-markdown-extension", + "text": { + "status": "generated", + "div": "
\n

SHR markdown Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-markdown-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR markdown Extension", + "title": "SHR markdown Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The markdown that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:markdown", + "path": "Extension", + "short": "markdown", + "definition": "The markdown that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:markdown.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:markdown.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:markdown.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-markdown-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:markdown.valueMarkdown", + "path": "Extension.valueMarkdown", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "markdown" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:markdown", + "path": "Extension", + "short": "markdown", + "definition": "The markdown that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:markdown.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:markdown.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-markdown-extension" + }, + { + "id": "Extension:markdown.valueMarkdown", + "path": "Extension.valueMarkdown", + "min": 1, + "type": [ + { + "code": "markdown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json new file mode 100755 index 0000000..27dcc73 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-oid-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-oid-extension", + "text": { + "status": "generated", + "div": "
\n

SHR oid Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-oid-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR oid Extension", + "title": "SHR oid Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The oid that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:oid", + "path": "Extension", + "short": "oid", + "definition": "The oid that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:oid.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:oid.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:oid.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-oid-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:oid.valueOid", + "path": "Extension.valueOid", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "oid" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:oid", + "path": "Extension", + "short": "oid", + "definition": "The oid that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:oid.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:oid.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-oid-extension" + }, + { + "id": "Extension:oid.valueOid", + "path": "Extension.valueOid", + "min": 1, + "type": [ + { + "code": "oid" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json new file mode 100755 index 0000000..6f562f3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-positiveInt-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-positiveInt-extension", + "text": { + "status": "generated", + "div": "
\n

SHR positiveInt Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR positiveInt Extension", + "title": "SHR positiveInt Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The positiveInt that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:positiveint", + "path": "Extension", + "short": "positiveInt", + "definition": "The positiveInt that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:positiveint.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:positiveint.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:positiveint.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:positiveint.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:positiveint", + "path": "Extension", + "short": "positiveInt", + "definition": "The positiveInt that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:positiveint.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:positiveint.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension" + }, + { + "id": "Extension:positiveint.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "min": 1, + "type": [ + { + "code": "positiveInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json new file mode 100755 index 0000000..9e4b42a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-string-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-string-extension", + "text": { + "status": "generated", + "div": "
\n

SHR string Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR string Extension", + "title": "SHR string Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The string that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:string", + "path": "Extension", + "short": "string", + "definition": "The string that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:string.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:string.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:string.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:string.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:string", + "path": "Extension", + "short": "string", + "definition": "The string that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:string.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:string.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension" + }, + { + "id": "Extension:string.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json new file mode 100755 index 0000000..f1abd4a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-time-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-time-extension", + "text": { + "status": "generated", + "div": "
\n

SHR time Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-time-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR time Extension", + "title": "SHR time Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The time that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:time", + "path": "Extension", + "short": "time", + "definition": "The time that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:time.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:time.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:time.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-time-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:time.valueTime", + "path": "Extension.valueTime", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "time" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:time", + "path": "Extension", + "short": "time", + "definition": "The time that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:time.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:time.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-time-extension" + }, + { + "id": "Extension:time.valueTime", + "path": "Extension.valueTime", + "min": 1, + "type": [ + { + "code": "time" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json new file mode 100755 index 0000000..7d6b9ec --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-unsignedInt-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-unsignedInt-extension", + "text": { + "status": "generated", + "div": "
\n

SHR unsignedInt Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR unsignedInt Extension", + "title": "SHR unsignedInt Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The unsignedInt that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:unsignedint", + "path": "Extension", + "short": "unsignedInt", + "definition": "The unsignedInt that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:unsignedint.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:unsignedint.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:unsignedint.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:unsignedint.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:unsignedint", + "path": "Extension", + "short": "unsignedInt", + "definition": "The unsignedInt that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:unsignedint.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:unsignedint.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension" + }, + { + "id": "Extension:unsignedint.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "min": 1, + "type": [ + { + "code": "unsignedInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json new file mode 100755 index 0000000..534e0d9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-uri-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-uri-extension", + "text": { + "status": "generated", + "div": "
\n

SHR uri Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-uri-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR uri Extension", + "title": "SHR uri Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.819Z", + "description": "The uri that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:uri", + "path": "Extension", + "short": "uri", + "definition": "The uri that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:uri.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:uri.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:uri.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-uri-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:uri.valueUri", + "path": "Extension.valueUri", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:uri", + "path": "Extension", + "short": "uri", + "definition": "The uri that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:uri.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:uri.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-uri-extension" + }, + { + "id": "Extension:uri.valueUri", + "path": "Extension.valueUri", + "min": 1, + "type": [ + { + "code": "uri" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json b/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json new file mode 100755 index 0000000..1e04b57 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-primitive-xhtml-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "primitive-xhtml-extension", + "text": { + "status": "generated", + "div": "
\n

SHR xhtml Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-xhtml-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "" + } + ], + "name": "SHR xhtml Extension", + "title": "SHR xhtml Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.820Z", + "description": "The xhtml that represents the value of the SHR element to which it is applied.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:xhtml", + "path": "Extension", + "short": "xhtml", + "definition": "The xhtml that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:xhtml.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:xhtml.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:xhtml.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-xhtml-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:xhtml.valueXhtml", + "path": "Extension.valueXhtml", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "xhtml" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:xhtml", + "path": "Extension", + "short": "xhtml", + "definition": "The xhtml that represents the value of the SHR element to which it is applied.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:xhtml.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:xhtml.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-xhtml-extension" + }, + { + "id": "Extension:xhtml.valueXhtml", + "path": "Extension.valueXhtml", + "min": 1, + "type": [ + { + "code": "xhtml" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json new file mode 100755 index 0000000..44032c3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-AgeAtDeath-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-AgeAtDeath-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AgeAtDeath Extension

\n

The age, age range, or age group when the cessation of life happens.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.AgeAtDeath" + } + ], + "name": "SHR AgeAtDeath Extension", + "title": "SHR AgeAtDeath Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "The age, age range, or age group when the cessation of life happens.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:ageatdeath", + "path": "Extension", + "short": "SHR AgeAtDeath Extension", + "definition": "The age, age range, or age group when the cessation of life happens.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:ageatdeath.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ageatdeath.extension", + "path": "Extension.extension", + "slicing": { + "id": "5", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:ageatdeath.extension:generalizedage", + "path": "Extension.extension", + "sliceName": "generalizedage", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ageatdeath.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ageatdeath.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:ageatdeath", + "path": "Extension", + "short": "SHR AgeAtDeath Extension", + "definition": "The age, age range, or age group when the cessation of life happens.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:ageatdeath.extension:generalizedage", + "path": "Extension.extension", + "sliceName": "generalizedage", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension" + } + ] + }, + { + "id": "Extension:ageatdeath.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension" + }, + { + "id": "Extension:ageatdeath.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json new file mode 100755 index 0000000..b944c96 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Anonymized-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Anonymized-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Anonymized Extension

\n

Flag indicating if personally identifiable information has been withheld.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Anonymized" + } + ], + "name": "SHR Anonymized Extension", + "title": "SHR Anonymized Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.829Z", + "description": "Flag indicating if personally identifiable information has been withheld.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:anonymized", + "path": "Extension", + "short": "SHR Anonymized Extension", + "definition": "Flag indicating if personally identifiable information has been withheld.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:anonymized.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:anonymized.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:anonymized.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:anonymized.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:anonymized", + "path": "Extension", + "short": "SHR Anonymized Extension", + "definition": "Flag indicating if personally identifiable information has been withheld.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:anonymized.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:anonymized.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + }, + { + "id": "Extension:anonymized.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json new file mode 100755 index 0000000..9f85c5a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-DateOfDeath-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-DateOfDeath-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DateOfDeath Extension

\n

The calendar date of subject's death.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.DateOfDeath" + } + ], + "name": "SHR DateOfDeath Extension", + "title": "SHR DateOfDeath Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.831Z", + "description": "The calendar date of subject's death.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:dateofdeath", + "path": "Extension", + "short": "SHR DateOfDeath Extension", + "definition": "The calendar date of subject's death.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:dateofdeath.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dateofdeath.extension", + "path": "Extension.extension", + "slicing": { + "id": "3", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:dateofdeath.extension:generalizeddatetime", + "path": "Extension.extension", + "sliceName": "generalizeddatetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dateofdeath.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dateofdeath.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:dateofdeath", + "path": "Extension", + "short": "SHR DateOfDeath Extension", + "definition": "The calendar date of subject's death.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:dateofdeath.extension:generalizeddatetime", + "path": "Extension.extension", + "sliceName": "generalizeddatetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension" + } + ] + }, + { + "id": "Extension:dateofdeath.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension" + }, + { + "id": "Extension:dateofdeath.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json new file mode 100755 index 0000000..5c697de --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Deceased-extension.json @@ -0,0 +1,444 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Deceased-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Deceased Extension

\n

An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Deceased" + } + ], + "name": "SHR Deceased Extension", + "title": "SHR Deceased Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.831Z", + "description": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:deceased", + "path": "Extension", + "short": "SHR Deceased Extension", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:deceased.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deceased.extension", + "path": "Extension.extension", + "slicing": { + "id": "2", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:deceased.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deceased.extension:dateofdeath", + "path": "Extension.extension", + "sliceName": "dateofdeath", + "definition": "The calendar date of subject's death.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deceased.extension:ageatdeath", + "path": "Extension.extension", + "sliceName": "ageatdeath", + "definition": "The age, age range, or age group when the cessation of life happens.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deceased.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deceased.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:deceased", + "path": "Extension", + "short": "SHR Deceased Extension", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:deceased.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:deceased.extension:dateofdeath", + "path": "Extension.extension", + "sliceName": "dateofdeath", + "definition": "The calendar date of subject's death.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension" + } + ] + }, + { + "id": "Extension:deceased.extension:ageatdeath", + "path": "Extension.extension", + "sliceName": "ageatdeath", + "definition": "The age, age range, or age group when the cessation of life happens.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension" + } + ] + }, + { + "id": "Extension:deceased.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension" + }, + { + "id": "Extension:deceased.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json new file mode 100755 index 0000000..5a15bc3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-EmergencyContact.json @@ -0,0 +1,872 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-EmergencyContact", + "text": { + "status": "generated", + "div": "
\n

SHR EmergencyContact Profile

\n

A personal contact specifically designated to be used for emergencies.

\n

SHR Mapping Summary

\n

shr.actor.EmergencyContact maps to CareTeam:\n  participant is 1..1\n  Provider maps to participant.member\n  HealthcareRole maps to participant.role\n  GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to participant.period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.EmergencyContact" + } + ], + "name": "SHR EmergencyContact Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.846Z", + "description": "A personal contact specifically designated to be used for emergencies.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-actor-EmergencyContact", + "path": "CareTeam", + "short": "SHR EmergencyContact Profile", + "definition": "A personal contact specifically designated to be used for emergencies.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.extension", + "path": "CareTeam.extension", + "slicing": { + "id": "13", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.modifierExtension", + "path": "CareTeam.modifierExtension", + "slicing": { + "id": "14", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "This records identifiers associated with this care team 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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.status", + "path": "CareTeam.status", + "short": "active | suspended | inactive | entered in error", + "definition": "Indicates whether the care team is currently active, suspended, inactive, or entered in error.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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 it's primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly . ).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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", + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant.modifierExtension", + "path": "CareTeam.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1552023" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam:shr-actor-EmergencyContact", + "path": "CareTeam", + "short": "SHR EmergencyContact Profile", + "definition": "A personal contact specifically designated to be used for emergencies." + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "1" + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1552023" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + } + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ] + }, + { + "id": "CareTeam:shr-actor-EmergencyContact.participant.period", + "path": "CareTeam.participant.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json new file mode 100755 index 0000000..a4ed0d4 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-FictionalPerson-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-FictionalPerson-extension", + "text": { + "status": "generated", + "div": "
\n

SHR FictionalPerson Extension

\n

Flag indicating if this record represents a fictional (synthetic, not real) person.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.FictionalPerson" + } + ], + "name": "SHR FictionalPerson Extension", + "title": "SHR FictionalPerson Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.829Z", + "description": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:fictionalperson", + "path": "Extension", + "short": "SHR FictionalPerson Extension", + "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:fictionalperson.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:fictionalperson.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:fictionalperson.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:fictionalperson.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:fictionalperson", + "path": "Extension", + "short": "SHR FictionalPerson Extension", + "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:fictionalperson.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:fictionalperson.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + }, + { + "id": "Extension:fictionalperson.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json new file mode 100755 index 0000000..3d4d53c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageQualifier-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-LanguageQualifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR LanguageQualifier Extension

\n

Additional information about a person's use of language.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.LanguageQualifier" + } + ], + "name": "SHR LanguageQualifier Extension", + "title": "SHR LanguageQualifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.831Z", + "description": "Additional information about a person's use of language.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:languagequalifier", + "path": "Extension", + "short": "SHR LanguageQualifier Extension", + "definition": "Additional information about a person's use of language.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:languagequalifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languagequalifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:languagequalifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languagequalifier.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-LanguageQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:languagequalifier", + "path": "Extension", + "short": "SHR LanguageQualifier Extension", + "definition": "Additional information about a person's use of language.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:languagequalifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:languagequalifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension" + }, + { + "id": "Extension:languagequalifier.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-LanguageQualifierVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json new file mode 100755 index 0000000..b3d8abb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-LanguageUsed-extension.json @@ -0,0 +1,484 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-LanguageUsed-extension", + "text": { + "status": "generated", + "div": "
\n

SHR LanguageUsed Extension

\n

Language used for communication by a human, either the subject of record, parent, or other involved person.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.LanguageUsed" + } + ], + "name": "SHR LanguageUsed Extension", + "title": "SHR LanguageUsed Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.830Z", + "description": "Language used for communication by a human, either the subject of record, parent, or other involved person.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:languageused", + "path": "Extension", + "short": "SHR LanguageUsed Extension", + "definition": "Language used for communication by a human, either the subject of record, parent, or other involved person.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:languageused.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.extension", + "path": "Extension.extension", + "slicing": { + "id": "1", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:languageused.extension:language", + "path": "Extension.extension", + "sliceName": "language", + "definition": "A human language, spoken or written.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.extension:spokenlanguageproficiency", + "path": "Extension.extension", + "sliceName": "spokenlanguageproficiency", + "definition": "Accuracy and fluency in spoken communication in a language.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.extension:writtenlanguageproficiency", + "path": "Extension.extension", + "sliceName": "writtenlanguageproficiency", + "definition": "Accuracy and fluency of reading and writing in a language.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.extension:languagequalifier", + "path": "Extension.extension", + "sliceName": "languagequalifier", + "definition": "Additional information about a person's use of language.", + "min": 0, + "max": "*", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:languageused.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:languageused", + "path": "Extension", + "short": "SHR LanguageUsed Extension", + "definition": "Language used for communication by a human, either the subject of record, parent, or other involved person.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:languageused.extension:language", + "path": "Extension.extension", + "sliceName": "language", + "definition": "A human language, spoken or written.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension" + } + ] + }, + { + "id": "Extension:languageused.extension:spokenlanguageproficiency", + "path": "Extension.extension", + "sliceName": "spokenlanguageproficiency", + "definition": "Accuracy and fluency in spoken communication in a language.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension" + } + ] + }, + { + "id": "Extension:languageused.extension:writtenlanguageproficiency", + "path": "Extension.extension", + "sliceName": "writtenlanguageproficiency", + "definition": "Accuracy and fluency of reading and writing in a language.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension" + } + ] + }, + { + "id": "Extension:languageused.extension:languagequalifier", + "path": "Extension.extension", + "sliceName": "languagequalifier", + "definition": "Additional information about a person's use of language.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension" + } + ] + }, + { + "id": "Extension:languageused.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension" + }, + { + "id": "Extension:languageused.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json new file mode 100755 index 0000000..346e562 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-NoPrimaryCareProvider.json @@ -0,0 +1,1242 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-NoPrimaryCareProvider", + "text": { + "status": "generated", + "div": "
\n

SHR NoPrimaryCareProvider Profile

\n

The medical professional responsible for first-line care of an individual.

\n

SHR Mapping Summary

\n

shr.actor.NoPrimaryCareProvider maps to CareTeam:\n  participant is 1..1\n  Provider maps to participant.member\n  HealthcareRole maps to participant.role\n  GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to participant.period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.NoPrimaryCareProvider" + } + ], + "name": "SHR NoPrimaryCareProvider Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.852Z", + "description": "The medical professional responsible for first-line care of an individual.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-actor-NoPrimaryCareProvider", + "path": "CareTeam", + "short": "SHR NoPrimaryCareProvider Profile", + "definition": "The medical professional responsible for first-line care of an individual.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.extension", + "path": "CareTeam.extension", + "slicing": { + "id": "16", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension", + "path": "CareTeam.modifierExtension", + "slicing": { + "id": "17", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.id", + "path": "CareTeam.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension", + "path": "CareTeam.modifierExtension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:boolean", + "path": "CareTeam.modifierExtension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:boolean.id", + "path": "CareTeam.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:boolean.extension:extension", + "path": "CareTeam.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:boolean.url", + "path": "CareTeam.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:boolean.valueBoolean", + "path": "CareTeam.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.extension:reason", + "path": "CareTeam.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.url", + "path": "CareTeam.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier.value[x]", + "path": "CareTeam.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "This records identifiers associated with this care team 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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.status", + "path": "CareTeam.status", + "short": "active | suspended | inactive | entered in error", + "definition": "Indicates whether the care team is currently active, suspended, inactive, or entered in error.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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 it's primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly . ).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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", + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant.modifierExtension", + "path": "CareTeam.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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.", + "comments": "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": 0, + "max": "0", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider", + "path": "CareTeam", + "short": "SHR NoPrimaryCareProvider Profile", + "definition": "The medical professional responsible for first-line care of an individual." + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "1" + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + } + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant.member", + "path": "CareTeam.participant.member", + "min": 0, + "max": "0", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ] + }, + { + "id": "CareTeam:shr-actor-NoPrimaryCareProvider.participant.period", + "path": "CareTeam.participant.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json new file mode 100755 index 0000000..e099d04 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Organization.json @@ -0,0 +1,930 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Organization", + "text": { + "status": "generated", + "div": "
\n

SHR Organization Profile

\n

A social or legal structure formed by human beings.

\n

SHR Mapping Summary

\n

shr.actor.Organization maps to Organization:\n  OrganizationName maps to name\n  OrganizationAlias maps to alias  // I wish FHIR allowed multiple names, but it doesn't\n  OrganizationType maps to type\n  OrganizationIdentifyingCode maps to identifier\n  AddressUsed maps to address\n  Telecom maps to telecom\n  ActiveFlag maps to active\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Organization" + } + ], + "name": "SHR Organization Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.840Z", + "description": "A social or legal structure formed by human beings.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Organization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Organization:shr-actor-Organization", + "path": "Organization", + "short": "SHR Organization Profile", + "definition": "A social or legal structure formed by human beings.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "org-1", + "severity": "error", + "human": "The organization SHALL at least have a name or an id, and possibly more than one", + "expression": "(identifier.count() + name.count()) > 0", + "xpath": "count(f:identifier | f:name) > 0" + } + ], + "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" + }, + { + "identity": "w5", + "map": "administrative.group" + } + ] + }, + { + "id": "Organization:shr-actor-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Organization:shr-actor-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Organization:shr-actor-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Organization:shr-actor-Organization.language", + "path": "Organization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Organization:shr-actor-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Organization:shr-actor-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:shr-actor-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:shr-actor-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.identifier", + "path": "Organization.identifier", + "short": "Identifies this organization across multiple systems", + "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": "*", + "type": [ + { + "code": "Identifier", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier" + } + ], + "condition": [ + "org-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Organization:shr-actor-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.", + "comments": "Default is true.\n\nThis active flag is not intended to be used to mark an organizations 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.", + "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": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": true, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "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." + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.type", + "path": "Organization.type", + "short": "Kind of organization", + "definition": "The kind of organization that this is.", + "comments": "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.", + "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Used to categorize the organization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/organization-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No equivalent in v2" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "n/a" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.name", + "path": "Organization.name", + "short": "Name used for the organization", + "definition": "A name associated with the organization.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "condition": [ + "org-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XON.1" + }, + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": ".PreferredName/Name" + } + ] + }, + { + "id": "Organization:shr-actor-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.", + "comments": "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 location was known by can be very useful.", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.telecom", + "path": "Organization.telecom", + "short": "A contact detail for the organization", + "definition": "A contact detail for the organization.", + "comments": "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": "*", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ], + "condition": [ + "org-3" + ], + "constraint": [ + { + "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-22?" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.address", + "path": "Organization.address", + "short": "An address for the organization", + "definition": "An address for the organization.", + "comments": "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": "*", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ], + "condition": [ + "org-2" + ], + "constraint": [ + { + "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-23?" + }, + { + "identity": "rim", + "map": ".address" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization:shr-actor-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "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:shr-actor-Organization.contact", + "path": "Organization.contact", + "short": "Contact for the organization for a certain purpose", + "definition": "Contact for the organization for a certain purpose.", + "comments": "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".contactParty" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.contact.id", + "path": "Organization.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:shr-actor-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.contact.modifierExtension", + "path": "Organization.contact.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:shr-actor-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "The purpose for which you would contact a contact party", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contactentity-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "./type" + } + ] + }, + { + "id": "Organization:shr-actor-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", + "type": [ + { + "code": "HumanName" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "./name" + } + ] + }, + { + "id": "Organization:shr-actor-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": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14" + }, + { + "identity": "rim", + "map": "./telecom" + } + ] + }, + { + "id": "Organization:shr-actor-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", + "type": [ + { + "code": "Address" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "./addr" + } + ] + }, + { + "id": "Organization:shr-actor-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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Organization:shr-actor-Organization", + "path": "Organization", + "short": "SHR Organization Profile", + "definition": "A social or legal structure formed by human beings." + }, + { + "id": "Organization:shr-actor-Organization.identifier", + "path": "Organization.identifier", + "type": [ + { + "code": "Identifier", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.type", + "path": "Organization.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.name", + "path": "Organization.name", + "min": 1, + "max": "1" + }, + { + "id": "Organization:shr-actor-Organization.telecom", + "path": "Organization.telecom", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ] + }, + { + "id": "Organization:shr-actor-Organization.address", + "path": "Organization.address", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json new file mode 100755 index 0000000..a8e8a7e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Participant-extension.json @@ -0,0 +1,618 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Participant-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Participant Extension

\n

A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Participant" + } + ], + "name": "SHR Participant Extension", + "title": "SHR Participant Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.280Z", + "description": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:participant", + "path": "Extension", + "short": "SHR Participant Extension", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-actor-Participant-extension SHALL have either extension('personofrecord') or extension('practitioner') or extension('relatedperson')", + "expression": "( extension('personofrecord').url | extension('practitioner').url | extension('relatedperson').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:participant.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension", + "path": "Extension.extension", + "slicing": { + "id": "183", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:participant.extension:personofrecord", + "path": "Extension.extension", + "sliceName": "personofrecord", + "definition": "Extended demographic information about the subject of this SHR.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:practitioner", + "path": "Extension.extension", + "sliceName": "practitioner", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:relatedperson", + "path": "Extension.extension", + "sliceName": "relatedperson", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:participationtype", + "path": "Extension.extension", + "sliceName": "participationtype", + "definition": "The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:nonoccurrencemodifier", + "path": "Extension.extension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.extension:occurrencetime", + "path": "Extension.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participant.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:participant", + "path": "Extension", + "short": "SHR Participant Extension", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-actor-Participant-extension SHALL have either extension('personofrecord') or extension('practitioner') or extension('relatedperson')", + "expression": "( extension('personofrecord').url | extension('practitioner').url | extension('relatedperson').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:participant.extension:personofrecord", + "path": "Extension.extension", + "sliceName": "personofrecord", + "definition": "Extended demographic information about the subject of this SHR.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension" + } + ] + }, + { + "id": "Extension:participant.extension:practitioner", + "path": "Extension.extension", + "sliceName": "practitioner", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension" + } + ] + }, + { + "id": "Extension:participant.extension:relatedperson", + "path": "Extension.extension", + "sliceName": "relatedperson", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension" + } + ] + }, + { + "id": "Extension:participant.extension:participationtype", + "path": "Extension.extension", + "sliceName": "participationtype", + "definition": "The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension" + } + ] + }, + { + "id": "Extension:participant.extension:nonoccurrencemodifier", + "path": "Extension.extension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ] + }, + { + "id": "Extension:participant.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ] + }, + { + "id": "Extension:participant.extension:occurrencetime", + "path": "Extension.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ] + }, + { + "id": "Extension:participant.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + }, + { + "id": "Extension:participant.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json new file mode 100755 index 0000000..945a534 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-ParticipationType-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-ParticipationType-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ParticipationType Extension

\n

The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.ParticipationType" + } + ], + "name": "SHR ParticipationType Extension", + "title": "SHR ParticipationType Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.281Z", + "description": "The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:participationtype", + "path": "Extension", + "short": "SHR ParticipationType Extension", + "definition": "The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:participationtype.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participationtype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:participationtype.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:participationtype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:participationtype", + "path": "Extension", + "short": "SHR ParticipationType Extension", + "definition": "The detail of how the performer engaged in the task, for example, as the attending physician, surgical assistant, etc.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:participationtype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:participationtype.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension" + }, + { + "id": "Extension:participationtype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json new file mode 100755 index 0000000..7599ace --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Practitioner-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Practitioner Extension

\n

A person who practices a healing art.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Practitioner" + } + ], + "name": "SHR Practitioner Extension", + "title": "SHR Practitioner Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.281Z", + "description": "A person who practices a healing art.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:practitioner", + "path": "Extension", + "short": "SHR Practitioner Extension", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:practitioner.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:practitioner.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:practitioner.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:practitioner.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:practitioner", + "path": "Extension", + "short": "SHR Practitioner Extension", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:practitioner.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:practitioner.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension" + }, + { + "id": "Extension:practitioner.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json new file mode 100755 index 0000000..8f46520 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-Practitioner.json @@ -0,0 +1,1451 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-Practitioner", + "text": { + "status": "generated", + "div": "
\n

SHR Practitioner Profile

\n

A person who practices a healing art.

\n

SHR Mapping Summary

\n

shr.actor.Practitioner maps to Practitioner:\n  HumanName maps to name\n  DateOfBirth maps to birthDate\n  AdministrativeGender maps to gender\n  AddressUsed maps to address\n  Telecom maps to telecom\n  LanguageUsed maps to communication\n  Affiliation maps to role.organization  // not exactly\n  NationalProviderIdentifier maps to identifier\n  MedicalSpecialty maps to role.specialty\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.Practitioner" + } + ], + "name": "SHR Practitioner Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.837Z", + "description": "A person who practices a healing art.", + "purpose": "Need to track doctors, staff, locums etc. for both healthcare practitioners, funders, etc.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Practitioner:shr-actor-Practitioner", + "path": "Practitioner", + "short": "SHR Practitioner Profile", + "definition": "A person who practices a healing art.", + "comments": "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "PRD (as one example)" + }, + { + "identity": "rim", + "map": "Role" + }, + { + "identity": "servd", + "map": "Provider" + }, + { + "identity": "w5", + "map": "administrative.individual" + } + ] + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Practitioner:shr-actor-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Practitioner:shr-actor-Practitioner.language", + "path": "Practitioner.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Practitioner:shr-actor-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension", + "path": "Practitioner.extension", + "slicing": { + "id": "9", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:anonymized", + "path": "Practitioner.extension", + "sliceName": "anonymized", + "definition": "Flag indicating if personally identifiable information has been withheld.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:fictionalperson", + "path": "Practitioner.extension", + "sliceName": "fictionalperson", + "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:deceased", + "path": "Practitioner.extension", + "sliceName": "deceased", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.identifier", + "path": "Practitioner.identifier", + "short": "A 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", + "type": [ + { + "code": "Identifier", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "Default is true. \r\rIf 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", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.name", + "path": "Practitioner.name", + "short": "The name(s) associated with the practitioner", + "definition": "The name(s) associated with the practitioner.", + "comments": "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": "1", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XCN Components" + }, + { + "identity": "rim", + "map": "./name" + }, + { + "identity": "servd", + "map": "./PreferredName (GivenNames, FamilyName, TitleCode)" + } + ] + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "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 also to help with identification\r\rThese 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": "*", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-15, STF-10, ROL-12" + }, + { + "identity": "rim", + "map": "./telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Practitioner:shr-actor-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.", + "comments": "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": "*", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-24, STF-11, ROL-11, PRT-14" + }, + { + "identity": "rim", + "map": "./addr" + }, + { + "identity": "servd", + "map": "./Addresses" + } + ] + }, + { + "id": "Practitioner:shr-actor-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", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "STF-5" + }, + { + "identity": "rim", + "map": "./administrativeGender" + }, + { + "identity": "servd", + "map": "./GenderCode" + } + ] + }, + { + "id": "Practitioner:shr-actor-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", + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "STF-6" + }, + { + "identity": "rim", + "map": "./birthTime" + }, + { + "identity": "servd", + "map": "(not represented in ServD)" + } + ] + }, + { + "id": "Practitioner:shr-actor-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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value" + }, + { + "identity": "servd", + "map": "./ImageURI (only supports the URI reference)" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role", + "path": "Practitioner.role", + "short": "Roles/organizations the practitioner is associated with", + "definition": "The list of roles/organizations that the practitioner is associated with.", + "comments": "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.id", + "path": "Practitioner.role.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.extension", + "path": "Practitioner.role.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.modifierExtension", + "path": "Practitioner.role.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.organization", + "path": "Practitioner.role.organization", + "short": "Organization where the roles are performed", + "definition": "The organization where the Practitioner performs the roles associated.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.scopingOrganization" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.code", + "path": "Practitioner.role.code", + "short": "Roles which this practitioner may perform", + "definition": "Roles which this practitioner is authorized to perform for the organization.", + "comments": "A person may have more than one role. At least one role is required.", + "requirements": "Need to know what authority the practitioner has - what can they do?", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The role a person plays representing an organization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/practitioner-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": ".playingEntity.playingRole.code" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.specialty", + "path": "Practitioner.role.specialty", + "short": "Specific specialty of the practitioner", + "definition": "Specific specialty of the practitioner.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PRA-5" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Specialty" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.identifier", + "path": "Practitioner.role.identifier", + "short": "Business Identifiers that are specific to a role/location", + "definition": "Business Identifiers that are specific to a role/location.", + "requirements": "Some business identifiers are specific to a location and should be able to be associated.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.id" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.telecom", + "path": "Practitioner.role.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": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.telecom" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.period", + "path": "Practitioner.role.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", + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRD-8/9 / PRA-5.4" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole.effectiveTime" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.location", + "path": "Practitioner.role.location", + "short": "The location(s) at which this practitioner provides care", + "definition": "The location(s) at which this practitioner provides care.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.location.source[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)" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.healthcareService", + "path": "Practitioner.role.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.endpoint", + "path": "Practitioner.role.endpoint", + "short": "Technical endpoints providing access to services operated for the PractitonerRole", + "definition": "Technical endpoints providing access to services operated for the PractitonerRole.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.qualification", + "path": "Practitioner.qualification", + "short": "Qualifications obtained by training and certification", + "definition": "Qualifications obtained by training and certification.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "CER?" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.qualification.id", + "path": "Practitioner.qualification.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.qualification.modifierExtension", + "path": "Practitioner.qualification.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:shr-actor-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": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].id" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.qualification.code", + "path": "Practitioner.qualification.code", + "short": "Coded representation of the qualification", + "definition": "Coded representation of the qualification.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Specific qualification the practitioner has to provide a service", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/anzsco-occupations" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications.Value" + } + ] + }, + { + "id": "Practitioner:shr-actor-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", + "type": [ + { + "code": "Period" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].effectiveTime" + }, + { + "identity": "servd", + "map": "./Qualifications.StartDate and ./Qualifications.EndDate" + } + ] + }, + { + "id": "Practitioner:shr-actor-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].scoper" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.communication", + "path": "Practitioner.communication", + "short": "A language the practitioner is able to use in patient communication", + "definition": "A language the practitioner is able to use in patient communication.", + "comments": "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": "Knowing which language a practitioner speaks can help in facilitating communication with patients.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "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:shr-actor-Practitioner", + "path": "Practitioner", + "short": "SHR Practitioner Profile", + "definition": "A person who practices a healing art." + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:anonymized", + "path": "Practitioner.extension", + "sliceName": "anonymized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:fictionalperson", + "path": "Practitioner.extension", + "sliceName": "fictionalperson", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:shr-actor-Practitioner.extension:deceased", + "path": "Practitioner.extension", + "sliceName": "deceased", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:shr-actor-Practitioner.identifier", + "path": "Practitioner.identifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.name", + "path": "Practitioner.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.telecom", + "path": "Practitioner.telecom", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.address", + "path": "Practitioner.address", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role", + "path": "Practitioner.role" + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.organization", + "path": "Practitioner.role.organization", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + }, + { + "id": "Practitioner:shr-actor-Practitioner.role.specialty", + "path": "Practitioner.role.specialty", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/c80-practice-codes" + } + } + }, + { + "id": "Practitioner:shr-actor-Practitioner.communication", + "path": "Practitioner.communication", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json new file mode 100755 index 0000000..02fdf23 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-PrimaryCareProvider.json @@ -0,0 +1,816 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-PrimaryCareProvider", + "text": { + "status": "generated", + "div": "
\n

SHR PrimaryCareProvider Profile

\n

The medical professional responsible for first-line care of an individual.

\n

SHR Mapping Summary

\n

shr.actor.PrimaryCareProvider maps to CareTeam:\n  participant is 1..1\n  Provider maps to participant.member\n  HealthcareRole maps to participant.role\n  GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to participant.period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.PrimaryCareProvider" + } + ], + "name": "SHR PrimaryCareProvider Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.850Z", + "description": "The medical professional responsible for first-line care of an individual.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-actor-PrimaryCareProvider", + "path": "CareTeam", + "short": "SHR PrimaryCareProvider Profile", + "definition": "The medical professional responsible for first-line care of an individual.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.extension", + "path": "CareTeam.extension", + "slicing": { + "id": "15", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "This records identifiers associated with this care team 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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.status", + "path": "CareTeam.status", + "short": "active | suspended | inactive | entered in error", + "definition": "Indicates whether the care team is currently active, suspended, inactive, or entered in error.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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 it's primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly . ).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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", + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant.modifierExtension", + "path": "CareTeam.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam:shr-actor-PrimaryCareProvider", + "path": "CareTeam", + "short": "SHR PrimaryCareProvider Profile", + "definition": "The medical professional responsible for first-line care of an individual." + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "1" + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2735026" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + } + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ] + }, + { + "id": "CareTeam:shr-actor-PrimaryCareProvider.participant.period", + "path": "CareTeam.participant.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json new file mode 100755 index 0000000..820cf60 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-ProviderRelationship.json @@ -0,0 +1,854 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-ProviderRelationship", + "text": { + "status": "generated", + "div": "
\n

SHR ProviderRelationship Profile

\n

A person or organization responsible for providing a service to the person of record. Such a relationship can exist without a specific encounter or services being rendered; for example, an emergency contact relationship can exist without ever calling upon that person. The entry can also be used to state that a provider relationship does not exist, e.g., patient does not have a primary care provider.

\n

SHR Mapping Summary

\n

shr.actor.ProviderRelationship maps to CareTeam:\n  participant is 1..1\n  Provider maps to participant.member\n  HealthcareRole maps to participant.role\n  GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to participant.period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ProviderRelationship", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.ProviderRelationship" + } + ], + "name": "SHR ProviderRelationship Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.843Z", + "description": "A person or organization responsible for providing a service to the person of record. Such a relationship can exist without a specific encounter or services being rendered; for example, an emergency contact relationship can exist without ever calling upon that person. The entry can also be used to state that a provider relationship does not exist, e.g., patient does not have a primary care provider.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-actor-ProviderRelationship", + "path": "CareTeam", + "short": "SHR ProviderRelationship Profile", + "definition": "A person or organization responsible for providing a service to the person of record. Such a relationship can exist without a specific encounter or services being rendered; for example, an emergency contact relationship can exist without ever calling upon that person. The entry can also be used to state that a provider relationship does not exist, e.g., patient does not have a primary care provider.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.extension", + "path": "CareTeam.extension", + "slicing": { + "id": "11", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.modifierExtension", + "path": "CareTeam.modifierExtension", + "slicing": { + "id": "12", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "This records identifiers associated with this care team 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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.status", + "path": "CareTeam.status", + "short": "active | suspended | inactive | entered in error", + "definition": "Indicates whether the care team is currently active, suspended, inactive, or entered in error.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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 it's primary purpose is to distinguish between identical teams in a human-friendly way. (\"Team 18735\" isn't as friendly . ).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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", + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant.modifierExtension", + "path": "CareTeam.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "REL.2 (or PRT-4?)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam:shr-actor-ProviderRelationship", + "path": "CareTeam", + "short": "SHR ProviderRelationship Profile", + "definition": "A person or organization responsible for providing a service to the person of record. Such a relationship can exist without a specific encounter or services being rendered; for example, an emergency contact relationship can exist without ever calling upon that person. The entry can also be used to state that a provider relationship does not exist, e.g., patient does not have a primary care provider." + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.extension:priority", + "path": "CareTeam.extension", + "sliceName": "priority", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.modifierExtension:nonoccurrencemodifier", + "path": "CareTeam.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "1" + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS" + } + } + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant.member", + "path": "CareTeam.participant.member", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ] + }, + { + "id": "CareTeam:shr-actor-ProviderRelationship.participant.period", + "path": "CareTeam.participant.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json new file mode 100755 index 0000000..b9d8c61 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-RelatedPerson-extension", + "text": { + "status": "generated", + "div": "
\n

SHR RelatedPerson Extension

\n

A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.RelatedPerson" + } + ], + "name": "SHR RelatedPerson Extension", + "title": "SHR RelatedPerson Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.281Z", + "description": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:relatedperson", + "path": "Extension", + "short": "SHR RelatedPerson Extension", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:relatedperson.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:relatedperson.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:relatedperson.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:relatedperson.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:relatedperson", + "path": "Extension", + "short": "SHR RelatedPerson Extension", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:relatedperson.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:relatedperson.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension" + }, + { + "id": "Extension:relatedperson.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json new file mode 100755 index 0000000..01f538f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-RelatedPerson.json @@ -0,0 +1,867 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-RelatedPerson", + "text": { + "status": "generated", + "div": "
\n

SHR RelatedPerson Profile

\n

A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.

\n

SHR Mapping Summary

\n

shr.actor.RelatedPerson maps to RelatedPerson:\n  HumanName maps to name\n  DateOfBirth maps to birthDate\n  AdministrativeGender maps to gender\n  AddressUsed maps to address\n  Telecom maps to telecom\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.RelatedPerson" + } + ], + "name": "SHR RelatedPerson Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.824Z", + "description": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "purpose": "Need to track persons related to the patient or the healthcare process.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "RelatedPerson", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/RelatedPerson", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "RelatedPerson:shr-actor-RelatedPerson", + "path": "RelatedPerson", + "short": "SHR RelatedPerson Profile", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "role" + }, + { + "identity": "w5", + "map": "administrative.individual" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.id", + "path": "RelatedPerson.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.meta", + "path": "RelatedPerson.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.implicitRules", + "path": "RelatedPerson.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.language", + "path": "RelatedPerson.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.text", + "path": "RelatedPerson.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.contained", + "path": "RelatedPerson.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension", + "path": "RelatedPerson.extension", + "slicing": { + "id": "8", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:anonymized", + "path": "RelatedPerson.extension", + "sliceName": "anonymized", + "definition": "Flag indicating if personally identifiable information has been withheld.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:fictionalperson", + "path": "RelatedPerson.extension", + "sliceName": "fictionalperson", + "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:languageused", + "path": "RelatedPerson.extension", + "sliceName": "languageused", + "definition": "Language used for communication by a human, either the subject of record, parent, or other involved person.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:deceased", + "path": "RelatedPerson.extension", + "sliceName": "deceased", + "definition": "An indication that the person is no longer living, given by a date, time of death, or a boolean value which, when true, indicates the person is deceased.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.modifierExtension", + "path": "RelatedPerson.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.identifier", + "path": "RelatedPerson.identifier", + "short": "A human identifier for this person", + "definition": "Identifier for a person within a particular scope.", + "requirements": "People are known by a variety of ids. Some institutions maintain several, and most collect identifiers for exchange with other organizations concerning the patient. Examples are national person identifier and local identifier.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-33" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.active", + "path": "RelatedPerson.active", + "short": "Whether this related person's record is in active use", + "definition": "Whether this related person record is in active use.", + "requirements": "Need to be able to mark a related person record as not to be used, such as if it was created in error.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": true, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.patient", + "path": "RelatedPerson.patient", + "short": "The patient this person is related to", + "definition": "The patient this person is related to.", + "requirements": "We need to know which patient this RelatedPerson is related to.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "scoper[classCode=PSN|ANM and determinerCode='INSTANCE']/playedRole[classCode='PAT']/id" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.relationship", + "path": "RelatedPerson.relationship", + "short": "The nature of the relationship", + "definition": "The nature of the relationship between a patient and the related person.", + "requirements": "We need to know the relationship with the patient since it influences the interpretation of the information attributed to this person.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "The nature of the relationship between a patient and the related person", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.name", + "path": "RelatedPerson.name", + "short": "A name associated with the person", + "definition": "A name associated with the person.", + "requirements": "Related persons need to be identified by name, but it is uncommon to need details about multiple other names for that person.", + "min": 0, + "max": "*", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.telecom", + "path": "RelatedPerson.telecom", + "short": "A contact detail for the person", + "definition": "A contact detail for the person, e.g. a telephone number or an email address.", + "comments": "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 also to help with identification.", + "requirements": "People have (primary) ways to contact them in some way such as phone, email.", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-5 / NK1-6 / NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.gender", + "path": "RelatedPerson.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 for identification of the person, in combination with (at least) name and birth date.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "administrativeGender" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.birthDate", + "path": "RelatedPerson.birthDate", + "short": "The date on which the related person was born", + "definition": "The date on which the related person was born.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "player.birthTime" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.address", + "path": "RelatedPerson.address", + "short": "Address where the related person can be contacted or visited", + "definition": "Address where the related person can be contacted or visited.", + "requirements": "Need to keep track where the related person can be contacted per postal mail or visited.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.photo", + "path": "RelatedPerson.photo", + "short": "Image of the person", + "definition": "Image of the person.", + "requirements": "Many EHR systems have the capability to capture an image of persons. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-5 - needs a profile" + }, + { + "identity": "rim", + "map": "player[classCode='PSN' and determinerCode='INSTANCE']/desc" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.period", + "path": "RelatedPerson.period", + "short": "Period of time that this relationship is considered valid", + "definition": "The period of time that this relationship is considered to be valid. If there are no dates defined, then the interval is unknown.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "RelatedPerson:shr-actor-RelatedPerson", + "path": "RelatedPerson", + "short": "SHR RelatedPerson Profile", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject." + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:anonymized", + "path": "RelatedPerson.extension", + "sliceName": "anonymized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:fictionalperson", + "path": "RelatedPerson.extension", + "sliceName": "fictionalperson", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:languageused", + "path": "RelatedPerson.extension", + "sliceName": "languageused", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.extension:deceased", + "path": "RelatedPerson.extension", + "sliceName": "deceased", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.name", + "path": "RelatedPerson.name", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.telecom", + "path": "RelatedPerson.telecom", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ] + }, + { + "id": "RelatedPerson:shr-actor-RelatedPerson.address", + "path": "RelatedPerson.address", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json new file mode 100755 index 0000000..8486301 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-SpokenLanguageProficiency-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SpokenLanguageProficiency Extension

\n

Accuracy and fluency in spoken communication in a language.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.SpokenLanguageProficiency" + } + ], + "name": "SHR SpokenLanguageProficiency Extension", + "title": "SHR SpokenLanguageProficiency Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.830Z", + "description": "Accuracy and fluency in spoken communication in a language.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:spokenlanguageproficiency", + "path": "Extension", + "short": "SHR SpokenLanguageProficiency Extension", + "definition": "Accuracy and fluency in spoken communication in a language.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:spokenlanguageproficiency.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:spokenlanguageproficiency.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:spokenlanguageproficiency.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:spokenlanguageproficiency.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:spokenlanguageproficiency", + "path": "Extension", + "short": "SHR SpokenLanguageProficiency Extension", + "definition": "Accuracy and fluency in spoken communication in a language.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:spokenlanguageproficiency.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:spokenlanguageproficiency.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension" + }, + { + "id": "Extension:spokenlanguageproficiency.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json new file mode 100755 index 0000000..6dfca3c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-actor-WrittenLanguageProficiency-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WrittenLanguageProficiency Extension

\n

Accuracy and fluency of reading and writing in a language.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.WrittenLanguageProficiency" + } + ], + "name": "SHR WrittenLanguageProficiency Extension", + "title": "SHR WrittenLanguageProficiency Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.830Z", + "description": "Accuracy and fluency of reading and writing in a language.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:writtenlanguageproficiency", + "path": "Extension", + "short": "SHR WrittenLanguageProficiency Extension", + "definition": "Accuracy and fluency of reading and writing in a language.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:writtenlanguageproficiency.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:writtenlanguageproficiency.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:writtenlanguageproficiency.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:writtenlanguageproficiency.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:writtenlanguageproficiency", + "path": "Extension", + "short": "SHR WrittenLanguageProficiency Extension", + "definition": "Accuracy and fluency of reading and writing in a language.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:writtenlanguageproficiency.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:writtenlanguageproficiency.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension" + }, + { + "id": "Extension:writtenlanguageproficiency.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json new file mode 100755 index 0000000..eee9574 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-adverse-AdverseReaction-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AdverseReaction Extension

\n

Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.adverse.AdverseReaction" + } + ], + "name": "SHR AdverseReaction Extension", + "title": "SHR AdverseReaction Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.919Z", + "description": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:adversereaction", + "path": "Extension", + "short": "SHR AdverseReaction Extension", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:adversereaction.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereaction.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:adversereaction.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereaction.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:adversereaction", + "path": "Extension", + "short": "SHR AdverseReaction Extension", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:adversereaction.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:adversereaction.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + }, + { + "id": "Extension:adversereaction.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json new file mode 100755 index 0000000..46fdfad --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReaction.json @@ -0,0 +1,1836 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-adverse-AdverseReaction", + "text": { + "status": "generated", + "div": "
\n

SHR AdverseReaction Profile

\n

Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.

\n

SHR Mapping Summary

\n

shr.adverse.AdverseReaction maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.adverse.AdverseReaction" + } + ], + "name": "SHR AdverseReaction Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.911Z", + "description": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-adverse-AdverseReaction", + "path": "Condition", + "short": "SHR AdverseReaction Profile", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 1, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence.code", + "path": "Condition.evidence.code", + "short": "Manifestation/symptom", + "definition": "A manifestation or symptom that led to the recording of this condition.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-adverse-AdverseReaction", + "path": "Condition", + "short": "SHR AdverseReaction Profile", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction." + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.extension:adversereactionattribution", + "path": "Condition.extension", + "sliceName": "adversereactionattribution", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReactionAttribution-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-adverse-AdverseReaction.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-adverse-AdverseReaction.category", + "path": "Condition.category", + "slicing": { + "id": "37", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-adverse-AdverseReaction.category:adverse_reaction", + "path": "Condition.category", + "sliceName": "adverse_reaction", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS", + "code": "adverse_reaction" + } + ] + } + }, + { + "id": "Condition:shr-adverse-AdverseReaction.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-adverse-AdverseReaction.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-adverse-AdverseReaction.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-adverse-AdverseReaction.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-adverse-AdverseReaction.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence", + "path": "Condition.evidence", + "min": 1, + "max": "*" + }, + { + "id": "Condition:shr-adverse-AdverseReaction.evidence.code", + "path": "Condition.evidence.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json new file mode 100755 index 0000000..ce7ac04 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-adverse-AdverseReactionAttribution-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AdverseReactionAttribution Extension

\n

The cause of the adverse reaction (either known or theorized).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReactionAttribution-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.adverse.AdverseReactionAttribution" + } + ], + "name": "SHR AdverseReactionAttribution Extension", + "title": "SHR AdverseReactionAttribution Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.913Z", + "description": "The cause of the adverse reaction (either known or theorized).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:adversereactionattribution", + "path": "Extension", + "short": "SHR AdverseReactionAttribution Extension", + "definition": "The cause of the adverse reaction (either known or theorized).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:adversereactionattribution.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereactionattribution.extension", + "path": "Extension.extension", + "slicing": { + "id": "38", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:adversereactionattribution.extension:substance", + "path": "Extension.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereactionattribution.extension:attributioncertainty", + "path": "Extension.extension", + "sliceName": "attributioncertainty", + "definition": "A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereactionattribution.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReactionAttribution-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adversereactionattribution.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:adversereactionattribution", + "path": "Extension", + "short": "SHR AdverseReactionAttribution Extension", + "definition": "The cause of the adverse reaction (either known or theorized).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:adversereactionattribution.extension:substance", + "path": "Extension.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ] + }, + { + "id": "Extension:adversereactionattribution.extension:attributioncertainty", + "path": "Extension.extension", + "sliceName": "attributioncertainty", + "definition": "A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension" + } + ] + }, + { + "id": "Extension:adversereactionattribution.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReactionAttribution-extension" + }, + { + "id": "Extension:adversereactionattribution.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json new file mode 100755 index 0000000..602f1cf --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-adverse-AttributionCertainty-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-adverse-AttributionCertainty-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AttributionCertainty Extension

\n

A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.adverse.AttributionCertainty" + } + ], + "name": "SHR AttributionCertainty Extension", + "title": "SHR AttributionCertainty Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.913Z", + "description": "A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:attributioncertainty", + "path": "Extension", + "short": "SHR AttributionCertainty Extension", + "definition": "A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:attributioncertainty.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:attributioncertainty.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:attributioncertainty.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:attributioncertainty.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:attributioncertainty", + "path": "Extension", + "short": "SHR AttributionCertainty Extension", + "definition": "A specific identifiable level (defined qualitatively or quantitatively) of probability of adverse event being caused or associated with the product or procedure administration to a patient.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:attributioncertainty.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:attributioncertainty.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension" + }, + { + "id": "Extension:attributioncertainty.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/reaction-event-certainty" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json new file mode 100755 index 0000000..5037181 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-AllergyIntolerance.json @@ -0,0 +1,1408 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-AllergyIntolerance", + "text": { + "status": "generated", + "div": "
\n

SHR AllergyIntolerance Profile

\n

A statement pertaining to an individual's allergies and intolerances to substances or classes of substances. Can be used to record that a substance does not pose an elevated risk to the subject (NonOccurrenceModifier = true).

\n

SHR Mapping Summary

\n

shr.allergy.AllergyIntolerance maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-AllergyIntolerance", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.AllergyIntolerance" + } + ], + "name": "SHR AllergyIntolerance Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.918Z", + "description": "A statement pertaining to an individual's allergies and intolerances to substances or classes of substances. Can be used to record that a substance does not pose an elevated risk to the subject (NonOccurrenceModifier = true).", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-AllergyIntolerance", + "path": "AllergyIntolerance", + "short": "SHR AllergyIntolerance Profile", + "definition": "A statement pertaining to an individual's allergies and intolerances to substances or classes of substances. Can be used to record that a substance does not pose an elevated risk to the subject (NonOccurrenceModifier = true).", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "42", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "43", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-AllergyIntolerance.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance", + "path": "AllergyIntolerance", + "short": "SHR AllergyIntolerance Profile", + "definition": "A statement pertaining to an individual's allergies and intolerances to substances or classes of substances. Can be used to record that a substance does not pose an elevated risk to the subject (NonOccurrenceModifier = true)." + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.code", + "path": "AllergyIntolerance.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-AllergyIntolerance.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json new file mode 100755 index 0000000..4e1912e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-DrugAllergy.json @@ -0,0 +1,1424 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-DrugAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR DrugAllergy Profile

\n

An immune or biochemical adverse reaction to a medication.

\n

SHR Mapping Summary

\n

shr.allergy.DrugAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.DrugAllergy" + } + ], + "name": "SHR DrugAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.922Z", + "description": "An immune or biochemical adverse reaction to a medication.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-DrugAllergy", + "path": "AllergyIntolerance", + "short": "SHR DrugAllergy Profile", + "definition": "An immune or biochemical adverse reaction to a medication.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "44", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "45", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "drug", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-DrugIngredientVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-DrugAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy", + "path": "AllergyIntolerance", + "short": "SHR DrugAllergy Profile", + "definition": "An immune or biochemical adverse reaction to a medication." + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.category", + "path": "AllergyIntolerance.category", + "min": 1, + "max": "1", + "fixedCode": "drug" + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.code", + "path": "AllergyIntolerance.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-DrugIngredientVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-DrugAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json new file mode 100755 index 0000000..51e4fec --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-FoodAllergy-extension", + "text": { + "status": "generated", + "div": "
\n

SHR FoodAllergy Extension

\n

An immune or biochemical adverse reaction to a food substance.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.FoodAllergy" + } + ], + "name": "SHR FoodAllergy Extension", + "title": "SHR FoodAllergy Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.057Z", + "description": "An immune or biochemical adverse reaction to a food substance.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:foodallergy", + "path": "Extension", + "short": "SHR FoodAllergy Extension", + "definition": "An immune or biochemical adverse reaction to a food substance.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:foodallergy.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:foodallergy.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:foodallergy.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:foodallergy.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:foodallergy", + "path": "Extension", + "short": "SHR FoodAllergy Extension", + "definition": "An immune or biochemical adverse reaction to a food substance.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:foodallergy.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:foodallergy.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension" + }, + { + "id": "Extension:foodallergy.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json new file mode 100755 index 0000000..6ad1f9d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-FoodAllergy.json @@ -0,0 +1,1424 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-FoodAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR FoodAllergy Profile

\n

An immune or biochemical adverse reaction to a food substance.

\n

SHR Mapping Summary

\n

shr.allergy.FoodAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.FoodAllergy" + } + ], + "name": "SHR FoodAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.931Z", + "description": "An immune or biochemical adverse reaction to a food substance.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-FoodAllergy", + "path": "AllergyIntolerance", + "short": "SHR FoodAllergy Profile", + "definition": "An immune or biochemical adverse reaction to a food substance.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "46", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "definition": "Any noxious and unintended response to a medical product, procedure, or other intervention, for which a causal relationship to an intervention is at least a reasonable possibility i.e., the relationship cannot be ruled out. It is not necessarily associated with a previously-recorded SubstanceRisk. This entry could be used to record the occurrence or non-occurrence of an adverse reaction.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "47", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "food", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-FoodSubstanceVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-FoodAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy", + "path": "AllergyIntolerance", + "short": "SHR FoodAllergy Profile", + "definition": "An immune or biochemical adverse reaction to a food substance." + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:manifestation", + "path": "AllergyIntolerance.extension", + "sliceName": "manifestation", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.extension:adversereaction", + "path": "AllergyIntolerance.extension", + "sliceName": "adversereaction", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.category", + "path": "AllergyIntolerance.category", + "min": 1, + "max": "1", + "fixedCode": "food" + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.code", + "path": "AllergyIntolerance.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-FoodSubstanceVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-FoodAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json new file mode 100755 index 0000000..31fc5da --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownAllergy.json @@ -0,0 +1,1838 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-NoKnownAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR NoKnownAllergy Profile

\n

The subject has no known allergies to drugs, foods, biologics, or environmental factors.

\n

SHR Mapping Summary

\n

shr.allergy.NoKnownAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.NoKnownAllergy" + } + ], + "name": "SHR NoKnownAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.936Z", + "description": "The subject has no known allergies to drugs, foods, biologics, or environmental factors.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-NoKnownAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownAllergy Profile", + "definition": "The subject has no known allergies to drugs, foods, biologics, or environmental factors.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "49", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "50", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.id", + "path": "AllergyIntolerance.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension", + "path": "AllergyIntolerance.modifierExtension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.id", + "path": "AllergyIntolerance.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.extension:extension", + "path": "AllergyIntolerance.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.valueBoolean", + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.extension:reason", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier.value[x]", + "path": "AllergyIntolerance.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "unconfirmed", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category", + "path": "AllergyIntolerance.category", + "slicing": { + "id": "48", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + }, + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:environment", + "path": "AllergyIntolerance.category", + "sliceName": "environment", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "environment" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:biologic", + "path": "AllergyIntolerance.category", + "sliceName": "biologic", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "biologic" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:medication", + "path": "AllergyIntolerance.category", + "sliceName": "medication", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "medication" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:food", + "path": "AllergyIntolerance.category", + "sliceName": "food", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "food" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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": "0", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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": "0", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-NoKnownAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownAllergy Profile", + "definition": "The subject has no known allergies to drugs, foods, biologics, or environmental factors." + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "fixedCode": "unconfirmed" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category", + "path": "AllergyIntolerance.category", + "slicing": { + "id": "48", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:environment", + "path": "AllergyIntolerance.category", + "sliceName": "environment", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "environment" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:biologic", + "path": "AllergyIntolerance.category", + "sliceName": "biologic", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "biologic" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:medication", + "path": "AllergyIntolerance.category", + "sliceName": "medication", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "medication" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.category:food", + "path": "AllergyIntolerance.category", + "sliceName": "food", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "food" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.criticality", + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.code", + "path": "AllergyIntolerance.code", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownAllergy.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json new file mode 100755 index 0000000..3a0d703 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownDrugAllergy.json @@ -0,0 +1,1722 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-NoKnownDrugAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR NoKnownDrugAllergy Profile

\n

The subject has no known allergies to any medications.

\n

SHR Mapping Summary

\n

shr.allergy.NoKnownDrugAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.NoKnownDrugAllergy" + } + ], + "name": "SHR NoKnownDrugAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.948Z", + "description": "The subject has no known allergies to any medications.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-NoKnownDrugAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownDrugAllergy Profile", + "definition": "The subject has no known allergies to any medications.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "53", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "54", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.id", + "path": "AllergyIntolerance.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension", + "path": "AllergyIntolerance.modifierExtension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.id", + "path": "AllergyIntolerance.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.extension:extension", + "path": "AllergyIntolerance.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.valueBoolean", + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.extension:reason", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier.value[x]", + "path": "AllergyIntolerance.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "unconfirmed", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "drug", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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": "0", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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": "0", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-NoKnownDrugAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownDrugAllergy Profile", + "definition": "The subject has no known allergies to any medications." + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "fixedCode": "unconfirmed" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.category", + "path": "AllergyIntolerance.category", + "min": 1, + "max": "1", + "fixedCode": "drug" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.criticality", + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.code", + "path": "AllergyIntolerance.code", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownDrugAllergy.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json new file mode 100755 index 0000000..7ee3d5b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json @@ -0,0 +1,1722 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-NoKnownEnvironmentalAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR NoKnownEnvironmentalAllergy Profile

\n

The subject has no known allergies to any environmental factors.

\n

SHR Mapping Summary

\n

shr.allergy.NoKnownEnvironmentalAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.NoKnownEnvironmentalAllergy" + } + ], + "name": "SHR NoKnownEnvironmentalAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.952Z", + "description": "The subject has no known allergies to any environmental factors.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-NoKnownEnvironmentalAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownEnvironmentalAllergy Profile", + "definition": "The subject has no known allergies to any environmental factors.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "55", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "56", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.id", + "path": "AllergyIntolerance.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension", + "path": "AllergyIntolerance.modifierExtension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.id", + "path": "AllergyIntolerance.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.extension:extension", + "path": "AllergyIntolerance.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.valueBoolean", + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.extension:reason", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier.value[x]", + "path": "AllergyIntolerance.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "unconfirmed", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "environment", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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": "0", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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": "0", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-NoKnownEnvironmentalAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownEnvironmentalAllergy Profile", + "definition": "The subject has no known allergies to any environmental factors." + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "fixedCode": "unconfirmed" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.category", + "path": "AllergyIntolerance.category", + "min": 1, + "max": "1", + "fixedCode": "environment" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.criticality", + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.code", + "path": "AllergyIntolerance.code", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownEnvironmentalAllergy.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json new file mode 100755 index 0000000..21a9bb9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-allergy-NoKnownFoodAllergy.json @@ -0,0 +1,1722 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-allergy-NoKnownFoodAllergy", + "text": { + "status": "generated", + "div": "
\n

SHR NoKnownFoodAllergy Profile

\n

The subject has no known allergies to any foods.

\n

SHR Mapping Summary

\n

shr.allergy.NoKnownFoodAllergy maps to AllergyIntolerance:\n  Entry.Informant maps to asserter\n  Entry.Author maps to recorder\n  Entry.OriginalCreationDate maps to assertedDate\n  AllergenIrritant maps to code\n  AdverseReactionType maps to type\n  Criticality maps to criticality\n  SubstanceCategory maps to category\n  AllergyVerificationStatus maps to verificationStatus\n  Onset maps to onset[x]\n  MostRecentOccurrence maps to lastOccurrence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.NoKnownFoodAllergy" + } + ], + "name": "SHR NoKnownFoodAllergy Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.943Z", + "description": "The subject has no known allergies to any foods.", + "purpose": "To record a clinical assessment of a propensity, or potential risk to an individual, of an adverse reaction upon future exposure to the specified substance, or class of substance.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-allergy-NoKnownFoodAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownFoodAllergy Profile", + "definition": "The subject has no known allergies to any foods.", + "comments": "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": "*", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.extension", + "path": "AllergyIntolerance.extension", + "slicing": { + "id": "51", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "definition": "The end, remission or resolution.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension", + "path": "AllergyIntolerance.modifierExtension", + "slicing": { + "id": "52", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.id", + "path": "AllergyIntolerance.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension", + "path": "AllergyIntolerance.modifierExtension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.id", + "path": "AllergyIntolerance.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.extension:extension", + "path": "AllergyIntolerance.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:boolean.valueBoolean", + "path": "AllergyIntolerance.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.extension:reason", + "path": "AllergyIntolerance.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.url", + "path": "AllergyIntolerance.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier.value[x]", + "path": "AllergyIntolerance.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The clinical status of the allergy or intolerance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "unconfirmed", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "allergy", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "food", + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. 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": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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": "0", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Age" + }, + { + "code": "Period" + }, + { + "code": "Range" + }, + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility for the content, but can reference the source from where they got it.", + "alias": [ + "Source", + "Informant" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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": "0", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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'.", + "comments": "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 identifed 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:shr-allergy-NoKnownFoodAllergy.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "Coding of the route of exposure with a terminology should be used wherever possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.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.", + "comments": "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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy", + "path": "AllergyIntolerance", + "short": "SHR NoKnownFoodAllergy Profile", + "definition": "The subject has no known allergies to any foods." + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.extension:abatement", + "path": "AllergyIntolerance.extension", + "sliceName": "abatement", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.modifierExtension:nonoccurrencemodifier", + "path": "AllergyIntolerance.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "fixedCode": "unconfirmed" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.type", + "path": "AllergyIntolerance.type", + "fixedCode": "allergy" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.category", + "path": "AllergyIntolerance.category", + "min": 1, + "max": "1", + "fixedCode": "food" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.criticality", + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.code", + "path": "AllergyIntolerance.code", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS" + } + } + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.onset[x]", + "path": "AllergyIntolerance.onset[x]", + "min": 0, + "max": "0" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.recorder", + "path": "AllergyIntolerance.recorder", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.asserter", + "path": "AllergyIntolerance.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + }, + { + "id": "AllergyIntolerance:shr-allergy-NoKnownFoodAllergy.lastOccurrence", + "path": "AllergyIntolerance.lastOccurrence", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json new file mode 100755 index 0000000..61deaa2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-ActionCode-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-ActionCode-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ActionCode Extension

\n

The code for the action, such as an intervention or test, to be carried out.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.ActionCode" + } + ], + "name": "SHR ActionCode Extension", + "title": "SHR ActionCode Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.280Z", + "description": "The code for the action, such as an intervention or test, to be carried out.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:actioncode", + "path": "Extension", + "short": "SHR ActionCode Extension", + "definition": "The code for the action, such as an intervention or test, to be carried out.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:actioncode.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:actioncode.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:actioncode.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:actioncode.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:actioncode", + "path": "Extension", + "short": "SHR ActionCode Extension", + "definition": "The code for the action, such as an intervention or test, to be carried out.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:actioncode.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:actioncode.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension" + }, + { + "id": "Extension:actioncode.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json new file mode 100755 index 0000000..57e4cc8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-AssociatedEncounter-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-AssociatedEncounter-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AssociatedEncounter Extension

\n

The encounter or episode of care that led to creation of this entry.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.AssociatedEncounter" + } + ], + "name": "SHR AssociatedEncounter Extension", + "title": "SHR AssociatedEncounter Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.857Z", + "description": "The encounter or episode of care that led to creation of this entry.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:associatedencounter", + "path": "Extension", + "short": "SHR AssociatedEncounter Extension", + "definition": "The encounter or episode of care that led to creation of this entry.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:associatedencounter.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:associatedencounter.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:associatedencounter.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:associatedencounter.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:associatedencounter", + "path": "Extension", + "short": "SHR AssociatedEncounter Extension", + "definition": "The encounter or episode of care that led to creation of this entry.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:associatedencounter.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:associatedencounter.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension" + }, + { + "id": "Extension:associatedencounter.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json new file mode 100755 index 0000000..83f317d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-Author-extension.json @@ -0,0 +1,242 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-Author-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Author Extension

\n

The person or organization who created the entry and is responsible for (and may certify) its content.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.Author" + } + ], + "name": "SHR Author Extension", + "title": "SHR Author Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.857Z", + "description": "The person or organization who created the entry and is responsible for (and may certify) its content.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:author", + "path": "Extension", + "short": "SHR Author Extension", + "definition": "The person or organization who created the entry and is responsible for (and may certify) its content.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:author.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:author.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:author.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:author.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:author", + "path": "Extension", + "short": "SHR Author Extension", + "definition": "The person or organization who created the entry and is responsible for (and may certify) its content.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:author.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:author.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" + }, + { + "id": "Extension:author.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json new file mode 100755 index 0000000..c575837 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-Entry.json @@ -0,0 +1,632 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-Entry", + "text": { + "status": "generated", + "div": "
\n

SHR Entry Profile

\n

An item inserted in an electronic record.

\n

SHR Mapping Summary

\n

shr.base.Entry maps to DomainResource:\n  Narrative maps to text\n  EntryId maps to id\n  Version maps to meta.versionId\n  EntryType maps to meta.profile\n  LastUpdateDate maps to meta.lastUpdated\n  Language maps to language\n  TBD "SecurityLabel" maps to meta.security\n  TBD "Tag" maps to meta.tag\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Entry", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.Entry" + } + ], + "name": "SHR Entry Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.855Z", + "description": "An item inserted in an electronic record.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": true, + "type": "DomainResource", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DomainResource:shr-base-Entry", + "path": "DomainResource", + "short": "SHR Entry Profile", + "definition": "An item inserted in an electronic record.", + "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)" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)" + }, + { + "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))" + }, + { + "key": "dom-3", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.id", + "path": "DomainResource.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.", + "comments": "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": 1, + "max": "1", + "base": { + "path": "Resource.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DomainResource:shr-base-Entry.meta", + "path": "DomainResource.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DomainResource:shr-base-Entry.implicitRules", + "path": "DomainResource.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DomainResource:shr-base-Entry.language", + "path": "DomainResource.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DomainResource:shr-base-Entry.text", + "path": "DomainResource.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Narrative", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.contained", + "path": "DomainResource.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension", + "path": "DomainResource.extension", + "slicing": { + "id": "18", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:shrid", + "path": "DomainResource.extension", + "sliceName": "shrid", + "definition": "A unique, persistent identifier for the Standard Health Record to which this entry belongs.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:focalsubject", + "path": "DomainResource.extension", + "sliceName": "focalsubject", + "definition": "The person or thing that this entry refers to, usually the Person of Record. However, not all entries refer to the Person of Record. The entry could refer to a fetus, care giver, or relative (living or dead).", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:informant", + "path": "DomainResource.extension", + "sliceName": "informant", + "definition": "The person or entity that provided the information in the entry, as distinct from the actor creating the entry, e.g. the subject (patient), medical professional, family member, device or software program.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:author", + "path": "DomainResource.extension", + "sliceName": "author", + "definition": "The person or organization who created the entry and is responsible for (and may certify) its content.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:associatedencounter", + "path": "DomainResource.extension", + "sliceName": "associatedencounter", + "definition": "The encounter or episode of care that led to creation of this entry.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:originalcreationdate", + "path": "DomainResource.extension", + "sliceName": "originalcreationdate", + "definition": "The point in time when the information was recorded in the system of record.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.modifierExtension", + "path": "DomainResource.modifierExtension", + "slicing": { + "id": "19", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.modifierExtension:subjectisthirdpartymodifier", + "path": "DomainResource.modifierExtension", + "sliceName": "subjectisthirdpartymodifier", + "definition": "If true, the subject of this entry is someone other than the Person of Record, for example, a family member.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DomainResource:shr-base-Entry", + "path": "DomainResource", + "short": "SHR Entry Profile", + "definition": "An item inserted in an electronic record." + }, + { + "id": "DomainResource:shr-base-Entry.id", + "path": "DomainResource.id", + "min": 1, + "max": "1" + }, + { + "id": "DomainResource:shr-base-Entry.text", + "path": "DomainResource.text", + "type": [ + { + "code": "Narrative", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Narrative" + } + ] + }, + { + "id": "DomainResource:shr-base-Entry.extension:shrid", + "path": "DomainResource.extension", + "sliceName": "shrid", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.extension:focalsubject", + "path": "DomainResource.extension", + "sliceName": "focalsubject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.extension:informant", + "path": "DomainResource.extension", + "sliceName": "informant", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.extension:author", + "path": "DomainResource.extension", + "sliceName": "author", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.extension:associatedencounter", + "path": "DomainResource.extension", + "sliceName": "associatedencounter", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.extension:originalcreationdate", + "path": "DomainResource.extension", + "sliceName": "originalcreationdate", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DomainResource:shr-base-Entry.modifierExtension:subjectisthirdpartymodifier", + "path": "DomainResource.modifierExtension", + "sliceName": "subjectisthirdpartymodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json new file mode 100755 index 0000000..3adc9b9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-FocalSubject-extension.json @@ -0,0 +1,234 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-FocalSubject-extension", + "text": { + "status": "generated", + "div": "
\n

SHR FocalSubject Extension

\n

The person or thing that this entry refers to, usually the Person of Record. However, not all entries refer to the Person of Record. The entry could refer to a fetus, care giver, or relative (living or dead).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.FocalSubject" + } + ], + "name": "SHR FocalSubject Extension", + "title": "SHR FocalSubject Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.856Z", + "description": "The person or thing that this entry refers to, usually the Person of Record. However, not all entries refer to the Person of Record. The entry could refer to a fetus, care giver, or relative (living or dead).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:focalsubject", + "path": "Extension", + "short": "SHR FocalSubject Extension", + "definition": "The person or thing that this entry refers to, usually the Person of Record. However, not all entries refer to the Person of Record. The entry could refer to a fetus, care giver, or relative (living or dead).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:focalsubject.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:focalsubject.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:focalsubject.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:focalsubject.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:focalsubject", + "path": "Extension", + "short": "SHR FocalSubject Extension", + "definition": "The person or thing that this entry refers to, usually the Person of Record. However, not all entries refer to the Person of Record. The entry could refer to a fetus, care giver, or relative (living or dead).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:focalsubject.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:focalsubject.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension" + }, + { + "id": "Extension:focalsubject.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json new file mode 100755 index 0000000..91a3f14 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-Informant-extension.json @@ -0,0 +1,234 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-Informant-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Informant Extension

\n

The person or entity that provided the information in the entry, as distinct from the actor creating the entry, e.g. the subject (patient), medical professional, family member, device or software program.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.Informant" + } + ], + "name": "SHR Informant Extension", + "title": "SHR Informant Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.856Z", + "description": "The person or entity that provided the information in the entry, as distinct from the actor creating the entry, e.g. the subject (patient), medical professional, family member, device or software program.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:informant", + "path": "Extension", + "short": "SHR Informant Extension", + "definition": "The person or entity that provided the information in the entry, as distinct from the actor creating the entry, e.g. the subject (patient), medical professional, family member, device or software program.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:informant.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:informant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:informant.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:informant.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:informant", + "path": "Extension", + "short": "SHR Informant Extension", + "definition": "The person or entity that provided the information in the entry, as distinct from the actor creating the entry, e.g. the subject (patient), medical professional, family member, device or software program.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:informant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:informant.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension" + }, + { + "id": "Extension:informant.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json new file mode 100755 index 0000000..4a19e83 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-Language-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-Language-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Language Extension

\n

A human language, spoken or written.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.Language" + } + ], + "name": "SHR Language Extension", + "title": "SHR Language Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.830Z", + "description": "A human language, spoken or written.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:language", + "path": "Extension", + "short": "SHR Language Extension", + "definition": "A human language, spoken or written.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:language.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:language.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:language.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:language.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:language", + "path": "Extension", + "short": "SHR Language Extension", + "definition": "A human language, spoken or written.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:language.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:language.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension" + }, + { + "id": "Extension:language.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json new file mode 100755 index 0000000..40ecc79 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-Narrative.json @@ -0,0 +1,206 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-Narrative", + "text": { + "status": "generated", + "div": "
\n

SHR Narrative Profile

\n

A human-readable narrative, potentially including images, that contains a summary of the resource, and may be used to represent the content of the resource to a human.

\n

SHR Mapping Summary

\n

shr.base.Narrative maps to Narrative:\n  xhtml maps to div\n  NarrativeQualifier maps to status\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Narrative", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.Narrative" + } + ], + "name": "SHR Narrative Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.859Z", + "description": "A human-readable narrative, potentially including images, that contains a summary of the resource, and may be used to represent the content of the resource to a human.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Narrative", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Narrative", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Narrative:shr-base-Narrative", + "path": "Narrative", + "short": "SHR Narrative Profile", + "definition": "A human-readable narrative, potentially including images, that contains a summary of the resource, and may be used to represent the content of the resource to a human.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Narrative:shr-base-Narrative.id", + "path": "Narrative.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Narrative:shr-base-Narrative.extension", + "path": "Narrative.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Narrative:shr-base-Narrative.status", + "path": "Narrative.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", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "The status of a resource narrative", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/narrative-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Narrative:shr-base-Narrative.div", + "path": "Narrative.div", + "short": "Limited xhtml content", + "definition": "The actual narrative content, a stripped down version of XHTML.", + "comments": "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 may not contain a head, a body, external stylesheet references, scripts, forms, base/link/xlink, frames, iframes and objects.", + "min": 1, + "max": "1", + "type": [ + { + "code": "xhtml" + } + ], + "constraint": [ + { + "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]" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Narrative:shr-base-Narrative", + "path": "Narrative", + "short": "SHR Narrative Profile", + "definition": "A human-readable narrative, potentially including images, that contains a summary of the resource, and may be used to represent the content of the resource to a human." + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json new file mode 100755 index 0000000..7155380 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-NonOccurrenceModifier-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-NonOccurrenceModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NonOccurrenceModifier Extension

\n

When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.NonOccurrenceModifier" + } + ], + "name": "SHR NonOccurrenceModifier Extension", + "title": "SHR NonOccurrenceModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.844Z", + "description": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:nonoccurrencemodifier", + "path": "Extension", + "short": "SHR NonOccurrenceModifier Extension", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.extension", + "path": "Extension.extension", + "slicing": { + "id": "10", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:nonoccurrencemodifier", + "path": "Extension", + "short": "SHR NonOccurrenceModifier Extension", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:nonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ] + }, + { + "id": "Extension:nonoccurrencemodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + }, + { + "id": "Extension:nonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json new file mode 100755 index 0000000..b7b77c5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-OriginalCreationDate-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-OriginalCreationDate-extension", + "text": { + "status": "generated", + "div": "
\n

SHR OriginalCreationDate Extension

\n

The point in time when the information was recorded in the system of record.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.OriginalCreationDate" + } + ], + "name": "SHR OriginalCreationDate Extension", + "title": "SHR OriginalCreationDate Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.857Z", + "description": "The point in time when the information was recorded in the system of record.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:originalcreationdate", + "path": "Extension", + "short": "SHR OriginalCreationDate Extension", + "definition": "The point in time when the information was recorded in the system of record.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:originalcreationdate.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:originalcreationdate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:originalcreationdate.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:originalcreationdate.valueDateTime", + "path": "Extension.valueDateTime", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:originalcreationdate", + "path": "Extension", + "short": "SHR OriginalCreationDate Extension", + "definition": "The point in time when the information was recorded in the system of record.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:originalcreationdate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:originalcreationdate.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension" + }, + { + "id": "Extension:originalcreationdate.valueDateTime", + "path": "Extension.valueDateTime", + "min": 1, + "type": [ + { + "code": "dateTime" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json new file mode 100755 index 0000000..c1d2810 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-PatientInstructions-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-PatientInstructions-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PatientInstructions Extension

\n

Information for the patient, such as, where to get the test, how to prepare for the test, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.PatientInstructions" + } + ], + "name": "SHR PatientInstructions Extension", + "title": "SHR PatientInstructions Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.282Z", + "description": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:patientinstructions", + "path": "Extension", + "short": "SHR PatientInstructions Extension", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:patientinstructions.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:patientinstructions.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:patientinstructions.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:patientinstructions.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:patientinstructions", + "path": "Extension", + "short": "SHR PatientInstructions Extension", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:patientinstructions.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:patientinstructions.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + }, + { + "id": "Extension:patientinstructions.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json new file mode 100755 index 0000000..b93e60b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-PerformerInstructions-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-PerformerInstructions-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PerformerInstructions Extension

\n

Information for the performer of the test, if needed.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.PerformerInstructions" + } + ], + "name": "SHR PerformerInstructions Extension", + "title": "SHR PerformerInstructions Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.377Z", + "description": "Information for the performer of the test, if needed.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:performerinstructions", + "path": "Extension", + "short": "SHR PerformerInstructions Extension", + "definition": "Information for the performer of the test, if needed.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:performerinstructions.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:performerinstructions.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:performerinstructions.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:performerinstructions.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:performerinstructions", + "path": "Extension", + "short": "SHR PerformerInstructions Extension", + "definition": "Information for the performer of the test, if needed.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:performerinstructions.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:performerinstructions.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + }, + { + "id": "Extension:performerinstructions.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-PriorityOfRequest-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-PriorityOfRequest-extension.json new file mode 100755 index 0000000..de2541a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-PriorityOfRequest-extension.json @@ -0,0 +1,228 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-PriorityOfRequest-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PriorityOfRequest Extension

\n

Urgency level for which results must be reported to the requestor or responsible individual.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.PriorityOfRequest" + } + ], + "name": "SHR PriorityOfRequest Extension", + "title": "SHR PriorityOfRequest Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.282Z", + "description": "Urgency level for which results must be reported to the requestor or responsible individual.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:priorityofrequest", + "path": "Extension", + "short": "SHR PriorityOfRequest Extension", + "definition": "Urgency level for which results must be reported to the requestor or responsible individual.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:priorityofrequest.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:priorityofrequest.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:priorityofrequest.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:priorityofrequest.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:priorityofrequest", + "path": "Extension", + "short": "SHR PriorityOfRequest Extension", + "definition": "Urgency level for which results must be reported to the requestor or responsible individual.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:priorityofrequest.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:priorityofrequest.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension" + }, + { + "id": "Extension:priorityofrequest.valueCode", + "path": "Extension.valueCode", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.json new file mode 100755 index 0000000..8b0cf1f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-RequestNotToPerformActionModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR RequestNotToPerformActionModifier Extension

\n

If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.RequestNotToPerformActionModifier" + } + ], + "name": "SHR RequestNotToPerformActionModifier Extension", + "title": "SHR RequestNotToPerformActionModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.377Z", + "description": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:requestnottoperformactionmodifier", + "path": "Extension", + "short": "SHR RequestNotToPerformActionModifier Extension", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.extension", + "path": "Extension.extension", + "slicing": { + "id": "215", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:requestnottoperformactionmodifier", + "path": "Extension", + "short": "SHR RequestNotToPerformActionModifier Extension", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:requestnottoperformactionmodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ] + }, + { + "id": "Extension:requestnottoperformactionmodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + }, + { + "id": "Extension:requestnottoperformactionmodifier.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json new file mode 100755 index 0000000..4ea70f9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-ShrId-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-ShrId-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ShrId Extension

\n

A unique, persistent identifier for the Standard Health Record to which this entry belongs.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.ShrId" + } + ], + "name": "SHR ShrId Extension", + "title": "SHR ShrId Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.856Z", + "description": "A unique, persistent identifier for the Standard Health Record to which this entry belongs.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:shrid", + "path": "Extension", + "short": "SHR ShrId Extension", + "definition": "A unique, persistent identifier for the Standard Health Record to which this entry belongs.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:shrid.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:shrid.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:shrid.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:shrid.valueId", + "path": "Extension.valueId", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "id" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:shrid", + "path": "Extension", + "short": "SHR ShrId Extension", + "definition": "A unique, persistent identifier for the Standard Health Record to which this entry belongs.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:shrid.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:shrid.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension" + }, + { + "id": "Extension:shrid.valueId", + "path": "Extension.valueId", + "min": 1, + "type": [ + { + "code": "id" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json new file mode 100755 index 0000000..71e5024 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-base-SubjectIsThirdPartyModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SubjectIsThirdPartyModifier Extension

\n

If true, the subject of this entry is someone other than the Person of Record, for example, a family member.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.SubjectIsThirdPartyModifier" + } + ], + "name": "SHR SubjectIsThirdPartyModifier Extension", + "title": "SHR SubjectIsThirdPartyModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.856Z", + "description": "If true, the subject of this entry is someone other than the Person of Record, for example, a family member.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:subjectisthirdpartymodifier", + "path": "Extension", + "short": "SHR SubjectIsThirdPartyModifier Extension", + "definition": "If true, the subject of this entry is someone other than the Person of Record, for example, a family member.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:subjectisthirdpartymodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:subjectisthirdpartymodifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:subjectisthirdpartymodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:subjectisthirdpartymodifier.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:subjectisthirdpartymodifier", + "path": "Extension", + "short": "SHR SubjectIsThirdPartyModifier Extension", + "definition": "If true, the subject of this entry is someone other than the Person of Record, for example, a family member.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:subjectisthirdpartymodifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:subjectisthirdpartymodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension" + }, + { + "id": "Extension:subjectisthirdpartymodifier.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json new file mode 100755 index 0000000..cadf5c7 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json @@ -0,0 +1,532 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-AlcoholBingeFrequency-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AlcoholBingeFrequency Extension

\n

How often have you had 6 or more Units if female, or 8 or more if male, on a single occasion in the last year?.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.AlcoholBingeFrequency" + } + ], + "name": "SHR AlcoholBingeFrequency Extension", + "title": "SHR AlcoholBingeFrequency Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.041Z", + "description": "How often have you had 6 or more Units if female, or 8 or more if male, on a single occasion in the last year?.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:alcoholbingefrequency", + "path": "Extension", + "short": "SHR AlcoholBingeFrequency Extension", + "definition": "How often have you had 6 or more Units if female, or 8 or more if male, on a single occasion in the last year?.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension", + "path": "Extension.extension", + "slicing": { + "id": "88", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "isModifier": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode", + "path": "Extension.extension", + "sliceName": "observationcode", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode.extension:extension", + "path": "Extension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode.valueCodeableConcept", + "path": "Extension.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0556346" + } + ] + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:alcoholbingefrequency.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:alcoholbingefrequency", + "path": "Extension", + "short": "SHR AlcoholBingeFrequency Extension", + "definition": "How often have you had 6 or more Units if female, or 8 or more if male, on a single occasion in the last year?.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:alcoholbingefrequency.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeFrequencyVS" + } + } + }, + { + "id": "Extension:alcoholbingefrequency.extension:observationcode", + "path": "Extension.extension", + "sliceName": "observationcode", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0556346" + } + ] + } + }, + { + "id": "Extension:alcoholbingefrequency.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension" + }, + { + "id": "Extension:alcoholbingefrequency.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json new file mode 100755 index 0000000..d9acba5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AlcoholUse.json @@ -0,0 +1,2968 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-AlcoholUse", + "text": { + "status": "generated", + "div": "
\n

SHR AlcoholUse Profile

\n

The history of the subject's use of alcohol.

\n

SHR Mapping Summary

\n

shr.behavior.AlcoholUse maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.AlcoholUse" + } + ], + "name": "SHR AlcoholUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.038Z", + "description": "The history of the subject's use of alcohol.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-AlcoholUse", + "path": "Observation", + "short": "SHR AlcoholUse Profile", + "definition": "The history of the subject's use of alcohol.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-AlcoholUse.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension", + "path": "Observation.extension", + "slicing": { + "id": "89", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "398624005" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-AlcoholUseScreeningToolVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:alcoholbingefrequency", + "path": "Observation.extension", + "sliceName": "alcoholbingefrequency", + "definition": "How often have you had 6 or more Units if female, or 8 or more if male, on a single occasion in the last year?.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "90", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category", + "path": "Observation.category", + "slicing": { + "id": "86", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0001948" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "87", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-AlcoholUse.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-AlcoholUse", + "path": "Observation", + "short": "SHR AlcoholUse Profile", + "definition": "The history of the subject's use of alcohol." + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "398624005" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-AlcoholUseScreeningToolVS" + } + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.extension:alcoholbingefrequency", + "path": "Observation.extension", + "sliceName": "alcoholbingefrequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category", + "path": "Observation.category", + "slicing": { + "id": "86", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0001948" + } + ] + } + }, + { + "id": "Observation:shr-behavior-AlcoholUse.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-AlcoholUse.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "87", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-AlcoholUse.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json new file mode 100755 index 0000000..f69f78b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-AssessmentTool-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-AssessmentTool-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AssessmentTool Extension

\n

The name of the formal assessment or screening tool used to assess the behavior.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.AssessmentTool" + } + ], + "name": "SHR AssessmentTool Extension", + "title": "SHR AssessmentTool Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.997Z", + "description": "The name of the formal assessment or screening tool used to assess the behavior.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:assessmenttool", + "path": "Extension", + "short": "SHR AssessmentTool Extension", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:assessmenttool.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:assessmenttool.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:assessmenttool.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:assessmenttool.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:assessmenttool", + "path": "Extension", + "short": "SHR AssessmentTool Extension", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:assessmenttool.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:assessmenttool.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + }, + { + "id": "Extension:assessmenttool.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json new file mode 100755 index 0000000..fa4762e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-BehavioralObservation.json @@ -0,0 +1,2106 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-BehavioralObservation", + "text": { + "status": "generated", + "div": "
\n

SHR BehavioralObservation Profile

\n

A statement about observable responses, actions, or activities of the subject. Can be used to assert or deny behaviors.

\n

SHR Mapping Summary

\n

shr.behavior.BehavioralObservation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.BehavioralObservation" + } + ], + "name": "SHR BehavioralObservation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.995Z", + "description": "A statement about observable responses, actions, or activities of the subject. Can be used to assert or deny behaviors.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-BehavioralObservation", + "path": "Observation", + "short": "SHR BehavioralObservation Profile", + "definition": "A statement about observable responses, actions, or activities of the subject. Can be used to assert or deny behaviors.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension", + "path": "Observation.extension", + "slicing": { + "id": "70", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "71", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.category", + "path": "Observation.category", + "slicing": { + "id": "69", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-BehavioralObservation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-BehavioralObservation", + "path": "Observation", + "short": "SHR BehavioralObservation Profile", + "definition": "A statement about observable responses, actions, or activities of the subject. Can be used to assert or deny behaviors." + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.category", + "path": "Observation.category", + "slicing": { + "id": "69", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.value[x]", + "path": "Observation.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-BehavioralObservation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json new file mode 100755 index 0000000..04d9b6d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietAndNutrition.json @@ -0,0 +1,2356 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-DietAndNutrition", + "text": { + "status": "generated", + "div": "
\n

SHR DietAndNutrition Profile

\n

The usual food and drink consumed by an individual.

\n

SHR Mapping Summary

\n

shr.behavior.DietAndNutrition maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.DietAndNutrition" + } + ], + "name": "SHR DietAndNutrition Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.055Z", + "description": "The usual food and drink consumed by an individual.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-DietAndNutrition", + "path": "Observation", + "short": "SHR DietAndNutrition Profile", + "definition": "The usual food and drink consumed by an individual.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension", + "path": "Observation.extension", + "slicing": { + "id": "96", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:specialdietfollowed", + "path": "Observation.extension", + "sliceName": "specialdietfollowed", + "definition": "A type of nutritional plan followed by the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:hassufficientfood", + "path": "Observation.extension", + "sliceName": "hassufficientfood", + "definition": "SHR HasSufficientFood Extension", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:dietnutritionconcern", + "path": "Observation.extension", + "sliceName": "dietnutritionconcern", + "definition": "An anxiety or worry about the diet or nutritional intake of the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:foodallergy", + "path": "Observation.extension", + "sliceName": "foodallergy", + "definition": "An immune or biochemical adverse reaction to a food substance.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "97", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.category", + "path": "Observation.category", + "slicing": { + "id": "94", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0012155" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "95", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-DietAndNutrition.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-DietAndNutrition", + "path": "Observation", + "short": "SHR DietAndNutrition Profile", + "definition": "The usual food and drink consumed by an individual." + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:specialdietfollowed", + "path": "Observation.extension", + "sliceName": "specialdietfollowed", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:hassufficientfood", + "path": "Observation.extension", + "sliceName": "hassufficientfood", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:dietnutritionconcern", + "path": "Observation.extension", + "sliceName": "dietnutritionconcern", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.extension:foodallergy", + "path": "Observation.extension", + "sliceName": "foodallergy", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.category", + "path": "Observation.category", + "slicing": { + "id": "94", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0012155" + } + ] + } + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "95", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-DietAndNutrition.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json new file mode 100755 index 0000000..0b7e1b6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-DietNutritionConcern-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-DietNutritionConcern-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DietNutritionConcern Extension

\n

An anxiety or worry about the diet or nutritional intake of the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.DietNutritionConcern" + } + ], + "name": "SHR DietNutritionConcern Extension", + "title": "SHR DietNutritionConcern Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.057Z", + "description": "An anxiety or worry about the diet or nutritional intake of the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:dietnutritionconcern", + "path": "Extension", + "short": "SHR DietNutritionConcern Extension", + "definition": "An anxiety or worry about the diet or nutritional intake of the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:dietnutritionconcern.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dietnutritionconcern.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:dietnutritionconcern.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dietnutritionconcern.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-DietNutritionConcernVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:dietnutritionconcern", + "path": "Extension", + "short": "SHR DietNutritionConcern Extension", + "definition": "An anxiety or worry about the diet or nutritional intake of the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:dietnutritionconcern.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:dietnutritionconcern.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension" + }, + { + "id": "Extension:dietnutritionconcern.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-DietNutritionConcernVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json new file mode 100755 index 0000000..3ce633b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ExerciseHoursPerWeek-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ExerciseHoursPerWeek Extension

\n

Hours of moderate or vigorous activity per week.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ExerciseHoursPerWeek" + } + ], + "name": "SHR ExerciseHoursPerWeek Extension", + "title": "SHR ExerciseHoursPerWeek Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.073Z", + "description": "Hours of moderate or vigorous activity per week.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:exercisehoursperweek", + "path": "Extension", + "short": "SHR ExerciseHoursPerWeek Extension", + "definition": "Hours of moderate or vigorous activity per week.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:exercisehoursperweek.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exercisehoursperweek.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:exercisehoursperweek.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exercisehoursperweek.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:exercisehoursperweek", + "path": "Extension", + "short": "SHR ExerciseHoursPerWeek Extension", + "definition": "Hours of moderate or vigorous activity per week.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:exercisehoursperweek.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:exercisehoursperweek.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension" + }, + { + "id": "Extension:exercisehoursperweek.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "min": 1, + "type": [ + { + "code": "unsignedInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json new file mode 100755 index 0000000..0af1fc8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HasSufficientFood-extension.json @@ -0,0 +1,229 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-HasSufficientFood-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HasSufficientFood Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.HasSufficientFood" + } + ], + "name": "SHR HasSufficientFood Extension", + "title": "SHR HasSufficientFood Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.057Z", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:hassufficientfood", + "path": "Extension", + "short": "SHR HasSufficientFood Extension", + "definition": "HasSufficientFood", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:hassufficientfood.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:hassufficientfood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:hassufficientfood.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:hassufficientfood.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:hassufficientfood", + "path": "Extension", + "short": "SHR HasSufficientFood Extension", + "definition": "HasSufficientFood", + "min": 0, + "max": "*" + }, + { + "id": "Extension:hassufficientfood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:hassufficientfood.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension" + }, + { + "id": "Extension:hassufficientfood.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json new file mode 100755 index 0000000..840ff48 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-HoursSleepPerNight-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HoursSleepPerNight Extension

\n

Typical hours spent sleeping per night.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.HoursSleepPerNight" + } + ], + "name": "SHR HoursSleepPerNight Extension", + "title": "SHR HoursSleepPerNight Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.065Z", + "description": "Typical hours spent sleeping per night.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:hourssleeppernight", + "path": "Extension", + "short": "SHR HoursSleepPerNight Extension", + "definition": "Typical hours spent sleeping per night.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:hourssleeppernight.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:hourssleeppernight.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:hourssleeppernight.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:hourssleeppernight.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:hourssleeppernight", + "path": "Extension", + "short": "SHR HoursSleepPerNight Extension", + "definition": "Typical hours spent sleeping per night.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:hourssleeppernight.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:hourssleeppernight.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension" + }, + { + "id": "Extension:hourssleeppernight.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "min": 1, + "type": [ + { + "code": "positiveInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json new file mode 100755 index 0000000..6eb250b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-IntravenousDrugUse.json @@ -0,0 +1,2994 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-IntravenousDrugUse", + "text": { + "status": "generated", + "div": "
\n

SHR IntravenousDrugUse Profile

\n

Records whether the subject injects recreational drugs.

\n

SHR Mapping Summary

\n

shr.behavior.IntravenousDrugUse maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.IntravenousDrugUse" + } + ], + "name": "SHR IntravenousDrugUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.013Z", + "description": "Records whether the subject injects recreational drugs.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-IntravenousDrugUse", + "path": "Observation", + "short": "SHR IntravenousDrugUse Profile", + "definition": "Records whether the subject injects recreational drugs.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension", + "path": "Observation.extension", + "slicing": { + "id": "77", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0021494" + } + ] + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1522726" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "78", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category", + "path": "Observation.category", + "slicing": { + "id": "75", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0242566" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "76", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS" + } + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-IntravenousDrugUse.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-IntravenousDrugUse", + "path": "Observation", + "short": "SHR IntravenousDrugUse Profile", + "definition": "Records whether the subject injects recreational drugs." + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0021494" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1522726" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category", + "path": "Observation.category", + "slicing": { + "id": "75", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0242566" + } + ] + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "76", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS" + } + } + }, + { + "id": "Observation:shr-behavior-IntravenousDrugUse.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json new file mode 100755 index 0000000..1d58cc8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-NicotineUse.json @@ -0,0 +1,2978 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-NicotineUse", + "text": { + "status": "generated", + "div": "
\n

SHR NicotineUse Profile

\n

Records the history of a subject's use of nicotine.

\n

SHR Mapping Summary

\n

shr.behavior.NicotineUse maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.NicotineUse" + } + ], + "name": "SHR NicotineUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.030Z", + "description": "Records the history of a subject's use of nicotine.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-NicotineUse", + "path": "Observation", + "short": "SHR NicotineUse Profile", + "definition": "Records the history of a subject's use of nicotine.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-NicotineUse.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-NicotineUse.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension", + "path": "Observation.extension", + "slicing": { + "id": "84", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2363943" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "85", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.category", + "path": "Observation.category", + "slicing": { + "id": "82", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "83", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-NicotineUse.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-NicotineUse", + "path": "Observation", + "short": "SHR NicotineUse Profile", + "definition": "Records the history of a subject's use of nicotine." + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2363943" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-NicotineUse.category", + "path": "Observation.category", + "slicing": { + "id": "82", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-NicotineUse.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "83", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-NicotineUse.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + } + }, + { + "id": "Observation:shr-behavior-NicotineUse.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json new file mode 100755 index 0000000..da7bf5e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ONCSmokingStatus.json @@ -0,0 +1,2020 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ONCSmokingStatus", + "text": { + "status": "generated", + "div": "
\n

SHR ONCSmokingStatus Profile

\n

Records the subject's use of tobacco.

\n

SHR Mapping Summary

\n

shr.behavior.ONCSmokingStatus maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ONCSmokingStatus" + } + ], + "name": "SHR ONCSmokingStatus Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.022Z", + "description": "Records the subject's use of tobacco.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-ONCSmokingStatus", + "path": "Observation", + "short": "SHR ONCSmokingStatus Profile", + "definition": "Records the subject's use of tobacco.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.extension", + "path": "Observation.extension", + "slicing": { + "id": "80", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "81", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "79", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + } + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-ONCSmokingStatus.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-ONCSmokingStatus", + "path": "Observation", + "short": "SHR ONCSmokingStatus Profile", + "definition": "Records the subject's use of tobacco." + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11367-0" + } + ] + } + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "79", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + } + }, + { + "id": "Observation:shr-behavior-ONCSmokingStatus.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json new file mode 100755 index 0000000..47757a6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLevel.json @@ -0,0 +1,2272 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-PhysicalActivityLevel", + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalActivityLevel Profile

\n

The amount of exercise or other physical activity compared to others of the same age. See BMC Medical Research Methodology 2012 12:20 1471-2288.

\n

SHR Mapping Summary

\n

shr.behavior.PhysicalActivityLevel maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.PhysicalActivityLevel" + } + ], + "name": "SHR PhysicalActivityLevel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.072Z", + "description": "The amount of exercise or other physical activity compared to others of the same age. See BMC Medical Research Methodology 2012 12:20 1471-2288.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-PhysicalActivityLevel", + "path": "Observation", + "short": "SHR PhysicalActivityLevel Profile", + "definition": "The amount of exercise or other physical activity compared to others of the same age. See BMC Medical Research Methodology 2012 12:20 1471-2288.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension", + "path": "Observation.extension", + "slicing": { + "id": "104", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:exercisehoursperweek", + "path": "Observation.extension", + "sliceName": "exercisehoursperweek", + "definition": "Hours of moderate or vigorous activity per week.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:physicalactivitylimitation", + "path": "Observation.extension", + "sliceName": "physicalactivitylimitation", + "definition": "Anything that limits physical activity, including health factors, logistical, monetary, or social restrictions.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "105", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.category", + "path": "Observation.category", + "slicing": { + "id": "102", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "103", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-PhysicalActivityLevel.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-PhysicalActivityLevel", + "path": "Observation", + "short": "SHR PhysicalActivityLevel Profile", + "definition": "The amount of exercise or other physical activity compared to others of the same age. See BMC Medical Research Methodology 2012 12:20 1471-2288." + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:exercisehoursperweek", + "path": "Observation.extension", + "sliceName": "exercisehoursperweek", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.extension:physicalactivitylimitation", + "path": "Observation.extension", + "sliceName": "physicalactivitylimitation", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.category", + "path": "Observation.category", + "slicing": { + "id": "102", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "103", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + } + }, + { + "id": "Observation:shr-behavior-PhysicalActivityLevel.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json new file mode 100755 index 0000000..12e9b4c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-PhysicalActivityLimitation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalActivityLimitation Extension

\n

Anything that limits physical activity, including health factors, logistical, monetary, or social restrictions.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.PhysicalActivityLimitation" + } + ], + "name": "SHR PhysicalActivityLimitation Extension", + "title": "SHR PhysicalActivityLimitation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.073Z", + "description": "Anything that limits physical activity, including health factors, logistical, monetary, or social restrictions.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:physicalactivitylimitation", + "path": "Extension", + "short": "SHR PhysicalActivityLimitation Extension", + "definition": "Anything that limits physical activity, including health factors, logistical, monetary, or social restrictions.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:physicalactivitylimitation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:physicalactivitylimitation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:physicalactivitylimitation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:physicalactivitylimitation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-PhysicalActivityLimitationVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:physicalactivitylimitation", + "path": "Extension", + "short": "SHR PhysicalActivityLimitation Extension", + "definition": "Anything that limits physical activity, including health factors, logistical, monetary, or social restrictions.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:physicalactivitylimitation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:physicalactivitylimitation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension" + }, + { + "id": "Extension:physicalactivitylimitation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-PhysicalActivityLimitationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json new file mode 100755 index 0000000..0f71403 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReadinessToChange-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ReadinessToChange-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReadinessToChange Extension

\n

How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReadinessToChange" + } + ], + "name": "SHR ReadinessToChange Extension", + "title": "SHR ReadinessToChange Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.997Z", + "description": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:readinesstochange", + "path": "Extension", + "short": "SHR ReadinessToChange Extension", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:readinesstochange.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:readinesstochange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:readinesstochange.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:readinesstochange.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:readinesstochange", + "path": "Extension", + "short": "SHR ReadinessToChange Extension", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:readinesstochange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:readinesstochange.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + }, + { + "id": "Extension:readinesstochange.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json new file mode 100755 index 0000000..0443b39 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPractice.json @@ -0,0 +1,2340 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ReligiousPractice", + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousPractice Profile

\n

The religion practiced by the focal subject.

\n

SHR Mapping Summary

\n

shr.behavior.ReligiousPractice maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to http://hl7.org/fhir/StructureDefinition/patient-religion  //????\n  ReligiousCongregation maps to http://hl7.org/fhir/StructureDefinition/patient-congregation\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousPractice" + } + ], + "name": "SHR ReligiousPractice Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.048Z", + "description": "The religion practiced by the focal subject.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-ReligiousPractice", + "path": "Observation", + "short": "SHR ReligiousPractice Profile", + "definition": "The religion practiced by the focal subject.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension", + "path": "Observation.extension", + "slicing": { + "id": "92", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiouscongregation", + "path": "Observation.extension", + "sliceName": "religiouscongregation", + "definition": "A group of place of religious practice.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-congregation" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-religion // ????" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/v3/ReligiousAffiliation" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiouspracticestatus", + "path": "Observation.extension", + "sliceName": "religiouspracticestatus", + "definition": "The extent to which the religious practice is actively followed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiousrestriction", + "path": "Observation.extension", + "sliceName": "religiousrestriction", + "definition": "Any restriction on that derives from religion and may impact medical treatment, other than dietary (handled elsewhere).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "93", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.category", + "path": "Observation.category", + "slicing": { + "id": "91", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "81364-2" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-ReligiousPractice.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-ReligiousPractice", + "path": "Observation", + "short": "SHR ReligiousPractice Profile", + "definition": "The religion practiced by the focal subject." + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiouscongregation", + "path": "Observation.extension", + "sliceName": "religiouscongregation", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-congregation" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-religion // ????" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/v3/ReligiousAffiliation" + } + } + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiouspracticestatus", + "path": "Observation.extension", + "sliceName": "religiouspracticestatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.extension:religiousrestriction", + "path": "Observation.extension", + "sliceName": "religiousrestriction", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.category", + "path": "Observation.category", + "slicing": { + "id": "91", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "81364-2" + } + ] + } + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-ReligiousPractice.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json new file mode 100755 index 0000000..b6b65ec --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ReligiousPracticeStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousPracticeStatus Extension

\n

The extent to which the religious practice is actively followed.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousPracticeStatus" + } + ], + "name": "SHR ReligiousPracticeStatus Extension", + "title": "SHR ReligiousPracticeStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.049Z", + "description": "The extent to which the religious practice is actively followed.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:religiouspracticestatus", + "path": "Extension", + "short": "SHR ReligiousPracticeStatus Extension", + "definition": "The extent to which the religious practice is actively followed.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:religiouspracticestatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:religiouspracticestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:religiouspracticestatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:religiouspracticestatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousPracticeStatusVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:religiouspracticestatus", + "path": "Extension", + "short": "SHR ReligiousPracticeStatus Extension", + "definition": "The extent to which the religious practice is actively followed.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:religiouspracticestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:religiouspracticestatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension" + }, + { + "id": "Extension:religiouspracticestatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousPracticeStatusVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json new file mode 100755 index 0000000..67b61ea --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ReligiousRestriction-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ReligiousRestriction-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousRestriction Extension

\n

Any restriction on that derives from religion and may impact medical treatment, other than dietary (handled elsewhere).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousRestriction" + } + ], + "name": "SHR ReligiousRestriction Extension", + "title": "SHR ReligiousRestriction Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.049Z", + "description": "Any restriction on that derives from religion and may impact medical treatment, other than dietary (handled elsewhere).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:religiousrestriction", + "path": "Extension", + "short": "SHR ReligiousRestriction Extension", + "definition": "Any restriction on that derives from religion and may impact medical treatment, other than dietary (handled elsewhere).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:religiousrestriction.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:religiousrestriction.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:religiousrestriction.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:religiousrestriction.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousRestrictionVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:religiousrestriction", + "path": "Extension", + "short": "SHR ReligiousRestriction Extension", + "definition": "Any restriction on that derives from religion and may impact medical treatment, other than dietary (handled elsewhere).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:religiousrestriction.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:religiousrestriction.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension" + }, + { + "id": "Extension:religiousrestriction.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousRestrictionVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json new file mode 100755 index 0000000..bb028bd --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQuality.json @@ -0,0 +1,2416 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-SleepQuality", + "text": { + "status": "generated", + "div": "
\n

SHR SleepQuality Profile

\n

Self-reported sleep quality.

\n

SHR Mapping Summary

\n

shr.behavior.SleepQuality maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SleepQuality" + } + ], + "name": "SHR SleepQuality Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.063Z", + "description": "Self-reported sleep quality.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-SleepQuality", + "path": "Observation", + "short": "SHR SleepQuality Profile", + "definition": "Self-reported sleep quality.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SleepQuality.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SleepQuality.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension", + "path": "Observation.extension", + "slicing": { + "id": "100", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "definition": "The name of the formal assessment or screening tool used to assess the behavior.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "definition": "How motivated the subject is to change the behavior, if the behavior is ongoing, and change would be beneficial.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:troublefallingasleep", + "path": "Observation.extension", + "sliceName": "troublefallingasleep", + "definition": "How often the subject has trouble falling asleep.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:troublestayingasleep", + "path": "Observation.extension", + "sliceName": "troublestayingasleep", + "definition": "How often the subject has trouble staying asleep.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:wakefeelingrested", + "path": "Observation.extension", + "sliceName": "wakefeelingrested", + "definition": "How often the subject feels rested when they wake up.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:hourssleeppernight", + "path": "Observation.extension", + "sliceName": "hourssleeppernight", + "definition": "Typical hours spent sleeping per night.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:sleepqualityreason", + "path": "Observation.extension", + "sliceName": "sleepqualityreason", + "definition": "Reason for poor sleep quality.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "101", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.category", + "path": "Observation.category", + "slicing": { + "id": "98", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "99", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-SleepQuality.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-SleepQuality", + "path": "Observation", + "short": "SHR SleepQuality Profile", + "definition": "Self-reported sleep quality." + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:assessmenttool", + "path": "Observation.extension", + "sliceName": "assessmenttool", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:readinesstochange", + "path": "Observation.extension", + "sliceName": "readinesstochange", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:troublefallingasleep", + "path": "Observation.extension", + "sliceName": "troublefallingasleep", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:troublestayingasleep", + "path": "Observation.extension", + "sliceName": "troublestayingasleep", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:wakefeelingrested", + "path": "Observation.extension", + "sliceName": "wakefeelingrested", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:hourssleeppernight", + "path": "Observation.extension", + "sliceName": "hourssleeppernight", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.extension:sleepqualityreason", + "path": "Observation.extension", + "sliceName": "sleepqualityreason", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SleepQuality.category", + "path": "Observation.category", + "slicing": { + "id": "98", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.category:54511-1", + "path": "Observation.category", + "sliceName": "54511-1", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54511-1" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "28323-4" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-SleepQuality.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "99", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-SleepQuality.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS" + } + } + }, + { + "id": "Observation:shr-behavior-SleepQuality.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json new file mode 100755 index 0000000..8ea37bc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SleepQualityReason-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-SleepQualityReason-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SleepQualityReason Extension

\n

Reason for poor sleep quality.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SleepQualityReason" + } + ], + "name": "SHR SleepQualityReason Extension", + "title": "SHR SleepQualityReason Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.065Z", + "description": "Reason for poor sleep quality.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:sleepqualityreason", + "path": "Extension", + "short": "SHR SleepQualityReason Extension", + "definition": "Reason for poor sleep quality.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:sleepqualityreason.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sleepqualityreason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:sleepqualityreason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sleepqualityreason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SleepQualityReasonVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:sleepqualityreason", + "path": "Extension", + "short": "SHR SleepQualityReason Extension", + "definition": "Reason for poor sleep quality.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:sleepqualityreason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:sleepqualityreason.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension" + }, + { + "id": "Extension:sleepqualityreason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SleepQualityReasonVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json new file mode 100755 index 0000000..57ac878 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-SpecialDietFollowed-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SpecialDietFollowed Extension

\n

A type of nutritional plan followed by the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SpecialDietFollowed" + } + ], + "name": "SHR SpecialDietFollowed Extension", + "title": "SHR SpecialDietFollowed Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.056Z", + "description": "A type of nutritional plan followed by the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:specialdietfollowed", + "path": "Extension", + "short": "SHR SpecialDietFollowed Extension", + "definition": "A type of nutritional plan followed by the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:specialdietfollowed.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:specialdietfollowed.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:specialdietfollowed.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:specialdietfollowed.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SpecialDietFollowedVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:specialdietfollowed", + "path": "Extension", + "short": "SHR SpecialDietFollowed Extension", + "definition": "A type of nutritional plan followed by the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:specialdietfollowed.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:specialdietfollowed.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension" + }, + { + "id": "Extension:specialdietfollowed.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SpecialDietFollowedVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json new file mode 100755 index 0000000..a997abe --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json @@ -0,0 +1,1434 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-SubstanceAbuseTreatment", + "text": { + "status": "generated", + "div": "
\n

SHR SubstanceAbuseTreatment Profile

\n

The treatment program used to address a substance abuse problem.

\n

SHR Mapping Summary

\n

shr.behavior.SubstanceAbuseTreatment maps to Procedure:\n  ProcedureStatus maps to status\n  NonOccurrenceModifier maps to notPerformed\n  NonOccurrenceModifier.Reason maps to reasonNotPerformed\n  OccurrenceTime.dateTime maps to performed[x].dateTime\n  OccurrenceTime.TimePeriod maps to performed[x].Period\n  ProcedureParticipant maps to performer\n  ProcedureParticipant.PersonOfRecord maps to performer.actor\n  ProcedureParticipant.Practitioner maps to performer.actor\n  ProcedureParticipant.RelatedPerson maps to performer.actor\n  ProcedureParticipant.ParticipationType maps to performer.role\n  Facility maps to location\n  Reason maps to reasonCode\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceAbuseTreatment", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SubstanceAbuseTreatment" + } + ], + "name": "SHR SubstanceAbuseTreatment Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.077Z", + "description": "The treatment program used to address a substance abuse problem.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-behavior-SubstanceAbuseTreatment", + "path": "Procedure", + "short": "SHR SubstanceAbuseTreatment Profile", + "definition": "The treatment program used to address a substance abuse problem.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "pro-1", + "severity": "error", + "human": "Reason not performed is only permitted if notPerformed indicator is true", + "expression": "reasonNotPerformed.empty() or notPerformed = true", + "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.language", + "path": "Procedure.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension", + "path": "Procedure.extension", + "slicing": { + "id": "106", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension:codeableconcept", + "path": "Procedure.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceAbuseTreatmentTypeVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "This records identifiers associated with this procedure 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 (e.g. in CDA documents, or in written / printed documentation).", + "requirements": "Need to allow connection to a wider workflow.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.status", + "path": "Procedure.status", + "short": "in-progress | aborted | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally this will be in-progress or completed state.", + "comments": "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.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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\").", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code to identify a specific procedure .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-code" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.encounter", + "path": "Procedure.encounter", + "short": "The encounter associated with the procedure", + "definition": "The encounter during which the procedure was performed.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performed[x]", + "path": "Procedure.performed[x]", + "short": "Date/Period the procedure was performed", + "definition": "The date(time)/period over which 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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer", + "path": "Procedure.performer", + "short": "The people who performed the procedure", + "definition": "Limited to 'real' people rather than equipment.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.id", + "path": "Procedure.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.modifierExtension", + "path": "Procedure.performer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.role", + "path": "Procedure.performer.role", + "short": "The role the actor was in", + "definition": "For example: surgeon, anaethetist, endoscopist.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType" + } + }, + "mapping": [ + { + "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:shr-behavior-SubstanceAbuseTreatment.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonReference", + "path": "Procedure.reasonReference", + "short": "Condition that is the reason the procedure performed", + "definition": "The condition that is the reason why the procedure was performed.", + "comments": "e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.notPerformed", + "path": "Procedure.notPerformed", + "short": "True if procedure was not performed as scheduled", + "definition": "Set this to true if the record is saying that the procedure was NOT performed.", + "comments": "If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say \"There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome\" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": false, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".actionNegationInd" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonNotPerformed", + "path": "Procedure.reasonNotPerformed", + "short": "Reason procedure was not performed", + "definition": "A code indicating why the procedure was not performed.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "pro-1" + ], + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve reasons for the procedure being performed?", + "comments": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc..", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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.", + "comments": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "Need specialization of OUT for this." + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-followup" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.request", + "path": "Procedure.request", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.notes", + "path": "Procedure.notes", + "short": "Additional information about the procedure", + "definition": "Any other notes about the procedure. E.g. the operative notes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice", + "path": "Procedure.focalDevice", + "short": "Device changed in procedure", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.id", + "path": "Procedure.focalDevice.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "required", + "description": "A kind of change that happened to the device during the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-action" + } + } + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comments": "For devices actually implanted or removed, use Procedure.device.", + "requirements": "Used for tracking contamination, etc.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comments": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing items used during a procedure" + } + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.component", + "path": "Procedure.component", + "short": "Events related to the procedure", + "definition": "Identifies medication administrations, other procedures or observations that are related to this procedure.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment", + "path": "Procedure", + "short": "SHR SubstanceAbuseTreatment Profile", + "definition": "The treatment program used to address a substance abuse problem." + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.extension:codeableconcept", + "path": "Procedure.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceAbuseTreatmentTypeVS" + } + } + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performed[x]", + "path": "Procedure.performed[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer", + "path": "Procedure.performer" + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.actor", + "path": "Procedure.performer.actor", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.performer.role", + "path": "Procedure.performer.role", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType" + } + } + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.location", + "path": "Procedure.location", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonCode", + "path": "Procedure.reasonCode", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Procedure:shr-behavior-SubstanceAbuseTreatment.reasonNotPerformed", + "path": "Procedure.reasonNotPerformed", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json new file mode 100755 index 0000000..fb850c7 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-SubstanceUse.json @@ -0,0 +1,2686 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-SubstanceUse", + "text": { + "status": "generated", + "div": "
\n

SHR SubstanceUse Profile

\n

Assertion concerning the past or current use of a substance (alcohol, recreational drugs, illegal drugs, or abuse of prescription medication) that could negatively impact the subject's health.

\n

SHR Mapping Summary

\n

shr.behavior.SubstanceUse maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SubstanceUse" + } + ], + "name": "SHR SubstanceUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.003Z", + "description": "Assertion concerning the past or current use of a substance (alcohol, recreational drugs, illegal drugs, or abuse of prescription medication) that could negatively impact the subject's health.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-behavior-SubstanceUse", + "path": "Observation", + "short": "SHR SubstanceUse Profile", + "definition": "Assertion concerning the past or current use of a substance (alcohol, recreational drugs, illegal drugs, or abuse of prescription medication) that could negatively impact the subject's health.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-behavior-SubstanceUse.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension", + "path": "Observation.extension", + "slicing": { + "id": "73", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "74", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category", + "path": "Observation.category", + "slicing": { + "id": "72", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-behavior-SubstanceUse.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-behavior-SubstanceUse", + "path": "Observation", + "short": "SHR SubstanceUse Profile", + "definition": "Assertion concerning the past or current use of a substance (alcohol, recreational drugs, illegal drugs, or abuse of prescription medication) that could negatively impact the subject's health." + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS" + } + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category", + "path": "Observation.category", + "slicing": { + "id": "72", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C024251", + "path": "Observation.category", + "sliceName": "C024251", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C024251" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-behavior-SubstanceUse.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-behavior-SubstanceUse.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.value[x]", + "path": "Observation.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-behavior-SubstanceUse.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json new file mode 100755 index 0000000..95d0755 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-TroubleFallingAsleep-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TroubleFallingAsleep Extension

\n

How often the subject has trouble falling asleep.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.TroubleFallingAsleep" + } + ], + "name": "SHR TroubleFallingAsleep Extension", + "title": "SHR TroubleFallingAsleep Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.064Z", + "description": "How often the subject has trouble falling asleep.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:troublefallingasleep", + "path": "Extension", + "short": "SHR TroubleFallingAsleep Extension", + "definition": "How often the subject has trouble falling asleep.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:troublefallingasleep.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:troublefallingasleep.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:troublefallingasleep.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:troublefallingasleep.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:troublefallingasleep", + "path": "Extension", + "short": "SHR TroubleFallingAsleep Extension", + "definition": "How often the subject has trouble falling asleep.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:troublefallingasleep.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:troublefallingasleep.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension" + }, + { + "id": "Extension:troublefallingasleep.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json new file mode 100755 index 0000000..e9ac82e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-TroubleStayingAsleep-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TroubleStayingAsleep Extension

\n

How often the subject has trouble staying asleep.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.TroubleStayingAsleep" + } + ], + "name": "SHR TroubleStayingAsleep Extension", + "title": "SHR TroubleStayingAsleep Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.064Z", + "description": "How often the subject has trouble staying asleep.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:troublestayingasleep", + "path": "Extension", + "short": "SHR TroubleStayingAsleep Extension", + "definition": "How often the subject has trouble staying asleep.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:troublestayingasleep.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:troublestayingasleep.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:troublestayingasleep.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:troublestayingasleep.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:troublestayingasleep", + "path": "Extension", + "short": "SHR TroubleStayingAsleep Extension", + "definition": "How often the subject has trouble staying asleep.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:troublestayingasleep.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:troublestayingasleep.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension" + }, + { + "id": "Extension:troublestayingasleep.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json new file mode 100755 index 0000000..eddf180 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentBehaviorRisk.json @@ -0,0 +1,597 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ViolentBehaviorRisk", + "text": { + "status": "generated", + "div": "
\n

SHR ViolentBehaviorRisk Profile

\n

Risk or danger posed by the focal subject to others and/or his or herself due to violent behavior.

\n

SHR Mapping Summary

\n

shr.behavior.ViolentBehaviorRisk maps to Basic:\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ViolentBehaviorRisk" + } + ], + "name": "SHR ViolentBehaviorRisk Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.079Z", + "description": "Risk or danger posed by the focal subject to others and/or his or herself due to violent behavior.", + "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Basic", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk", + "path": "Basic", + "short": "SHR ViolentBehaviorRisk Profile", + "definition": "Risk or danger posed by the focal subject to others and/or his or herself due to violent behavior.", + "alias": [ + "Z-resource", + "Extension-resource", + "Custom-resource" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Act, Entity or Role" + }, + { + "identity": "w5", + "map": "infrastructure.structure" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.id", + "path": "Basic.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.meta", + "path": "Basic.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.implicitRules", + "path": "Basic.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.language", + "path": "Basic.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.text", + "path": "Basic.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.contained", + "path": "Basic.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.extension", + "path": "Basic.extension", + "slicing": { + "id": "109", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.extension:violentrisktoothers", + "path": "Basic.extension", + "sliceName": "violentrisktoothers", + "definition": "Risk or danger posed by the focal subject to others.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.extension:violentrisktoself", + "path": "Basic.extension", + "sliceName": "violentrisktoself", + "definition": "Risk or danger posed by the focal subject to his or herself.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.modifierExtension", + "path": "Basic.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.identifier", + "path": "Basic.identifier", + "short": "Business identifier", + "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.code", + "path": "Basic.code", + "short": "Kind of Resource", + "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", + "comments": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.", + "requirements": "Must be able to distinguish different types of \"basic\" resources.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-behavior-ViolentBehaviorRisk" + } + ] + }, + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes for identifying types of resources not yet defined by FHIR", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.subject", + "path": "Basic.subject", + "short": "Identifies the focus of this resource", + "definition": "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", + "comments": "Optional as not all resources potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.", + "requirements": "Needed for partitioning the resource by Patient.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.created", + "path": "Basic.created", + "short": "When created", + "definition": "Identifies when the resource was first created.", + "requirements": "Allows ordering resource instances by time.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.author", + "path": "Basic.author", + "short": "Who created", + "definition": "Indicates who was responsible for creating the resource instance.", + "requirements": "Needed for partitioning the resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SUB'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk", + "path": "Basic", + "short": "SHR ViolentBehaviorRisk Profile", + "definition": "Risk or danger posed by the focal subject to others and/or his or herself due to violent behavior." + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.extension:violentrisktoothers", + "path": "Basic.extension", + "sliceName": "violentrisktoothers", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Basic:shr-behavior-ViolentBehaviorRisk.extension:violentrisktoself", + "path": "Basic.extension", + "sliceName": "violentrisktoself", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json new file mode 100755 index 0000000..99064c4 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json @@ -0,0 +1,416 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ViolentRiskToOthers-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ViolentRiskToOthers Extension

\n

Risk or danger posed by the focal subject to others.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ViolentRiskToOthers" + } + ], + "name": "SHR ViolentRiskToOthers Extension", + "title": "SHR ViolentRiskToOthers Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.079Z", + "description": "Risk or danger posed by the focal subject to others.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:violentrisktoothers", + "path": "Extension", + "short": "SHR ViolentRiskToOthers Extension", + "definition": "Risk or danger posed by the focal subject to others.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:violentrisktoothers.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoothers.extension", + "path": "Extension.extension", + "slicing": { + "id": "107", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:violentrisktoothers.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "isModifier": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoothers.extension:explanation", + "path": "Extension.extension", + "sliceName": "explanation", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoothers.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoothers.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:violentrisktoothers", + "path": "Extension", + "short": "SHR ViolentRiskToOthers Extension", + "definition": "Risk or danger posed by the focal subject to others.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:violentrisktoothers.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + } + }, + { + "id": "Extension:violentrisktoothers.extension:explanation", + "path": "Extension.extension", + "sliceName": "explanation", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension" + } + ] + }, + { + "id": "Extension:violentrisktoothers.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension" + }, + { + "id": "Extension:violentrisktoothers.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json new file mode 100755 index 0000000..6a4a075 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json @@ -0,0 +1,416 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-ViolentRiskToSelf-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ViolentRiskToSelf Extension

\n

Risk or danger posed by the focal subject to his or herself.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ViolentRiskToSelf" + } + ], + "name": "SHR ViolentRiskToSelf Extension", + "title": "SHR ViolentRiskToSelf Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.080Z", + "description": "Risk or danger posed by the focal subject to his or herself.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:violentrisktoself", + "path": "Extension", + "short": "SHR ViolentRiskToSelf Extension", + "definition": "Risk or danger posed by the focal subject to his or herself.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:violentrisktoself.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoself.extension", + "path": "Extension.extension", + "slicing": { + "id": "108", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:violentrisktoself.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "isModifier": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoself.extension:explanation", + "path": "Extension.extension", + "sliceName": "explanation", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoself.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:violentrisktoself.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:violentrisktoself", + "path": "Extension", + "short": "SHR ViolentRiskToSelf Extension", + "definition": "Risk or danger posed by the focal subject to his or herself.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:violentrisktoself.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS" + } + } + }, + { + "id": "Extension:violentrisktoself.extension:explanation", + "path": "Extension.extension", + "sliceName": "explanation", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension" + } + ] + }, + { + "id": "Extension:violentrisktoself.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension" + }, + { + "id": "Extension:violentrisktoself.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json new file mode 100755 index 0000000..f67d43d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-behavior-WakeFeelingRested-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-behavior-WakeFeelingRested-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WakeFeelingRested Extension

\n

How often the subject feels rested when they wake up.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.WakeFeelingRested" + } + ], + "name": "SHR WakeFeelingRested Extension", + "title": "SHR WakeFeelingRested Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.064Z", + "description": "How often the subject feels rested when they wake up.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:wakefeelingrested", + "path": "Extension", + "short": "SHR WakeFeelingRested Extension", + "definition": "How often the subject feels rested when they wake up.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:wakefeelingrested.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:wakefeelingrested.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:wakefeelingrested.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:wakefeelingrested.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:wakefeelingrested", + "path": "Extension", + "short": "SHR WakeFeelingRested Extension", + "definition": "How often the subject feels rested when they wake up.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:wakefeelingrested.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:wakefeelingrested.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension" + }, + { + "id": "Extension:wakefeelingrested.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json new file mode 100755 index 0000000..a84b71e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Address.json @@ -0,0 +1,576 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Address", + "text": { + "status": "generated", + "div": "
\n

SHR Address Profile

\n

An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR).

\n

SHR Mapping Summary

\n

shr.core.Address maps to Address:\n  AddressLine maps to line\n  City maps to city\n  County maps to district\n  State maps to state\n  PostalCode maps to postalCode\n  Country maps to country\n  use is 0..0\n  type is 0..0\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Address" + } + ], + "name": "SHR Address Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.304Z", + "description": "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR).", + "purpose": "Need to be able to record postal addresses, along with notes about their use.", + "fhirVersion": "1.8.0", + "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": "vcard", + "uri": "http://w3.org/vcard", + "name": "vCard Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Address", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Address:shr-core-Address", + "path": "Address", + "short": "SHR Address Profile", + "definition": "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR).", + "comments": "Note: address is for postal addresses, not physical locations.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XAD" + }, + { + "identity": "rim", + "map": "AD" + }, + { + "identity": "servd", + "map": "Address" + } + ] + }, + { + "id": "Address:shr-core-Address.id", + "path": "Address.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-Address.extension", + "path": "Address.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-Address.use", + "path": "Address.use", + "short": "home | work | temp | old - purpose of this address", + "definition": "The purpose of this address.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. 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": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of an address", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Address:shr-core-Address.type", + "path": "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.", + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of an address (physical / postal)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Address:shr-core-Address.text", + "path": "Address.text", + "short": "Text representation of the address", + "definition": "A full text representation of the address.", + "comments": "Can provide both a text representation and parts.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "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": "Address:shr-core-Address.line", + "path": "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.", + "requirements": "home | work | temp | old - purpose of this address.", + "min": 0, + "max": "2", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "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": "Address:shr-core-Address.city", + "path": "Address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Address:shr-core-Address.district", + "path": "Address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Address:shr-core-Address.state", + "path": "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 (i.e. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + } + ] + }, + { + "id": "Address:shr-core-Address.postalCode", + "path": "Address.postalCode", + "short": "Postal code for area", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Address:shr-core-Address.country", + "path": "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.", + "comments": "ISO 3166 3 letter codes can be used in place of a full country name.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Address:shr-core-Address.period", + "path": "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", + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Address:shr-core-Address", + "path": "Address", + "short": "SHR Address Profile", + "definition": "An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations and which might not be valid for mail delivery. There are a variety of postal address formats defined around the world. (Source: HL7 FHIR)." + }, + { + "id": "Address:shr-core-Address.use", + "path": "Address.use", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-Address.type", + "path": "Address.type", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-Address.line", + "path": "Address.line", + "min": 0, + "max": "2" + }, + { + "id": "Address:shr-core-Address.country", + "path": "Address.country", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json new file mode 100755 index 0000000..f6d3819 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Age-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Age-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Age Extension

\n

How long something has existed (quantitative).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Age" + } + ], + "name": "SHR Age Extension", + "title": "SHR Age Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "How long something has existed (quantitative).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:age", + "path": "Extension", + "short": "SHR Age Extension", + "definition": "How long something has existed (quantitative).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:age.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:age.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:age.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:age.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:age", + "path": "Extension", + "short": "SHR Age Extension", + "definition": "How long something has existed (quantitative).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:age.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:age.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension" + }, + { + "id": "Extension:age.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json new file mode 100755 index 0000000..63cb01e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Age.json @@ -0,0 +1,335 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Age", + "text": { + "status": "generated", + "div": "
\n

SHR Age Profile

\n

How long something has existed (quantitative).

\n

SHR Mapping Summary

\n

shr.core.Age maps to Age:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Age" + } + ], + "name": "SHR Age Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.299Z", + "description": "How long something has existed (quantitative).", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Age", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Age", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Age:shr-core-Age", + "path": "Age", + "short": "SHR Age Profile", + "definition": "How long something has existed (quantitative).", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)", + "source": "Quantity" + }, + { + "key": "age-1", + "severity": "error", + "human": "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. If value is present, it SHALL be positive.", + "expression": "(code or value.empty()) and (system.empty() or system = %ucum) and (value.empty() or value.toString().contains('.').not())", + "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org') and not(contains(f:value/@value, '-'))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + }, + { + "identity": "rim", + "map": "PQ" + } + ] + }, + { + "id": "Age:shr-core-Age.id", + "path": "Age.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Age:shr-core-Age.extension", + "path": "Age.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Age:shr-core-Age.value", + "path": "Age.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.", + "comments": "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" + } + ], + "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": "Age:shr-core-Age.comparator", + "path": "Age.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.", + "comments": "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.", + "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", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Age:shr-core-Age.unit", + "path": "Age.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": 0, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Age:shr-core-Age.system", + "path": "Age.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": 0, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Age:shr-core-Age.code", + "path": "Age.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Age:shr-core-Age", + "path": "Age", + "short": "SHR Age Profile", + "definition": "How long something has existed (quantitative)." + }, + { + "id": "Age:shr-core-Age.value", + "path": "Age.value", + "min": 1, + "max": "1" + }, + { + "id": "Age:shr-core-Age.code", + "path": "Age.code", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json new file mode 100755 index 0000000..6201d67 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeGroup-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-AgeGroup-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AgeGroup Extension

\n

Subgroups of populations based on age.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.AgeGroup" + } + ], + "name": "SHR AgeGroup Extension", + "title": "SHR AgeGroup Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "Subgroups of populations based on age.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:agegroup", + "path": "Extension", + "short": "SHR AgeGroup Extension", + "definition": "Subgroups of populations based on age.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:agegroup.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agegroup.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:agegroup.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agegroup.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-AgeGroupVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:agegroup", + "path": "Extension", + "short": "SHR AgeGroup Extension", + "definition": "Subgroups of populations based on age.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:agegroup.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:agegroup.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension" + }, + { + "id": "Extension:agegroup.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-AgeGroupVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json new file mode 100755 index 0000000..0a58c96 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-AgeRange-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-AgeRange-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AgeRange Extension

\n

A quantitative range of ages. One of the two ages must be specified.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.AgeRange" + } + ], + "name": "SHR AgeRange Extension", + "title": "SHR AgeRange Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "A quantitative range of ages. One of the two ages must be specified.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:agerange", + "path": "Extension", + "short": "SHR AgeRange Extension", + "definition": "A quantitative range of ages. One of the two ages must be specified.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:agerange.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agerange.extension", + "path": "Extension.extension", + "slicing": { + "id": "7", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:agerange.extension:lowerbound", + "path": "Extension.extension", + "sliceName": "lowerbound", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agerange.extension:upperbound", + "path": "Extension.extension", + "sliceName": "upperbound", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agerange.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:agerange.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:agerange", + "path": "Extension", + "short": "SHR AgeRange Extension", + "definition": "A quantitative range of ages. One of the two ages must be specified.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:agerange.extension:lowerbound", + "path": "Extension.extension", + "sliceName": "lowerbound", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension" + } + ] + }, + { + "id": "Extension:agerange.extension:upperbound", + "path": "Extension.extension", + "sliceName": "upperbound", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension" + } + ] + }, + { + "id": "Extension:agerange.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension" + }, + { + "id": "Extension:agerange.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json new file mode 100755 index 0000000..2f82999 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Annotation.json @@ -0,0 +1,244 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Annotation", + "text": { + "status": "generated", + "div": "
\n

SHR Annotation Profile

\n

A text note which also contains information about who made the statement and when.

\n

SHR Mapping Summary

\n

shr.core.Annotation maps to Annotation:\n  string maps to text\n  Author maps to author[x].Reference\n  OccurrenceTime maps to time\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Annotation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Annotation" + } + ], + "name": "SHR Annotation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.313Z", + "description": "A text note which also contains information about who made the statement and when.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Annotation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Annotation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Annotation:shr-core-Annotation", + "path": "Annotation", + "short": "SHR Annotation Profile", + "definition": "A text note which also contains information about who made the statement and when.", + "comments": "For systems that do not have structured annotations, they can simply communicate a single annotation with no author or time. This element may need to be included in narrative because of the potential for modifying information. *Annotations SHOULD NOT* be used to communicate \"modifying\" information that could be computable. (This is a SHOULD because enforcing user behavior is nearly impossible).", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Act" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.id", + "path": "Annotation.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.extension", + "path": "Annotation.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.author[x]", + "path": "Annotation.author[x]", + "short": "Individual responsible for the annotation", + "definition": "The individual responsible for making the annotation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Act.participant[typeCode=AUT].role" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.time", + "path": "Annotation.time", + "short": "When the annotation was made", + "definition": "Indicates when this particular annotation was made.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Act.effectiveTime" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.text", + "path": "Annotation.text", + "short": "The annotation - text content", + "definition": "The text of the annotation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Act.text" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Annotation:shr-core-Annotation", + "path": "Annotation", + "short": "SHR Annotation Profile", + "definition": "A text note which also contains information about who made the statement and when." + }, + { + "id": "Annotation:shr-core-Annotation.author[x]", + "path": "Annotation.author[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ] + }, + { + "id": "Annotation:shr-core-Annotation.time", + "path": "Annotation.time", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json new file mode 100755 index 0000000..33d5e72 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Area-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Area-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Area Extension

\n

The extent of a 2-dimensional surface enclosed within a boundary.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Area" + } + ], + "name": "SHR Area Extension", + "title": "SHR Area Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The extent of a 2-dimensional surface enclosed within a boundary.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:area", + "path": "Extension", + "short": "SHR Area Extension", + "definition": "The extent of a 2-dimensional surface enclosed within a boundary.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:area.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:area.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:area.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:area.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:area", + "path": "Extension", + "short": "SHR Area Extension", + "definition": "The extent of a 2-dimensional surface enclosed within a boundary.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:area.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:area.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension" + }, + { + "id": "Extension:area.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json new file mode 100755 index 0000000..2cf893b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-BodySite-extension", + "text": { + "status": "generated", + "div": "
\n

SHR BodySite Extension

\n

Location on or in the body.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.BodySite" + } + ], + "name": "SHR BodySite Extension", + "title": "SHR BodySite Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.884Z", + "description": "Location on or in the body.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:bodysite", + "path": "Extension", + "short": "SHR BodySite Extension", + "definition": "Location on or in the body.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:bodysite.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:bodysite.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:bodysite.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:bodysite.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:bodysite", + "path": "Extension", + "short": "SHR BodySite Extension", + "definition": "Location on or in the body.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:bodysite.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:bodysite.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension" + }, + { + "id": "Extension:bodysite.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json new file mode 100755 index 0000000..4aaaedc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-BodySite.json @@ -0,0 +1,672 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-BodySite", + "text": { + "status": "generated", + "div": "
\n

SHR BodySite Profile

\n

Location on or in the body.

\n

SHR Mapping Summary

\n

shr.core.BodySite maps to BodySite:\n  CodeableConcept maps to code\n  Laterality maps to modifier (slice on = coding.code)\n  Directionality maps to modifier\n  PortionTotality maps to modifier\n  Description maps to description\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.BodySite" + } + ], + "name": "SHR BodySite Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.310Z", + "description": "Location on or in the body.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "openehr", + "uri": "http://openehr.org", + "name": "Open EHR Archetype Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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": "BodySite", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/BodySite", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "BodySite:shr-core-BodySite", + "path": "BodySite", + "short": "SHR BodySite Profile", + "definition": "Location on or in the body.", + "alias": [ + "anatomical 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "openehr", + "map": "Archetype ID openEHR-EHR-CLUSTER.anatomical_location.v1 Concept name Anatomical Location Concept description Record details about an anatomical location. Keywords location, site, anatomical Copyright © openEHR Foundation Purpose To record details about anatomical location. Misuse Not for specifiying unilateral/bilateral occurence - this is related to an evaluation which perhaps includes multiple locations. Author Author name: Heather Leslie Organisation: Ocean Informatics Email: heather.leslie@oceaninformatics.com Date of Origination: 2008-11-10 Translator Norwegian Bokmål: Lars Bitsch-Larsen, Haukeland University Hospital of Bergen, Norway, MD, DEAA, MBA, spec in anesthesia, spec in tropical medicine. Arabic (Syria): Mona Saleh Other contributors Heather Leslie, Ocean Informatics, Australia (Editor) Ian McNicoll, freshEHR Clinical Informatics, United Kingdom (Editor) Dunmail Hodkinson, Black Pear Software Ltd, UK References Use cases: - 5LICS, midclavicular line - L forearm, 2cm anterior to the cubital fossa - Right iliac fossa - 5 cm below L tibial tuberosity - 2 cm medial to R nipple - 4 cm below R costal margin in midclavicular line - R femur - midline nose - medial aspect of R great toe nail." + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.id", + "path": "BodySite.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-core-BodySite.meta", + "path": "BodySite.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-core-BodySite.implicitRules", + "path": "BodySite.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "BodySite:shr-core-BodySite.language", + "path": "BodySite.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "BodySite:shr-core-BodySite.text", + "path": "BodySite.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.contained", + "path": "BodySite.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.extension", + "path": "BodySite.extension", + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.modifierExtension", + "path": "BodySite.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.patient", + "path": "BodySite.patient", + "short": "Patient", + "definition": "The person to which the body site belongs.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-core-BodySite.identifier", + "path": "BodySite.identifier", + "short": "Bodysite identifier", + "definition": "Identifier for this instance of the anatomical location.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "openehr", + "map": "Specific location Cluster Optional (0..1) Cardinality: Mandatory, repeating, unordered (1..*)" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.code", + "path": "BodySite.code", + "short": "Named anatomical location", + "definition": "Named anatomical location - ideally coded where possible.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "openehr", + "map": "Name of location" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.modifier", + "path": "BodySite.modifier", + "slicing": { + "id": "192", + "discriminator": [ + "coding.code" + ], + "ordered": false, + "rules": "open" + }, + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Concepts modifying the anatomic location", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/bodysite-relative-location" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-Laterality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Laterality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-Directionality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Directionality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-PortionTotality", + "path": "BodySite.modifier", + "sliceName": "shr-core-PortionTotality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.description", + "path": "BodySite.description", + "short": "The Description of anatomical location", + "definition": "Description of anatomical location.", + "comments": "This Description could include any visual markings used to orientate the viewer e.g. external reference points, special sutures, ink markings.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "openehr", + "map": "Description of anatomical location/Visual markings/orientation" + } + ] + }, + { + "id": "BodySite:shr-core-BodySite.image", + "path": "BodySite.image", + "short": "Attached images", + "definition": "Image or images used to identify a location.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "openehr", + "map": "Image" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "BodySite:shr-core-BodySite", + "path": "BodySite", + "short": "SHR BodySite Profile", + "definition": "Location on or in the body." + }, + { + "id": "BodySite:shr-core-BodySite.code", + "path": "BodySite.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "BodySite:shr-core-BodySite.modifier", + "path": "BodySite.modifier", + "slicing": { + "id": "192", + "discriminator": [ + "coding.code" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-Laterality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Laterality", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS" + } + } + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-Directionality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Directionality", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS" + } + } + }, + { + "id": "BodySite:shr-core-BodySite.modifier:shr-core-PortionTotality", + "path": "BodySite.modifier", + "sliceName": "shr-core-PortionTotality", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json new file mode 100755 index 0000000..8f8455d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Circumference-extension.json @@ -0,0 +1,324 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Circumference-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Circumference Extension

\n

The length of such a boundary line of a figure, area, or object.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Circumference" + } + ], + "name": "SHR Circumference Extension", + "title": "SHR Circumference Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The length of such a boundary line of a figure, area, or object.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:circumference", + "path": "Extension", + "short": "SHR Circumference Extension", + "definition": "The length of such a boundary line of a figure, area, or object.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:circumference.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:circumference.extension", + "path": "Extension.extension", + "slicing": { + "id": "264", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:circumference.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:circumference.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:circumference", + "path": "Extension", + "short": "SHR Circumference Extension", + "definition": "The length of such a boundary line of a figure, area, or object.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:circumference.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension" + }, + { + "id": "Extension:circumference.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json new file mode 100755 index 0000000..221e97f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-ClockDirection-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-ClockDirection-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ClockDirection Extension

\n

A direction indicated by an angle relative to 12 o'clock.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ClockDirection" + } + ], + "name": "SHR ClockDirection Extension", + "title": "SHR ClockDirection Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "A direction indicated by an angle relative to 12 o'clock.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:clockdirection", + "path": "Extension", + "short": "SHR ClockDirection Extension", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:clockdirection.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:clockdirection.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:clockdirection.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:clockdirection.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClockDirectionVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:clockdirection", + "path": "Extension", + "short": "SHR ClockDirection Extension", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:clockdirection.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:clockdirection.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension" + }, + { + "id": "Extension:clockdirection.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClockDirectionVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json new file mode 100755 index 0000000..cd7d66c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-CodeableConcept-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CodeableConcept Extension

\n

A set of codes drawn from different coding systems, representing the same concept.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.CodeableConcept" + } + ], + "name": "SHR CodeableConcept Extension", + "title": "SHR CodeableConcept Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.041Z", + "description": "A set of codes drawn from different coding systems, representing the same concept.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:codeableconcept", + "path": "Extension", + "short": "SHR CodeableConcept Extension", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:codeableconcept.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:codeableconcept.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:codeableconcept.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:codeableconcept.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:codeableconcept", + "path": "Extension", + "short": "SHR CodeableConcept Extension", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:codeableconcept.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:codeableconcept.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + }, + { + "id": "Extension:codeableconcept.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json new file mode 100755 index 0000000..7484302 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodeableConcept.json @@ -0,0 +1,241 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-CodeableConcept", + "text": { + "status": "generated", + "div": "
\n

SHR CodeableConcept Profile

\n

A set of codes drawn from different coding systems, representing the same concept.

\n

SHR Mapping Summary

\n

shr.core.CodeableConcept maps to CodeableConcept:\n  Coding maps to coding\n  DisplayText maps to text\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.CodeableConcept" + } + ], + "name": "SHR CodeableConcept Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.014Z", + "description": "A set of codes drawn from different coding systems, representing the same concept.", + "purpose": "This is a common pattern in healthcare - a concept that may be defined by one or more codes from formal definitions including LOINC and SNOMED CT, and/or defined by the provision of text that captures a human sense of the concept.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "orim", + "uri": "http://hl7.org/orim", + "name": "Ontological RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "CodeableConcept", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/CodeableConcept", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "CodeableConcept:shr-core-CodeableConcept", + "path": "CodeableConcept", + "short": "SHR CodeableConcept Profile", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "comments": "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "CE/CNE/CWE" + }, + { + "identity": "rim", + "map": "CD" + }, + { + "identity": "orim", + "map": "fhir:CodeableConcept rdfs:subClassOf dt:CD" + } + ] + }, + { + "id": "CodeableConcept:shr-core-CodeableConcept.id", + "path": "CodeableConcept.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CodeableConcept:shr-core-CodeableConcept.extension", + "path": "CodeableConcept.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CodeableConcept:shr-core-CodeableConcept.coding", + "path": "CodeableConcept.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Coding", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding" + } + ], + "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": "CodeableConcept:shr-core-CodeableConcept.text", + "path": "CodeableConcept.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.", + "comments": "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": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "CodeableConcept:shr-core-CodeableConcept", + "path": "CodeableConcept", + "short": "SHR CodeableConcept Profile", + "definition": "A set of codes drawn from different coding systems, representing the same concept." + }, + { + "id": "CodeableConcept:shr-core-CodeableConcept.coding", + "path": "CodeableConcept.coding", + "type": [ + { + "code": "Coding", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding" + } + ] + }, + { + "id": "CodeableConcept:shr-core-CodeableConcept.text", + "path": "CodeableConcept.text", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json new file mode 100755 index 0000000..e91d564 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Coding.json @@ -0,0 +1,373 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Coding", + "text": { + "status": "generated", + "div": "
\n

SHR Coding Profile

\n

Coding of a concept, drawn from a controlled vocabulary. Includes the vocabulary and version, if applicable. May include a display text, and a descriptor expressing the intended interpretation of the code.

\n

SHR Mapping Summary

\n

shr.core.Coding maps to Coding:\n  code maps to code\n  Vocabulary maps to system\n  VocabularyVersion maps to version\n  DisplayText maps to display\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Coding" + } + ], + "name": "SHR Coding Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.292Z", + "description": "Coding of a concept, drawn from a controlled vocabulary. Includes the vocabulary and version, if applicable. May include a display text, and a descriptor expressing the intended interpretation of the code.", + "purpose": "References to codes are very common in healthcare models.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "orim", + "uri": "http://hl7.org/orim", + "name": "Ontological RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Coding", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coding", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Coding:shr-core-Coding", + "path": "Coding", + "short": "SHR Coding Profile", + "definition": "Coding of a concept, drawn from a controlled vocabulary. Includes the vocabulary and version, if applicable. May include a display text, and a descriptor expressing the intended interpretation of the code.", + "comments": "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.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "CE/CNE/CWE subset one of the sets of component 1-3 or 4-6" + }, + { + "identity": "rim", + "map": "CV" + }, + { + "identity": "orim", + "map": "fhir:Coding rdfs:subClassOf dt:CDCoding" + } + ] + }, + { + "id": "Coding:shr-core-Coding.id", + "path": "Coding.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Coding:shr-core-Coding.extension", + "path": "Coding.extension", + "slicing": { + "id": "190", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Coding:shr-core-Coding.extension:codingqualifier", + "path": "Coding.extension", + "sliceName": "codingqualifier", + "definition": "A description of the purpose or origin of the code that assists in the interpretation of the code.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Coding:shr-core-Coding.system", + "path": "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.", + "comments": "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 de-reference to some definition that establish the system clearly and unambiguously.", + "requirements": "Need to be unambiguous about the source of the definition of the symbol.", + "min": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "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": "Coding:shr-core-Coding.version", + "path": "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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "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": "Coding:shr-core-Coding.code", + "path": "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", + "type": [ + { + "code": "code" + } + ], + "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": "Coding:shr-core-Coding.display", + "path": "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", + "type": [ + { + "code": "string" + } + ], + "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": "Coding:shr-core-Coding.userSelected", + "path": "Coding.userSelected", + "short": "If this coding was chosen directly by the user", + "definition": "Indicates that this coding was chosen by a user directly - i.e. off a pick list of available items (codes or displays).", + "comments": "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", + "type": [ + { + "code": "boolean" + } + ], + "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 ]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Coding:shr-core-Coding", + "path": "Coding", + "short": "SHR Coding Profile", + "definition": "Coding of a concept, drawn from a controlled vocabulary. Includes the vocabulary and version, if applicable. May include a display text, and a descriptor expressing the intended interpretation of the code." + }, + { + "id": "Coding:shr-core-Coding.extension:codingqualifier", + "path": "Coding.extension", + "sliceName": "codingqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Coding:shr-core-Coding.code", + "path": "Coding.code", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json new file mode 100755 index 0000000..d4a44c1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-CodingQualifier-extension.json @@ -0,0 +1,228 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-CodingQualifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CodingQualifier Extension

\n

A description of the purpose or origin of the code that assists in the interpretation of the code.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.CodingQualifier" + } + ], + "name": "SHR CodingQualifier Extension", + "title": "SHR CodingQualifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.292Z", + "description": "A description of the purpose or origin of the code that assists in the interpretation of the code.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:codingqualifier", + "path": "Extension", + "short": "SHR CodingQualifier Extension", + "definition": "A description of the purpose or origin of the code that assists in the interpretation of the code.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:codingqualifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:codingqualifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:codingqualifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:codingqualifier.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-CodingQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:codingqualifier", + "path": "Extension", + "short": "SHR CodingQualifier Extension", + "definition": "A description of the purpose or origin of the code that assists in the interpretation of the code.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:codingqualifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:codingqualifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension" + }, + { + "id": "Extension:codingqualifier.valueCode", + "path": "Extension.valueCode", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-CodingQualifierVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json new file mode 100755 index 0000000..477981d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Count-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Count-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Count Extension

\n

The number of non-null items in a referenced set of items or values.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Count" + } + ], + "name": "SHR Count Extension", + "title": "SHR Count Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.975Z", + "description": "The number of non-null items in a referenced set of items or values.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:count", + "path": "Extension", + "short": "SHR Count Extension", + "definition": "The number of non-null items in a referenced set of items or values.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:count.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:count.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:count.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:count.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:count", + "path": "Extension", + "short": "SHR Count Extension", + "definition": "The number of non-null items in a referenced set of items or values.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:count.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:count.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension" + }, + { + "id": "Extension:count.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "min": 1, + "type": [ + { + "code": "positiveInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json new file mode 100755 index 0000000..1d72dd1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Country-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Country-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Country Extension

\n

Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Country" + } + ], + "name": "SHR Country Extension", + "title": "SHR Country Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:country", + "path": "Extension", + "short": "SHR Country Extension", + "definition": "Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:country.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:country.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:country.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:country.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:country", + "path": "Extension", + "short": "SHR Country Extension", + "definition": "Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:country.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:country.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension" + }, + { + "id": "Extension:country.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json new file mode 100755 index 0000000..8030394 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Depth-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Depth-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Depth Extension

\n

The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Depth" + } + ], + "name": "SHR Depth Extension", + "title": "SHR Depth Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:depth", + "path": "Extension", + "short": "SHR Depth Extension", + "definition": "The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:depth.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:depth.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:depth.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:depth.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:depth", + "path": "Extension", + "short": "SHR Depth Extension", + "definition": "The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:depth.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:depth.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension" + }, + { + "id": "Extension:depth.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json new file mode 100755 index 0000000..8c2b61d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Details-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Details-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Details Extension

\n

Particulars considered individually and in relation to a whole.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Details" + } + ], + "name": "SHR Details Extension", + "title": "SHR Details Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.229Z", + "description": "Particulars considered individually and in relation to a whole.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:details", + "path": "Extension", + "short": "SHR Details Extension", + "definition": "Particulars considered individually and in relation to a whole.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:details.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:details.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:details.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:details.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:details", + "path": "Extension", + "short": "SHR Details Extension", + "definition": "Particulars considered individually and in relation to a whole.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:details.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:details.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + }, + { + "id": "Extension:details.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json new file mode 100755 index 0000000..9962d12 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-DollarAmount.json @@ -0,0 +1,314 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-DollarAmount", + "text": { + "status": "generated", + "div": "
\n

SHR DollarAmount Profile

\n

An amount of money expressed in US dollars.

\n

SHR Mapping Summary

\n

shr.core.DollarAmount maps to Quantity:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-DollarAmount", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.DollarAmount" + } + ], + "name": "SHR DollarAmount Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.297Z", + "description": "An amount of money expressed in US dollars.", + "purpose": "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Quantity", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Quantity:shr-core-DollarAmount", + "path": "Quantity", + "short": "SHR DollarAmount Profile", + "definition": "An amount of money expressed in US dollars.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.id", + "path": "Quantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.extension", + "path": "Quantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.value", + "path": "Quantity.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.", + "comments": "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", + "type": [ + { + "code": "decimal" + } + ], + "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": "Quantity:shr-core-DollarAmount.comparator", + "path": "Quantity.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.", + "comments": "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.", + "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", + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.unit", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.system", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Quantity:shr-core-DollarAmount.code", + "path": "Quantity.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Quantity:shr-core-DollarAmount", + "path": "Quantity", + "short": "SHR DollarAmount Profile", + "definition": "An amount of money expressed in US dollars." + }, + { + "id": "Quantity:shr-core-DollarAmount.value", + "path": "Quantity.value", + "min": 1, + "max": "1" + }, + { + "id": "Quantity:shr-core-DollarAmount.code", + "path": "Quantity.code", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json new file mode 100755 index 0000000..ab527c2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Duration-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Duration Extension

\n

The length of time that something continues.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Duration" + } + ], + "name": "SHR Duration Extension", + "title": "SHR Duration Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.975Z", + "description": "The length of time that something continues.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:duration", + "path": "Extension", + "short": "SHR Duration Extension", + "definition": "The length of time that something continues.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:duration.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:duration.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:duration.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:duration.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:duration", + "path": "Extension", + "short": "SHR Duration Extension", + "definition": "The length of time that something continues.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:duration.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:duration.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension" + }, + { + "id": "Extension:duration.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json new file mode 100755 index 0000000..08915ca --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Duration.json @@ -0,0 +1,335 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Duration", + "text": { + "status": "generated", + "div": "
\n

SHR Duration Profile

\n

The length of time that something continues.

\n

SHR Mapping Summary

\n

shr.core.Duration maps to Duration:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Duration" + } + ], + "name": "SHR Duration Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.299Z", + "description": "The length of time that something continues.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Duration", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Duration", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Duration:shr-core-Duration", + "path": "Duration", + "short": "SHR Duration Profile", + "definition": "The length of time that something continues.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)", + "source": "Quantity" + }, + { + "key": "drt-1", + "severity": "error", + "human": "There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.", + "expression": "(code or value.empty()) and (system.empty() or system = %ucum)", + "xpath": "(f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org')" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + }, + { + "identity": "rim", + "map": "PQ, IVL depending on the values" + } + ] + }, + { + "id": "Duration:shr-core-Duration.id", + "path": "Duration.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Duration:shr-core-Duration.extension", + "path": "Duration.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Duration:shr-core-Duration.value", + "path": "Duration.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.", + "comments": "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" + } + ], + "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": "Duration:shr-core-Duration.comparator", + "path": "Duration.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.", + "comments": "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.", + "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", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Duration:shr-core-Duration.unit", + "path": "Duration.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": 0, + "max": "1", + "base": { + "path": "Quantity.unit", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Duration:shr-core-Duration.system", + "path": "Duration.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": 0, + "max": "1", + "base": { + "path": "Quantity.system", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Duration:shr-core-Duration.code", + "path": "Duration.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Duration:shr-core-Duration", + "path": "Duration", + "short": "SHR Duration Profile", + "definition": "The length of time that something continues." + }, + { + "id": "Duration:shr-core-Duration.value", + "path": "Duration.value", + "min": 1, + "max": "1" + }, + { + "id": "Duration:shr-core-Duration.code", + "path": "Duration.code", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json new file mode 100755 index 0000000..474bfaf --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveDate-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-EffectiveDate-extension", + "text": { + "status": "generated", + "div": "
\n

SHR EffectiveDate Extension

\n

The date when something is to take effect.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.EffectiveDate" + } + ], + "name": "SHR EffectiveDate Extension", + "title": "SHR EffectiveDate Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.291Z", + "description": "The date when something is to take effect.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:effectivedate", + "path": "Extension", + "short": "SHR EffectiveDate Extension", + "definition": "The date when something is to take effect.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:effectivedate.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:effectivedate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:effectivedate.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:effectivedate.valueDate", + "path": "Extension.valueDate", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:effectivedate", + "path": "Extension", + "short": "SHR EffectiveDate Extension", + "definition": "The date when something is to take effect.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:effectivedate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:effectivedate.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension" + }, + { + "id": "Extension:effectivedate.valueDate", + "path": "Extension.valueDate", + "min": 1, + "type": [ + { + "code": "date" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json new file mode 100755 index 0000000..9a60efe --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-EffectiveTimePeriod-extension", + "text": { + "status": "generated", + "div": "
\n

SHR EffectiveTimePeriod Extension

\n

The date and time span for which something is active, valid, or in force.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.EffectiveTimePeriod" + } + ], + "name": "SHR EffectiveTimePeriod Extension", + "title": "SHR EffectiveTimePeriod Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.181Z", + "description": "The date and time span for which something is active, valid, or in force.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:effectivetimeperiod", + "path": "Extension", + "short": "SHR EffectiveTimePeriod Extension", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:effectivetimeperiod.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:effectivetimeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:effectivetimeperiod.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:effectivetimeperiod.valuePeriod", + "path": "Extension.valuePeriod", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:effectivetimeperiod", + "path": "Extension", + "short": "SHR EffectiveTimePeriod Extension", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:effectivetimeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:effectivetimeperiod.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + }, + { + "id": "Extension:effectivetimeperiod.valuePeriod", + "path": "Extension.valuePeriod", + "min": 1, + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json new file mode 100755 index 0000000..c0d47c5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-EffectiveTimePeriod.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-EffectiveTimePeriod", + "text": { + "status": "generated", + "div": "
\n

SHR EffectiveTimePeriod Profile

\n

The date and time span for which something is active, valid, or in force.

\n

SHR Mapping Summary

\n

shr.core.EffectiveTimePeriod maps to Period:\n  TimePeriodStart maps to start\n  TimePeriodEnd maps to end\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.EffectiveTimePeriod" + } + ], + "name": "SHR EffectiveTimePeriod Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.300Z", + "description": "The date and time span for which something is active, valid, or in force.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Period", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Period", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Period:shr-core-EffectiveTimePeriod", + "path": "Period", + "short": "SHR EffectiveTimePeriod Profile", + "definition": "The date and time span for which something is active, valid, or in force.", + "comments": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "per-1", + "severity": "error", + "human": "If present, start SHALL have a lower value than end", + "expression": "start.empty() or end.empty() or (start <= end)", + "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "DR" + }, + { + "identity": "rim", + "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]" + } + ] + }, + { + "id": "Period:shr-core-EffectiveTimePeriod.id", + "path": "Period.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-EffectiveTimePeriod.extension", + "path": "Period.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-EffectiveTimePeriod.start", + "path": "Period.start", + "short": "Starting time with inclusive boundary", + "definition": "The start of the period. The boundary is inclusive.", + "comments": "If the low element is missing, the meaning is that the low boundary is not known.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.1" + }, + { + "identity": "rim", + "map": "./low" + } + ] + }, + { + "id": "Period:shr-core-EffectiveTimePeriod.end", + "path": "Period.end", + "short": "End time with inclusive boundary, if not ongoing", + "definition": "The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.", + "comments": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing", + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.2" + }, + { + "identity": "rim", + "map": "./high" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Period:shr-core-EffectiveTimePeriod", + "path": "Period", + "short": "SHR EffectiveTimePeriod Profile", + "definition": "The date and time span for which something is active, valid, or in force." + }, + { + "id": "Period:shr-core-EffectiveTimePeriod.start", + "path": "Period.start", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json new file mode 100755 index 0000000..e921b5e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Explanation-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Explanation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Explanation Extension

\n

A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Explanation" + } + ], + "name": "SHR Explanation Extension", + "title": "SHR Explanation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.079Z", + "description": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:explanation", + "path": "Extension", + "short": "SHR Explanation Extension", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:explanation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:explanation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:explanation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:explanation.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:explanation", + "path": "Extension", + "short": "SHR Explanation Extension", + "definition": "A set of statements describing a group of facts that clarifies the cause, context and/or consequence of those facts.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:explanation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:explanation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension" + }, + { + "id": "Extension:explanation.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json new file mode 100755 index 0000000..409e61e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Frequency-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Frequency-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Frequency Extension

\n

How many occurrences of an event per unit of time.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Frequency" + } + ], + "name": "SHR Frequency Extension", + "title": "SHR Frequency Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.975Z", + "description": "How many occurrences of an event per unit of time.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:frequency", + "path": "Extension", + "short": "SHR Frequency Extension", + "definition": "How many occurrences of an event per unit of time.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:frequency.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:frequency.extension", + "path": "Extension.extension", + "slicing": { + "id": "62", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:frequency.extension:count", + "path": "Extension.extension", + "sliceName": "count", + "definition": "The number of non-null items in a referenced set of items or values.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:frequency.extension:duration", + "path": "Extension.extension", + "sliceName": "duration", + "definition": "The length of time that something continues.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:frequency.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:frequency.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:frequency", + "path": "Extension", + "short": "SHR Frequency Extension", + "definition": "How many occurrences of an event per unit of time.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:frequency.extension:count", + "path": "Extension.extension", + "sliceName": "count", + "definition": "The number of non-null items in a referenced set of items or values.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension" + } + ] + }, + { + "id": "Extension:frequency.extension:duration", + "path": "Extension.extension", + "sliceName": "duration", + "definition": "The length of time that something continues.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension" + } + ] + }, + { + "id": "Extension:frequency.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + }, + { + "id": "Extension:frequency.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json new file mode 100755 index 0000000..d20cf30 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedAge-extension.json @@ -0,0 +1,458 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GeneralizedAge-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GeneralizedAge Extension

\n

Qualitative or quantitative, exact or inexact description of age.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GeneralizedAge" + } + ], + "name": "SHR GeneralizedAge Extension", + "title": "SHR GeneralizedAge Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "Qualitative or quantitative, exact or inexact description of age.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:generalizedage", + "path": "Extension", + "short": "SHR GeneralizedAge Extension", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')", + "expression": "( extension('age').url | extension('agerange').url | extension('agegroup').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedage.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedage.extension", + "path": "Extension.extension", + "slicing": { + "id": "6", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:generalizedage.extension:age", + "path": "Extension.extension", + "sliceName": "age", + "definition": "How long something has existed (quantitative).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedage.extension:agerange", + "path": "Extension.extension", + "sliceName": "agerange", + "definition": "A quantitative range of ages. One of the two ages must be specified.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedage.extension:agegroup", + "path": "Extension.extension", + "sliceName": "agegroup", + "definition": "Subgroups of populations based on age.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedage.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedage.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:generalizedage", + "path": "Extension", + "short": "SHR GeneralizedAge Extension", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedAge-extension SHALL have either extension('age') or extension('agerange') or extension('agegroup')", + "expression": "( extension('age').url | extension('agerange').url | extension('agegroup').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedage.extension:age", + "path": "Extension.extension", + "sliceName": "age", + "definition": "How long something has existed (quantitative).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension" + } + ] + }, + { + "id": "Extension:generalizedage.extension:agerange", + "path": "Extension.extension", + "sliceName": "agerange", + "definition": "A quantitative range of ages. One of the two ages must be specified.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension" + } + ] + }, + { + "id": "Extension:generalizedage.extension:agegroup", + "path": "Extension.extension", + "sliceName": "agegroup", + "definition": "Subgroups of populations based on age.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension" + } + ] + }, + { + "id": "Extension:generalizedage.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension" + }, + { + "id": "Extension:generalizedage.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json new file mode 100755 index 0000000..9773089 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedDateTime-extension.json @@ -0,0 +1,458 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GeneralizedDateTime-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GeneralizedDateTime Extension

\n

A point in time, specified qualitatively or quantitatively.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GeneralizedDateTime" + } + ], + "name": "SHR GeneralizedDateTime Extension", + "title": "SHR GeneralizedDateTime Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.831Z", + "description": "A point in time, specified qualitatively or quantitatively.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:generalizeddatetime", + "path": "Extension", + "short": "SHR GeneralizedDateTime Extension", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')", + "expression": "( extension('datetime').url | extension('timeperiod').url | extension('qualitativedatetime').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizeddatetime.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension", + "path": "Extension.extension", + "slicing": { + "id": "4", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:datetime", + "path": "Extension.extension", + "sliceName": "datetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:timeperiod", + "path": "Extension.extension", + "sliceName": "timeperiod", + "definition": "A period of time defined by a start and end time, date, or year.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:qualitativedatetime", + "path": "Extension.extension", + "sliceName": "qualitativedatetime", + "definition": "A point in time, described qualitatively.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizeddatetime.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizeddatetime.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:generalizeddatetime", + "path": "Extension", + "short": "SHR GeneralizedDateTime Extension", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedDateTime-extension SHALL have either extension('datetime') or extension('timeperiod') or extension('qualitativedatetime')", + "expression": "( extension('datetime').url | extension('timeperiod').url | extension('qualitativedatetime').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:datetime", + "path": "Extension.extension", + "sliceName": "datetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:timeperiod", + "path": "Extension.extension", + "sliceName": "timeperiod", + "definition": "A period of time defined by a start and end time, date, or year.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension" + } + ] + }, + { + "id": "Extension:generalizeddatetime.extension:qualitativedatetime", + "path": "Extension.extension", + "sliceName": "qualitativedatetime", + "definition": "A point in time, described qualitatively.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension" + } + ] + }, + { + "id": "Extension:generalizeddatetime.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension" + }, + { + "id": "Extension:generalizeddatetime.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json new file mode 100755 index 0000000..e783e61 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedLikelihood-extension.json @@ -0,0 +1,418 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GeneralizedLikelihood-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GeneralizedLikelihood Extension

\n

Quantitative or qualitative measure of likelihood.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GeneralizedLikelihood" + } + ], + "name": "SHR GeneralizedLikelihood Extension", + "title": "SHR GeneralizedLikelihood Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.864Z", + "description": "Quantitative or qualitative measure of likelihood.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:generalizedlikelihood", + "path": "Extension", + "short": "SHR GeneralizedLikelihood Extension", + "definition": "Quantitative or qualitative measure of likelihood.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedLikelihood-extension SHALL have either extension('likelihood') or extension('qualitativelikelihood')", + "expression": "( extension('likelihood').url | extension('qualitativelikelihood').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.extension", + "path": "Extension.extension", + "slicing": { + "id": "20", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.extension:likelihood", + "path": "Extension.extension", + "sliceName": "likelihood", + "definition": "A measure of the expectation of the occurrence of a particular event, as a percentage.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.extension:qualitativelikelihood", + "path": "Extension.extension", + "sliceName": "qualitativelikelihood", + "definition": "A qualitative (subjective) likelihood.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:generalizedlikelihood", + "path": "Extension", + "short": "SHR GeneralizedLikelihood Extension", + "definition": "Quantitative or qualitative measure of likelihood.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedLikelihood-extension SHALL have either extension('likelihood') or extension('qualitativelikelihood')", + "expression": "( extension('likelihood').url | extension('qualitativelikelihood').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.extension:likelihood", + "path": "Extension.extension", + "sliceName": "likelihood", + "definition": "A measure of the expectation of the occurrence of a particular event, as a percentage.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.extension:qualitativelikelihood", + "path": "Extension.extension", + "sliceName": "qualitativelikelihood", + "definition": "A qualitative (subjective) likelihood.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension" + } + ] + }, + { + "id": "Extension:generalizedlikelihood.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + }, + { + "id": "Extension:generalizedlikelihood.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json new file mode 100755 index 0000000..5771ca4 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json @@ -0,0 +1,458 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GeneralizedTemporalContext-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GeneralizedTemporalContext Extension

\n

A generalized indicator of a dateTime or an age when an event happened.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GeneralizedTemporalContext" + } + ], + "name": "SHR GeneralizedTemporalContext Extension", + "title": "SHR GeneralizedTemporalContext Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "A generalized indicator of a dateTime or an age when an event happened.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:generalizedtemporalcontext", + "path": "Extension", + "short": "SHR GeneralizedTemporalContext Extension", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')", + "expression": "( extension('generalizeddatetime').url | extension('generalizedage').url | extension('gestationaltemporalcontext').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension", + "path": "Extension.extension", + "slicing": { + "id": "22", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:generalizeddatetime", + "path": "Extension.extension", + "sliceName": "generalizeddatetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:generalizedage", + "path": "Extension.extension", + "sliceName": "generalizedage", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:gestationaltemporalcontext", + "path": "Extension.extension", + "sliceName": "gestationaltemporalcontext", + "definition": "A named gestational time period, or a gestational age.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:generalizedtemporalcontext", + "path": "Extension", + "short": "SHR GeneralizedTemporalContext Extension", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GeneralizedTemporalContext-extension SHALL have either extension('generalizeddatetime') or extension('generalizedage') or extension('gestationaltemporalcontext')", + "expression": "( extension('generalizeddatetime').url | extension('generalizedage').url | extension('gestationaltemporalcontext').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:generalizeddatetime", + "path": "Extension.extension", + "sliceName": "generalizeddatetime", + "definition": "A point in time, specified qualitatively or quantitatively.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:generalizedage", + "path": "Extension.extension", + "sliceName": "generalizedage", + "definition": "Qualitative or quantitative, exact or inexact description of age.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.extension:gestationaltemporalcontext", + "path": "Extension.extension", + "sliceName": "gestationaltemporalcontext", + "definition": "A named gestational time period, or a gestational age.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension" + } + ] + }, + { + "id": "Extension:generalizedtemporalcontext.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension" + }, + { + "id": "Extension:generalizedtemporalcontext.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json new file mode 100755 index 0000000..b1ffa22 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GeopoliticalLocation.json @@ -0,0 +1,582 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GeopoliticalLocation", + "text": { + "status": "generated", + "div": "
\n

SHR GeopoliticalLocation Profile

\n

The countries of the world and major geopolitical subregions, such as US states.

\n

SHR Mapping Summary

\n

shr.core.GeopoliticalLocation maps to Address:\n  AddressLine maps to line\n  City maps to city\n  County maps to district\n  State maps to state\n  PostalCode maps to postalCode\n  Country maps to country\n  use is 0..0\n  type is 0..0\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeopoliticalLocation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GeopoliticalLocation" + } + ], + "name": "SHR GeopoliticalLocation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.305Z", + "description": "The countries of the world and major geopolitical subregions, such as US states.", + "purpose": "Need to be able to record postal addresses, along with notes about their use.", + "fhirVersion": "1.8.0", + "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": "vcard", + "uri": "http://w3.org/vcard", + "name": "vCard Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Address", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Address:shr-core-GeopoliticalLocation", + "path": "Address", + "short": "SHR GeopoliticalLocation Profile", + "definition": "The countries of the world and major geopolitical subregions, such as US states.", + "comments": "Note: address is for postal addresses, not physical locations.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XAD" + }, + { + "identity": "rim", + "map": "AD" + }, + { + "identity": "servd", + "map": "Address" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.id", + "path": "Address.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.extension", + "path": "Address.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.use", + "path": "Address.use", + "short": "home | work | temp | old - purpose of this address", + "definition": "The purpose of this address.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. 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": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of an address", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.type", + "path": "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.", + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of an address (physical / postal)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.text", + "path": "Address.text", + "short": "Text representation of the address", + "definition": "A full text representation of the address.", + "comments": "Can provide both a text representation and parts.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "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": "Address:shr-core-GeopoliticalLocation.line", + "path": "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.", + "requirements": "home | work | temp | old - purpose of this address.", + "min": 0, + "max": "0", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "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": "Address:shr-core-GeopoliticalLocation.city", + "path": "Address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.district", + "path": "Address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.state", + "path": "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 (i.e. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.postalCode", + "path": "Address.postalCode", + "short": "Postal code for area", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "0", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.country", + "path": "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.", + "comments": "ISO 3166 3 letter codes can be used in place of a full country name.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Address:shr-core-GeopoliticalLocation.period", + "path": "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", + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Address:shr-core-GeopoliticalLocation", + "path": "Address", + "short": "SHR GeopoliticalLocation Profile", + "definition": "The countries of the world and major geopolitical subregions, such as US states." + }, + { + "id": "Address:shr-core-GeopoliticalLocation.use", + "path": "Address.use", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-GeopoliticalLocation.type", + "path": "Address.type", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-GeopoliticalLocation.line", + "path": "Address.line", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-GeopoliticalLocation.postalCode", + "path": "Address.postalCode", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-GeopoliticalLocation.country", + "path": "Address.country", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json new file mode 100755 index 0000000..dc3f293 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Geoposition.json @@ -0,0 +1,837 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Geoposition", + "text": { + "status": "generated", + "div": "
\n

SHR Geoposition Profile

\n

The location on the surface of the Earth, described by a latitude and longitude (and optional altitude).

\n

SHR Mapping Summary

\n

shr.core.Geoposition maps to Location:\n  position is 1..1\n  Latitude maps to position.latitude\n  Longitude maps to position.longitude\n  Altitude maps to position.altitude\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Geoposition", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Geoposition" + } + ], + "name": "SHR Geoposition Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.303Z", + "description": "The location on the surface of the Earth, described by a latitude and longitude (and optional altitude).", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Location", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location:shr-core-Geoposition", + "path": "Location", + "short": "SHR Geoposition Profile", + "definition": "The location on the surface of the Earth, described by a latitude and longitude (and optional altitude).", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "w5", + "map": "administrative.entity" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Location:shr-core-Geoposition.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Location:shr-core-Geoposition.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Location:shr-core-Geoposition.language", + "path": "Location.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Location:shr-core-Geoposition.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.status", + "path": "Location.status", + "short": "active | suspended | inactive", + "definition": "active | suspended | inactive.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the location is still in use.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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.", + "comments": "If the name of an location changes, consider putting the old name in the alias column so that it can still be located through searches.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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.", + "comments": "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": "*", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.mode", + "path": "Location.mode", + "short": "instance | kind", + "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", + "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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-mode" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC].determinerCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.type", + "path": "Location.type", + "short": "Type of function performed", + "definition": "Indicates the type of function performed at the location.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comments": "This was kept as 0..1 as there is no use property on the address, so wouldn't be able to identify different address types.", + "requirements": "If locations can be visited, we need to keep track of their address.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Address" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".addr" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Physical form of the location", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-physical-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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": 1, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.position.id", + "path": "Location.position.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.position.modifierExtension", + "path": "Location.position.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.managingOrganization", + "path": "Location.managingOrganization", + "short": "Organization responsible for provisioning and upkeep", + "definition": "The organization responsible for the provisioning and upkeep of the location.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.partOf", + "path": "Location.partOf", + "short": "Another Location this one is physically part of", + "definition": "Another Location which this Location is physically part of.", + "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]" + } + ] + }, + { + "id": "Location:shr-core-Geoposition.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Location:shr-core-Geoposition", + "path": "Location", + "short": "SHR Geoposition Profile", + "definition": "The location on the surface of the Earth, described by a latitude and longitude (and optional altitude)." + }, + { + "id": "Location:shr-core-Geoposition.position", + "path": "Location.position", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json new file mode 100755 index 0000000..d54b984 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalAge-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GestationalAge-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GestationalAge Extension

\n

The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GestationalAge" + } + ], + "name": "SHR GestationalAge Extension", + "title": "SHR GestationalAge Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:gestationalage", + "path": "Extension", + "short": "SHR GestationalAge Extension", + "definition": "The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:gestationalage.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationalage.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:gestationalage.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationalage.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:gestationalage", + "path": "Extension", + "short": "SHR GestationalAge Extension", + "definition": "The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:gestationalage.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:gestationalage.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension" + }, + { + "id": "Extension:gestationalage.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json new file mode 100755 index 0000000..4e41c0c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTemporalContext-extension.json @@ -0,0 +1,418 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GestationalTemporalContext-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GestationalTemporalContext Extension

\n

A named gestational time period, or a gestational age.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GestationalTemporalContext" + } + ], + "name": "SHR GestationalTemporalContext Extension", + "title": "SHR GestationalTemporalContext Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "A named gestational time period, or a gestational age.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:gestationaltemporalcontext", + "path": "Extension", + "short": "SHR GestationalTemporalContext Extension", + "definition": "A named gestational time period, or a gestational age.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')", + "expression": "( extension('gestationalage').url | extension('gestationaltimeperiod').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.extension", + "path": "Extension.extension", + "slicing": { + "id": "23", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.extension:gestationalage", + "path": "Extension.extension", + "sliceName": "gestationalage", + "definition": "The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.extension:gestationaltimeperiod", + "path": "Extension.extension", + "sliceName": "gestationaltimeperiod", + "definition": "A time relative to a pregnancy or childbirth event.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:gestationaltemporalcontext", + "path": "Extension", + "short": "SHR GestationalTemporalContext Extension", + "definition": "A named gestational time period, or a gestational age.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-core-GestationalTemporalContext-extension SHALL have either extension('gestationalage') or extension('gestationaltimeperiod')", + "expression": "( extension('gestationalage').url | extension('gestationaltimeperiod').url ).distinct().count() == 1" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.extension:gestationalage", + "path": "Extension.extension", + "sliceName": "gestationalage", + "definition": "The age of the embryo or fetus. This may be assessed by medical history, physical examination, early immunologic pregnancy tests, radiography, ultrasonography, and amniotic fluid analysis.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.extension:gestationaltimeperiod", + "path": "Extension.extension", + "sliceName": "gestationaltimeperiod", + "definition": "A time relative to a pregnancy or childbirth event.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension" + } + ] + }, + { + "id": "Extension:gestationaltemporalcontext.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension" + }, + { + "id": "Extension:gestationaltemporalcontext.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json new file mode 100755 index 0000000..093ee79 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-GestationalTimePeriod-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-GestationalTimePeriod-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GestationalTimePeriod Extension

\n

A time relative to a pregnancy or childbirth event.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.GestationalTimePeriod" + } + ], + "name": "SHR GestationalTimePeriod Extension", + "title": "SHR GestationalTimePeriod Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "A time relative to a pregnancy or childbirth event.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:gestationaltimeperiod", + "path": "Extension", + "short": "SHR GestationalTimePeriod Extension", + "definition": "A time relative to a pregnancy or childbirth event.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:gestationaltimeperiod.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltimeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:gestationaltimeperiod.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:gestationaltimeperiod.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:gestationaltimeperiod", + "path": "Extension", + "short": "SHR GestationalTimePeriod Extension", + "definition": "A time relative to a pregnancy or childbirth event.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:gestationaltimeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:gestationaltimeperiod.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension" + }, + { + "id": "Extension:gestationaltimeperiod.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json new file mode 100755 index 0000000..8bb67f9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-HumanName.json @@ -0,0 +1,397 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-HumanName", + "text": { + "status": "generated", + "div": "
\n

SHR HumanName Profile

\n

A name used by a human being, written as it would be typically expressed. May include a breakdown of the various elements of the name (family name, given name, etc.).

\n

SHR Mapping Summary

\n

shr.core.HumanName maps to HumanName:\n  string maps to text\n  HumanNamePrefix maps to prefix\n  GivenName maps to given\n  FamilyName maps to family\n  HumanNameSuffix maps to suffix\n  HumanNameUse maps to use\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.HumanName" + } + ], + "name": "SHR HumanName Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.308Z", + "description": "A name used by a human being, written as it would be typically expressed. May include a breakdown of the various elements of the name (family name, given name, etc.).", + "purpose": "Need to be able to record names, along with notes about their use.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "HumanName", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/HumanName", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "HumanName:shr-core-HumanName", + "path": "HumanName", + "short": "SHR HumanName Profile", + "definition": "A name used by a human being, written as it would be typically expressed. May include a breakdown of the various elements of the name (family name, given name, etc.).", + "comments": "Names may be changed, or repudiated, or people may have different names in different contexts. Names may be divided into parts of different type that have variable significance depending on context, though the division into parts does not always matter. With personal names, the different parts may or may not be imbued with some implicit meaning; various cultures associate different importance with the name parts and the degree to which systems must care about name parts around the world varies widely.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XPN" + }, + { + "identity": "rim", + "map": "EN (actually, PN)" + }, + { + "identity": "servd", + "map": "ProviderName" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.id", + "path": "HumanName.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.extension", + "path": "HumanName.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.use", + "path": "HumanName.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of a human name", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/name-use" + } + }, + "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": "HumanName:shr-core-HumanName.text", + "path": "HumanName.text", + "short": "Text representation of the full name", + "definition": "A full text representation of the name.", + "comments": "Can provide both a text representation and structured parts.", + "requirements": "A renderable, unencoded form.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.family", + "path": "HumanName.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.", + "comments": "Family Name may be decomposed into specific parts using extensions (de, nl, es related cultures).", + "alias": [ + "surname" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.given", + "path": "HumanName.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comments": "If only initials are recorded, they may be used in place of the full name. Not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.prefix", + "path": "HumanName.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": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.suffix", + "path": "HumanName.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": "*", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "HumanName:shr-core-HumanName.period", + "path": "HumanName.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "HumanName:shr-core-HumanName", + "path": "HumanName", + "short": "SHR HumanName Profile", + "definition": "A name used by a human being, written as it would be typically expressed. May include a breakdown of the various elements of the name (family name, given name, etc.)." + }, + { + "id": "HumanName:shr-core-HumanName.text", + "path": "HumanName.text", + "min": 1, + "max": "1" + }, + { + "id": "HumanName:shr-core-HumanName.prefix", + "path": "HumanName.prefix", + "min": 0, + "max": "1" + }, + { + "id": "HumanName:shr-core-HumanName.period", + "path": "HumanName.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json new file mode 100755 index 0000000..b33a3c0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Identifier.json @@ -0,0 +1,385 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Identifier", + "text": { + "status": "generated", + "div": "
\n

SHR Identifier Profile

\n

A numeric or alphanumeric string that is associated with a single object or entity within a given system. Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. Identifiers are associated with objects, and may be changed or retired due to human or system process and errors.

\n

SHR Mapping Summary

\n

shr.core.Identifier maps to Identifier:\n  string maps to value\n  TimePeriod maps to period\n  Organization maps to assigner\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Identifier" + } + ], + "name": "SHR Identifier Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.314Z", + "description": "A numeric or alphanumeric string that is associated with a single object or entity within a given system. Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. Identifiers are associated with objects, and may be changed or retired due to human or system process and errors.", + "purpose": "Need to be able to identify things with confidence and be sure that the identification is not subject to misinterpretation.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Identifier", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Identifier", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Identifier:shr-core-Identifier", + "path": "Identifier", + "short": "SHR Identifier Profile", + "definition": "A numeric or alphanumeric string that is associated with a single object or entity within a given system. Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. Identifiers are associated with objects, and may be changed or retired due to human or system process and errors.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "CX / EI (occasionally, more often EI maps to a resource id or a URL)" + }, + { + "identity": "rim", + "map": "II - see see identifier pattern at http://wiki.hl7.org/index.php?title=Common_Design_Patterns#Identifier_Pattern for relevant discussion. The Identifier class is a little looser than the v3 type II because it allows URIs as well as registered OIDs or GUIDs. Also maps to Role[classCode=IDENT]" + }, + { + "identity": "servd", + "map": "Identifier" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.id", + "path": "Identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.extension", + "path": "Identifier.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.use", + "path": "Identifier.use", + "short": "usual | official | temp | secondary (If known)", + "definition": "The purpose of this identifier.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.type", + "path": "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.", + "comments": "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. \n\nWhere 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.system", + "path": "Identifier.system", + "short": "The namespace for the identifier", + "definition": "Establishes the namespace in which set of possible id values is unique.", + "requirements": "There are many sequences of identifiers. To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or set of unique identifiers.", + "min": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "http://www.acme.com/identifiers/patient or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri" + } + ], + "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": "Identifier:shr-core-Identifier.value", + "path": "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.", + "comments": "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](extension-rendered-value.html).", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "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": "Identifier:shr-core-Identifier.period", + "path": "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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "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": "Identifier:shr-core-Identifier.assigner", + "path": "Identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "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" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Identifier:shr-core-Identifier", + "path": "Identifier", + "short": "SHR Identifier Profile", + "definition": "A numeric or alphanumeric string that is associated with a single object or entity within a given system. Typically, identifiers are used to connect content in resources to external content available in other frameworks or protocols. Identifiers are associated with objects, and may be changed or retired due to human or system process and errors." + }, + { + "id": "Identifier:shr-core-Identifier.value", + "path": "Identifier.value", + "min": 1, + "max": "1" + }, + { + "id": "Identifier:shr-core-Identifier.period", + "path": "Identifier.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Identifier:shr-core-Identifier.assigner", + "path": "Identifier.assigner", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json new file mode 100755 index 0000000..ca5e3e4 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Length-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Length-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Length Extension

\n

The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Length" + } + ], + "name": "SHR Length Extension", + "title": "SHR Length Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:length", + "path": "Extension", + "short": "SHR Length Extension", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:length.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:length.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:length.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:length.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:length", + "path": "Extension", + "short": "SHR Length Extension", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:length.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:length.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension" + }, + { + "id": "Extension:length.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json new file mode 100755 index 0000000..2021d20 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Likelihood-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Likelihood-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Likelihood Extension

\n

A measure of the expectation of the occurrence of a particular event, as a percentage.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Likelihood" + } + ], + "name": "SHR Likelihood Extension", + "title": "SHR Likelihood Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.864Z", + "description": "A measure of the expectation of the occurrence of a particular event, as a percentage.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:likelihood", + "path": "Extension", + "short": "SHR Likelihood Extension", + "definition": "A measure of the expectation of the occurrence of a particular event, as a percentage.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:likelihood.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:likelihood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:likelihood.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:likelihood.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:likelihood", + "path": "Extension", + "short": "SHR Likelihood Extension", + "definition": "A measure of the expectation of the occurrence of a particular event, as a percentage.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:likelihood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:likelihood.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension" + }, + { + "id": "Extension:likelihood.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "min": 1, + "type": [ + { + "code": "positiveInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json new file mode 100755 index 0000000..fba008e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Location-extension.json @@ -0,0 +1,234 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Location-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Location Extension

\n

A position, site, or point in space where something can be found.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Location" + } + ], + "name": "SHR Location Extension", + "title": "SHR Location Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.896Z", + "description": "A position, site, or point in space where something can be found.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:location", + "path": "Extension", + "short": "SHR Location Extension", + "definition": "A position, site, or point in space where something can be found.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:location.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:location.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:location.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:location.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Geoposition" + }, + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeopoliticalLocation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:location", + "path": "Extension", + "short": "SHR Location Extension", + "definition": "A position, site, or point in space where something can be found.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:location.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:location.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + }, + { + "id": "Extension:location.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Geoposition" + }, + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeopoliticalLocation" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json new file mode 100755 index 0000000..8ad3c8e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-LowerBound-extension", + "text": { + "status": "generated", + "div": "
\n

SHR LowerBound Extension

\n

A measured or measurable amount with units that is known to be bounded from below by the quantity represented.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.LowerBound" + } + ], + "name": "SHR LowerBound Extension", + "title": "SHR LowerBound Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:lowerbound", + "path": "Extension", + "short": "SHR LowerBound Extension", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:lowerbound.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:lowerbound.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:lowerbound.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:lowerbound.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:lowerbound", + "path": "Extension", + "short": "SHR LowerBound Extension", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:lowerbound.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:lowerbound.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension" + }, + { + "id": "Extension:lowerbound.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json new file mode 100755 index 0000000..bcbb1c0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-LowerBound.json @@ -0,0 +1,314 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-LowerBound", + "text": { + "status": "generated", + "div": "
\n

SHR LowerBound Profile

\n

A measured or measurable amount with units that is known to be bounded from below by the quantity represented.

\n

SHR Mapping Summary

\n

shr.core.LowerBound maps to Quantity:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n  LowerBoundType maps to comparator\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.LowerBound" + } + ], + "name": "SHR LowerBound Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.295Z", + "description": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "purpose": "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Quantity", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Quantity:shr-core-LowerBound", + "path": "Quantity", + "short": "SHR LowerBound Profile", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.id", + "path": "Quantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.extension", + "path": "Quantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.value", + "path": "Quantity.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.", + "comments": "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", + "type": [ + { + "code": "decimal" + } + ], + "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": "Quantity:shr-core-LowerBound.comparator", + "path": "Quantity.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.", + "comments": "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.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.unit", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.system", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Quantity:shr-core-LowerBound.code", + "path": "Quantity.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Quantity:shr-core-LowerBound", + "path": "Quantity", + "short": "SHR LowerBound Profile", + "definition": "A measured or measurable amount with units that is known to be bounded from below by the quantity represented." + }, + { + "id": "Quantity:shr-core-LowerBound.value", + "path": "Quantity.value", + "min": 1, + "max": "1" + }, + { + "id": "Quantity:shr-core-LowerBound.comparator", + "path": "Quantity.comparator", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json new file mode 100755 index 0000000..664b143 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-OccurrenceTime-extension.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-OccurrenceTime-extension", + "text": { + "status": "generated", + "div": "
\n

SHR OccurrenceTime Extension

\n

The point in time or span of time in which something happens.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.OccurrenceTime" + } + ], + "name": "SHR OccurrenceTime Extension", + "title": "SHR OccurrenceTime Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.257Z", + "description": "The point in time or span of time in which something happens.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:occurrencetime", + "path": "Extension", + "short": "SHR OccurrenceTime Extension", + "definition": "The point in time or span of time in which something happens.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:occurrencetime.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:occurrencetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:occurrencetime.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:occurrencetime.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:occurrencetime", + "path": "Extension", + "short": "SHR OccurrenceTime Extension", + "definition": "The point in time or span of time in which something happens.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:occurrencetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:occurrencetime.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + }, + { + "id": "Extension:occurrencetime.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json new file mode 100755 index 0000000..effb5eb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Percentage-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Percentage-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Percentage Extension

\n

A percentage value where 100.0 represents 100%.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Percentage" + } + ], + "name": "SHR Percentage Extension", + "title": "SHR Percentage Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "A percentage value where 100.0 represents 100%.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:percentage", + "path": "Extension", + "short": "SHR Percentage Extension", + "definition": "A percentage value where 100.0 represents 100%.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:percentage.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:percentage.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:percentage.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:percentage.valueDecimal", + "path": "Extension.valueDecimal", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:percentage", + "path": "Extension", + "short": "SHR Percentage Extension", + "definition": "A percentage value where 100.0 represents 100%.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:percentage.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:percentage.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension" + }, + { + "id": "Extension:percentage.valueDecimal", + "path": "Extension.valueDecimal", + "min": 1, + "type": [ + { + "code": "decimal" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json new file mode 100755 index 0000000..c0b5458 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-PeriodOfUse.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-PeriodOfUse", + "text": { + "status": "generated", + "div": "
\n

SHR PeriodOfUse Profile

\n

A period of time when a device, medication, or other therapy is used.

\n

SHR Mapping Summary

\n

shr.core.PeriodOfUse maps to Period:\n  TimePeriodStart maps to start\n  TimePeriodEnd maps to end\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.PeriodOfUse" + } + ], + "name": "SHR PeriodOfUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.301Z", + "description": "A period of time when a device, medication, or other therapy is used.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Period", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Period", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Period:shr-core-PeriodOfUse", + "path": "Period", + "short": "SHR PeriodOfUse Profile", + "definition": "A period of time when a device, medication, or other therapy is used.", + "comments": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "per-1", + "severity": "error", + "human": "If present, start SHALL have a lower value than end", + "expression": "start.empty() or end.empty() or (start <= end)", + "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "DR" + }, + { + "identity": "rim", + "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]" + } + ] + }, + { + "id": "Period:shr-core-PeriodOfUse.id", + "path": "Period.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-PeriodOfUse.extension", + "path": "Period.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-PeriodOfUse.start", + "path": "Period.start", + "short": "Starting time with inclusive boundary", + "definition": "The start of the period. The boundary is inclusive.", + "comments": "If the low element is missing, the meaning is that the low boundary is not known.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.1" + }, + { + "identity": "rim", + "map": "./low" + } + ] + }, + { + "id": "Period:shr-core-PeriodOfUse.end", + "path": "Period.end", + "short": "End time with inclusive boundary, if not ongoing", + "definition": "The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.", + "comments": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing", + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.2" + }, + { + "identity": "rim", + "map": "./high" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Period:shr-core-PeriodOfUse", + "path": "Period", + "short": "SHR PeriodOfUse Profile", + "definition": "A period of time when a device, medication, or other therapy is used." + }, + { + "id": "Period:shr-core-PeriodOfUse.start", + "path": "Period.start", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json new file mode 100755 index 0000000..ba192cc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Priority-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Priority-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Priority Extension

\n

An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Priority" + } + ], + "name": "SHR Priority Extension", + "title": "SHR Priority Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.845Z", + "description": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:priority", + "path": "Extension", + "short": "SHR Priority Extension", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:priority.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:priority.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:priority.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:priority.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:priority", + "path": "Extension", + "short": "SHR Priority Extension", + "definition": "An ordinal numbered priority where 1=highest priority, 2=second highest priority, etc.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:priority.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:priority.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension" + }, + { + "id": "Extension:priority.valuePositiveInt", + "path": "Extension.valuePositiveInt", + "min": 1, + "type": [ + { + "code": "positiveInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json new file mode 100755 index 0000000..8e64e4e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeDateTime-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-QualitativeDateTime-extension", + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeDateTime Extension

\n

A point in time, described qualitatively.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeDateTime" + } + ], + "name": "SHR QualitativeDateTime Extension", + "title": "SHR QualitativeDateTime Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "A point in time, described qualitatively.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:qualitativedatetime", + "path": "Extension", + "short": "SHR QualitativeDateTime Extension", + "definition": "A point in time, described qualitatively.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:qualitativedatetime.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:qualitativedatetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:qualitativedatetime.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:qualitativedatetime.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeDateTimeVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:qualitativedatetime", + "path": "Extension", + "short": "SHR QualitativeDateTime Extension", + "definition": "A point in time, described qualitatively.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:qualitativedatetime.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:qualitativedatetime.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension" + }, + { + "id": "Extension:qualitativedatetime.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeDateTimeVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json new file mode 100755 index 0000000..b5defca --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-QualitativeLikelihood-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-QualitativeLikelihood-extension", + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeLikelihood Extension

\n

A qualitative (subjective) likelihood.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeLikelihood" + } + ], + "name": "SHR QualitativeLikelihood Extension", + "title": "SHR QualitativeLikelihood Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "A qualitative (subjective) likelihood.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:qualitativelikelihood", + "path": "Extension", + "short": "SHR QualitativeLikelihood Extension", + "definition": "A qualitative (subjective) likelihood.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:qualitativelikelihood.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:qualitativelikelihood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:qualitativelikelihood.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:qualitativelikelihood.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:qualitativelikelihood", + "path": "Extension", + "short": "SHR QualitativeLikelihood Extension", + "definition": "A qualitative (subjective) likelihood.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:qualitativelikelihood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:qualitativelikelihood.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension" + }, + { + "id": "Extension:qualitativelikelihood.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json new file mode 100755 index 0000000..742a20b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Quantity-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Quantity Extension

\n

A quantity with Units.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Quantity" + } + ], + "name": "SHR Quantity Extension", + "title": "SHR Quantity Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.633Z", + "description": "A quantity with Units.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:quantity", + "path": "Extension", + "short": "SHR Quantity Extension", + "definition": "A quantity with Units.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:quantity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:quantity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:quantity.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:quantity.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:quantity", + "path": "Extension", + "short": "SHR Quantity Extension", + "definition": "A quantity with Units.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:quantity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:quantity.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension" + }, + { + "id": "Extension:quantity.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json new file mode 100755 index 0000000..5e5825e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Quantity.json @@ -0,0 +1,308 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Quantity", + "text": { + "status": "generated", + "div": "
\n

SHR Quantity Profile

\n

A quantity with Units.

\n

SHR Mapping Summary

\n

shr.core.Quantity maps to Quantity:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Quantity" + } + ], + "name": "SHR Quantity Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.293Z", + "description": "A quantity with Units.", + "purpose": "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Quantity", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Quantity:shr-core-Quantity", + "path": "Quantity", + "short": "SHR Quantity Profile", + "definition": "A quantity with Units.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.id", + "path": "Quantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.extension", + "path": "Quantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.value", + "path": "Quantity.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.", + "comments": "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", + "type": [ + { + "code": "decimal" + } + ], + "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": "Quantity:shr-core-Quantity.comparator", + "path": "Quantity.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.", + "comments": "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.", + "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", + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.unit", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.system", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Quantity:shr-core-Quantity.code", + "path": "Quantity.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Quantity:shr-core-Quantity", + "path": "Quantity", + "short": "SHR Quantity Profile", + "definition": "A quantity with Units." + }, + { + "id": "Quantity:shr-core-Quantity.value", + "path": "Quantity.value", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json new file mode 100755 index 0000000..4a1e999 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Reason-extension.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Reason-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Reason Extension

\n

The justification for an action or non-action, conclusion, opinion, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Reason" + } + ], + "name": "SHR Reason Extension", + "title": "SHR Reason Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.844Z", + "description": "The justification for an action or non-action, conclusion, opinion, etc.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:reason", + "path": "Extension", + "short": "SHR Reason Extension", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:reason.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:reason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:reason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:reason.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:reason", + "path": "Extension", + "short": "SHR Reason Extension", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:reason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:reason.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + }, + { + "id": "Extension:reason.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json new file mode 100755 index 0000000..789f779 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Setting-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Setting-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Setting Extension

\n

Description of the place or type of surroundings where something is positioned or where an event takes place.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Setting" + } + ], + "name": "SHR Setting Extension", + "title": "SHR Setting Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.896Z", + "description": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:setting", + "path": "Extension", + "short": "SHR Setting Extension", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:setting.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:setting.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:setting.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:setting.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SettingVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:setting", + "path": "Extension", + "short": "SHR Setting Extension", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:setting.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:setting.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + }, + { + "id": "Extension:setting.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SettingVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json new file mode 100755 index 0000000..71d3283 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-State-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-State-extension", + "text": { + "status": "generated", + "div": "
\n

SHR State Extension

\n

Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). (Source: HL7 FHIR).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.State" + } + ], + "name": "SHR State Extension", + "title": "SHR State Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "Sub-unit of a country with limited sovereignty in a federally organized country. A code may be used if codes are in common use (i.e. US 2 letter state codes). (Source: HL7 FHIR).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:state", + "path": "Extension", + "short": "SHR State Extension", + "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 (i.e. US 2 letter state codes). (Source: HL7 FHIR).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:state.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:state.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:state.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:state.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:state", + "path": "Extension", + "short": "SHR State Extension", + "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 (i.e. US 2 letter state codes). (Source: HL7 FHIR).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:state.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:state.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension" + }, + { + "id": "Extension:state.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json new file mode 100755 index 0000000..2024d14 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Statistic.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Statistic", + "text": { + "status": "generated", + "div": "
\n

SHR Statistic Profile

\n

A quantity that represents a statistic, e.g. maximum, minimum, mean, median, etc.

\n

SHR Mapping Summary

\n

shr.core.Statistic maps to Quantity:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Statistic", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Statistic" + } + ], + "name": "SHR Statistic Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.296Z", + "description": "A quantity that represents a statistic, e.g. maximum, minimum, mean, median, etc.", + "purpose": "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Quantity", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Quantity:shr-core-Statistic", + "path": "Quantity", + "short": "SHR Statistic Profile", + "definition": "A quantity that represents a statistic, e.g. maximum, minimum, mean, median, etc.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.id", + "path": "Quantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.extension", + "path": "Quantity.extension", + "slicing": { + "id": "191", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.extension:statistictype", + "path": "Quantity.extension", + "sliceName": "statistictype", + "definition": "The type of statistic that is represented by the value.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.value", + "path": "Quantity.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.", + "comments": "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", + "type": [ + { + "code": "decimal" + } + ], + "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": "Quantity:shr-core-Statistic.comparator", + "path": "Quantity.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.", + "comments": "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.", + "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", + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.unit", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.system", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Quantity:shr-core-Statistic.code", + "path": "Quantity.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Quantity:shr-core-Statistic", + "path": "Quantity", + "short": "SHR Statistic Profile", + "definition": "A quantity that represents a statistic, e.g. maximum, minimum, mean, median, etc." + }, + { + "id": "Quantity:shr-core-Statistic.extension:statistictype", + "path": "Quantity.extension", + "sliceName": "statistictype", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Quantity:shr-core-Statistic.value", + "path": "Quantity.value", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json new file mode 100755 index 0000000..7cd54c8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-StatisticType-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-StatisticType-extension", + "text": { + "status": "generated", + "div": "
\n

SHR StatisticType Extension

\n

The type of statistic that is represented by the value.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.StatisticType" + } + ], + "name": "SHR StatisticType Extension", + "title": "SHR StatisticType Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.296Z", + "description": "The type of statistic that is represented by the value.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:statistictype", + "path": "Extension", + "short": "SHR StatisticType Extension", + "definition": "The type of statistic that is represented by the value.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:statistictype.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:statistictype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:statistictype.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:statistictype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-StatisticTypeVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:statistictype", + "path": "Extension", + "short": "SHR StatisticType Extension", + "definition": "The type of statistic that is represented by the value.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:statistictype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:statistictype.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension" + }, + { + "id": "Extension:statistictype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-StatisticTypeVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json new file mode 100755 index 0000000..bdc7a00 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Substance-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Substance-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Substance Extension

\n

Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Substance" + } + ], + "name": "SHR Substance Extension", + "title": "SHR Substance Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.913Z", + "description": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:substance", + "path": "Extension", + "short": "SHR Substance Extension", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:substance.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:substance.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:substance.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:substance.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:substance", + "path": "Extension", + "short": "SHR Substance Extension", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:substance.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:substance.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + }, + { + "id": "Extension:substance.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json new file mode 100755 index 0000000..d8c2c1d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-TimePeriod-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TimePeriod Extension

\n

A period of time defined by a start and end time, date, or year.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.TimePeriod" + } + ], + "name": "SHR TimePeriod Extension", + "title": "SHR TimePeriod Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "A period of time defined by a start and end time, date, or year.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:timeperiod", + "path": "Extension", + "short": "SHR TimePeriod Extension", + "definition": "A period of time defined by a start and end time, date, or year.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:timeperiod.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:timeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:timeperiod.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:timeperiod.valuePeriod", + "path": "Extension.valuePeriod", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:timeperiod", + "path": "Extension", + "short": "SHR TimePeriod Extension", + "definition": "A period of time defined by a start and end time, date, or year.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:timeperiod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:timeperiod.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension" + }, + { + "id": "Extension:timeperiod.valuePeriod", + "path": "Extension.valuePeriod", + "min": 1, + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json new file mode 100755 index 0000000..9d360ed --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-TimePeriod.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-TimePeriod", + "text": { + "status": "generated", + "div": "
\n

SHR TimePeriod Profile

\n

A period of time defined by a start and end time, date, or year.

\n

SHR Mapping Summary

\n

shr.core.TimePeriod maps to Period:\n  TimePeriodStart maps to start\n  TimePeriodEnd maps to end\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.TimePeriod" + } + ], + "name": "SHR TimePeriod Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.298Z", + "description": "A period of time defined by a start and end time, date, or year.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Period", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Period", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Period:shr-core-TimePeriod", + "path": "Period", + "short": "SHR TimePeriod Profile", + "definition": "A period of time defined by a start and end time, date, or year.", + "comments": "This is not a duration - that's a measure of time (a separate type), but a duration that occurs at a fixed value of time. A Period specifies a range of time; the context of use will specify whether the entire range applies (e.g. \"the patient was an inpatient of the hospital for this time range\") or one value from the range applies (e.g. \"give to the patient between these two times\"). If duration is required, specify the type as Interval|Duration.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "per-1", + "severity": "error", + "human": "If present, start SHALL have a lower value than end", + "expression": "start.empty() or end.empty() or (start <= end)", + "xpath": "not(exists(f:start)) or not(exists(f:end)) or (f:start/@value <= f:end/@value)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "DR" + }, + { + "identity": "rim", + "map": "IVL[lowClosed=\"true\" and highClosed=\"true\"] or URG[lowClosed=\"true\" and highClosed=\"true\"]" + } + ] + }, + { + "id": "Period:shr-core-TimePeriod.id", + "path": "Period.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-TimePeriod.extension", + "path": "Period.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Period:shr-core-TimePeriod.start", + "path": "Period.start", + "short": "Starting time with inclusive boundary", + "definition": "The start of the period. The boundary is inclusive.", + "comments": "If the low element is missing, the meaning is that the low boundary is not known.", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.1" + }, + { + "identity": "rim", + "map": "./low" + } + ] + }, + { + "id": "Period:shr-core-TimePeriod.end", + "path": "Period.end", + "short": "End time with inclusive boundary, if not ongoing", + "definition": "The end of the period. If the end of the period is missing, it means that the period is ongoing. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.", + "comments": "The high value includes any matching date/time. i.e. 2012-02-03T10:00:00 is in a period that has a end value of 2012-02-03.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "meaningWhenMissing": "If the end of the period is missing, it means that the period is ongoing", + "condition": [ + "per-1" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "DR.2" + }, + { + "identity": "rim", + "map": "./high" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Period:shr-core-TimePeriod", + "path": "Period", + "short": "SHR TimePeriod Profile", + "definition": "A period of time defined by a start and end time, date, or year." + }, + { + "id": "Period:shr-core-TimePeriod.start", + "path": "Period.start", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json new file mode 100755 index 0000000..c0dd794 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-UnitedStatesAddress.json @@ -0,0 +1,582 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-UnitedStatesAddress", + "text": { + "status": "generated", + "div": "
\n

SHR UnitedStatesAddress Profile

\n

An address for a place in the USA, conforming to US mail postal conventions. (Source: HL7 FHIR).

\n

SHR Mapping Summary

\n

shr.core.UnitedStatesAddress maps to Address:\n  AddressLine maps to line\n  City maps to city\n  County maps to district\n  State maps to state\n  PostalCode maps to postalCode\n  Country maps to country\n  use is 0..0\n  type is 0..0\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UnitedStatesAddress", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.UnitedStatesAddress" + } + ], + "name": "SHR UnitedStatesAddress Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.307Z", + "description": "An address for a place in the USA, conforming to US mail postal conventions. (Source: HL7 FHIR).", + "purpose": "Need to be able to record postal addresses, along with notes about their use.", + "fhirVersion": "1.8.0", + "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": "vcard", + "uri": "http://w3.org/vcard", + "name": "vCard Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Address", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Address", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Address:shr-core-UnitedStatesAddress", + "path": "Address", + "short": "SHR UnitedStatesAddress Profile", + "definition": "An address for a place in the USA, conforming to US mail postal conventions. (Source: HL7 FHIR).", + "comments": "Note: address is for postal addresses, not physical locations.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XAD" + }, + { + "identity": "rim", + "map": "AD" + }, + { + "identity": "servd", + "map": "Address" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.id", + "path": "Address.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.extension", + "path": "Address.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.use", + "path": "Address.use", + "short": "home | work | temp | old - purpose of this address", + "definition": "The purpose of this address.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. 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": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "home" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of an address", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.type", + "path": "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.", + "min": 0, + "max": "0", + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of an address (physical / postal)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.text", + "path": "Address.text", + "short": "Text representation of the address", + "definition": "A full text representation of the address.", + "comments": "Can provide both a text representation and parts.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street, Erewhon 9132" + } + ], + "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": "Address:shr-core-UnitedStatesAddress.line", + "path": "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.", + "requirements": "home | work | temp | old - purpose of this address.", + "min": 0, + "max": "2", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "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": "Address:shr-core-UnitedStatesAddress.city", + "path": "Address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, village or other community or delivery center.", + "alias": [ + "Municpality" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Erewhon" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.district", + "path": "Address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "Madison" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.state", + "path": "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 (i.e. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.4" + }, + { + "identity": "rim", + "map": "AD.part[parttype = STA]" + }, + { + "identity": "vcard", + "map": "region" + }, + { + "identity": "servd", + "map": "./Region" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.postalCode", + "path": "Address.postalCode", + "short": "Postal code for area", + "definition": "A postal code designating a region defined by the postal service.", + "alias": [ + "Zip" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "9132" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.country", + "path": "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.", + "comments": "ISO 3166 3 letter codes can be used in place of a full country name.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.6" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT]" + }, + { + "identity": "vcard", + "map": "country" + }, + { + "identity": "servd", + "map": "./Country" + } + ] + }, + { + "id": "Address:shr-core-UnitedStatesAddress.period", + "path": "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", + "type": [ + { + "code": "Period" + } + ], + "example": [ + { + "label": "General", + "valuePeriod": { + "start": "2010-03-23", + "end": "2010-07-01" + } + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.12 / XAD.13 + XAD.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Address:shr-core-UnitedStatesAddress", + "path": "Address", + "short": "SHR UnitedStatesAddress Profile", + "definition": "An address for a place in the USA, conforming to US mail postal conventions. (Source: HL7 FHIR)." + }, + { + "id": "Address:shr-core-UnitedStatesAddress.use", + "path": "Address.use", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-UnitedStatesAddress.type", + "path": "Address.type", + "min": 0, + "max": "0" + }, + { + "id": "Address:shr-core-UnitedStatesAddress.line", + "path": "Address.line", + "min": 0, + "max": "2" + }, + { + "id": "Address:shr-core-UnitedStatesAddress.state", + "path": "Address.state", + "min": 1, + "max": "1" + }, + { + "id": "Address:shr-core-UnitedStatesAddress.country", + "path": "Address.country", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json new file mode 100755 index 0000000..edb0806 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-UpperBound-extension", + "text": { + "status": "generated", + "div": "
\n

SHR UpperBound Extension

\n

A measured or measurable amount with units that is known to be bounded from above by the quantity represented.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.UpperBound" + } + ], + "name": "SHR UpperBound Extension", + "title": "SHR UpperBound Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.832Z", + "description": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:upperbound", + "path": "Extension", + "short": "SHR UpperBound Extension", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:upperbound.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:upperbound.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:upperbound.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:upperbound.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:upperbound", + "path": "Extension", + "short": "SHR UpperBound Extension", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:upperbound.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:upperbound.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension" + }, + { + "id": "Extension:upperbound.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json new file mode 100755 index 0000000..d19392a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-UpperBound.json @@ -0,0 +1,314 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-UpperBound", + "text": { + "status": "generated", + "div": "
\n

SHR UpperBound Profile

\n

A measured or measurable amount with units that is known to be bounded from above by the quantity represented.

\n

SHR Mapping Summary

\n

shr.core.UpperBound maps to Quantity:\n  decimal maps to value\n  Units.Coding.code maps to code\n  Units.Coding.Vocabulary maps to system\n  Units.Coding.DisplayText maps to unit\n  UpperBoundType maps to comparator\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.UpperBound" + } + ], + "name": "SHR UpperBound Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.294Z", + "description": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "purpose": "Need to able to capture all sorts of measured values, even if the measured value are not precisely quantified. Values include exact measures such as 3.51g, customary units such as 3 tablets, and currencies such as $100.32USD.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "Quantity", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Quantity", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Quantity:shr-core-UpperBound", + "path": "Quantity", + "short": "SHR UpperBound Profile", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented.", + "comments": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "qty-3", + "severity": "error", + "human": "If a code for the unit is present, the system SHALL also be present", + "expression": "code.empty() or system.exists()", + "xpath": "not(exists(f:code)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "SN (see also Range) or CQ" + }, + { + "identity": "rim", + "map": "PQ, IVL, MO, CO, depending on the values" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.id", + "path": "Quantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.extension", + "path": "Quantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.value", + "path": "Quantity.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.", + "comments": "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", + "type": [ + { + "code": "decimal" + } + ], + "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": "Quantity:shr-core-UpperBound.comparator", + "path": "Quantity.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.", + "comments": "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.", + "requirements": "Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "meaningWhenMissing": "If there is no comparator, then there is no modification of the value", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.unit", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.system", + "path": "Quantity.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": 0, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "condition": [ + "qty-3" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Quantity:shr-core-UpperBound.code", + "path": "Quantity.code", + "short": "Coded form of the unit", + "definition": "A computer processable form of the unit in some unit representation system.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Quantity:shr-core-UpperBound", + "path": "Quantity", + "short": "SHR UpperBound Profile", + "definition": "A measured or measurable amount with units that is known to be bounded from above by the quantity represented." + }, + { + "id": "Quantity:shr-core-UpperBound.value", + "path": "Quantity.value", + "min": 1, + "max": "1" + }, + { + "id": "Quantity:shr-core-UpperBound.comparator", + "path": "Quantity.comparator", + "min": 1, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json new file mode 100755 index 0000000..721d9fe --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Volume-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Volume-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Volume Extension

\n

The amount of three dimensional space occupied by an object or the capacity of a space or container.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Volume" + } + ], + "name": "SHR Volume Extension", + "title": "SHR Volume Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The amount of three dimensional space occupied by an object or the capacity of a space or container.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:volume", + "path": "Extension", + "short": "SHR Volume Extension", + "definition": "The amount of three dimensional space occupied by an object or the capacity of a space or container.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:volume.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:volume.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:volume.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:volume.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:volume", + "path": "Extension", + "short": "SHR Volume Extension", + "definition": "The amount of three dimensional space occupied by an object or the capacity of a space or container.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:volume.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:volume.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension" + }, + { + "id": "Extension:volume.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json new file mode 100755 index 0000000..7a77303 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-core-Width-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-core-Width-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Width Extension

\n

The measurement or extent of something from side to side.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.Width" + } + ], + "name": "SHR Width Extension", + "title": "SHR Width Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The measurement or extent of something from side to side.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:width", + "path": "Extension", + "short": "SHR Width Extension", + "definition": "The measurement or extent of something from side to side.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:width.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:width.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:width.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:width.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:width", + "path": "Extension", + "short": "SHR Width Extension", + "definition": "The measurement or extent of something from side to side.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:width.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:width.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension" + }, + { + "id": "Extension:width.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "TBD" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json new file mode 100755 index 0000000..5b6db48 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-CountryOfIssue-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-CountryOfIssue-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CountryOfIssue Extension

\n

A country acting as an assuing authority for a document.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.CountryOfIssue" + } + ], + "name": "SHR CountryOfIssue Extension", + "title": "SHR CountryOfIssue Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "A country acting as an assuing authority for a document.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:countryofissue", + "path": "Extension", + "short": "SHR CountryOfIssue Extension", + "definition": "A country acting as an assuing authority for a document.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:countryofissue.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:countryofissue.extension", + "path": "Extension.extension", + "slicing": { + "id": "197", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:countryofissue.extension:country", + "path": "Extension.extension", + "sliceName": "country", + "definition": "Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:countryofissue.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:countryofissue.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:countryofissue", + "path": "Extension", + "short": "SHR CountryOfIssue Extension", + "definition": "A country acting as an assuing authority for a document.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:countryofissue.extension:country", + "path": "Extension.extension", + "sliceName": "country", + "definition": "Country - a nation as commonly understood or generally accepted, expressed in ISO 3166 Alpha-2 (2-letter) codes.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension" + } + ] + }, + { + "id": "Extension:countryofissue.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension" + }, + { + "id": "Extension:countryofissue.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json new file mode 100755 index 0000000..808cfba --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json @@ -0,0 +1,444 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-DriversLicenseNumber-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DriversLicenseNumber Extension

\n

Identifying information from a drivers license.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.DriversLicenseNumber" + } + ], + "name": "SHR DriversLicenseNumber Extension", + "title": "SHR DriversLicenseNumber Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "Identifying information from a drivers license.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:driverslicensenumber", + "path": "Extension", + "short": "SHR DriversLicenseNumber Extension", + "definition": "Identifying information from a drivers license.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:driverslicensenumber.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension", + "path": "Extension.extension", + "slicing": { + "id": "194", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension:string", + "path": "Extension.extension", + "sliceName": "string", + "definition": "Identifying information from a drivers license.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension:stateofissue", + "path": "Extension.extension", + "sliceName": "stateofissue", + "definition": "Issuing authority for a drivers license.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension:effectivetimeperiod", + "path": "Extension.extension", + "sliceName": "effectivetimeperiod", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:driverslicensenumber.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:driverslicensenumber.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:driverslicensenumber", + "path": "Extension", + "short": "SHR DriversLicenseNumber Extension", + "definition": "Identifying information from a drivers license.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:driverslicensenumber.extension:string", + "path": "Extension.extension", + "sliceName": "string", + "definition": "Identifying information from a drivers license.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension:stateofissue", + "path": "Extension.extension", + "sliceName": "stateofissue", + "definition": "Issuing authority for a drivers license.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension" + } + ] + }, + { + "id": "Extension:driverslicensenumber.extension:effectivetimeperiod", + "path": "Extension.extension", + "sliceName": "effectivetimeperiod", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ] + }, + { + "id": "Extension:driverslicensenumber.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension" + }, + { + "id": "Extension:driverslicensenumber.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json new file mode 100755 index 0000000..6a67655 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FamilialRelationship-extension.json @@ -0,0 +1,510 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-FamilialRelationship-extension", + "text": { + "status": "generated", + "div": "
\n

SHR FamilialRelationship Extension

\n

The relationship of the subject to another person in the same (extended) family. May or may not be a blood relative (determined by value). Can be used to indicate there is no relation of the given type (e.g., no siblings), using the NonOccurrenceModifier.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.FamilialRelationship" + } + ], + "name": "SHR FamilialRelationship Extension", + "title": "SHR FamilialRelationship Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "The relationship of the subject to another person in the same (extended) family. May or may not be a blood relative (determined by value). Can be used to indicate there is no relation of the given type (e.g., no siblings), using the NonOccurrenceModifier.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:familialrelationship", + "path": "Extension", + "short": "SHR FamilialRelationship Extension", + "definition": "The relationship of the subject to another person in the same (extended) family. May or may not be a blood relative (determined by value). Can be used to indicate there is no relation of the given type (e.g., no siblings), using the NonOccurrenceModifier.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + }, + { + "key": "choice-1", + "severity": "error", + "human": "shr-demographics-FamilialRelationship-extension SHALL have either extension('relatedperson') or extension('practitioner')", + "expression": "( extension('relatedperson').url | extension('practitioner').url ).distinct().count() <= 1" + } + ] + }, + { + "id": "Extension:familialrelationship.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.extension", + "path": "Extension.extension", + "slicing": { + "id": "198", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "isModifier": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:relatedperson", + "path": "Extension.extension", + "sliceName": "relatedperson", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:practitioner", + "path": "Extension.extension", + "sliceName": "practitioner", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:nonoccurrencemodifier", + "path": "Extension.extension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:familialrelationship.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:familialrelationship", + "path": "Extension", + "short": "SHR FamilialRelationship Extension", + "definition": "The relationship of the subject to another person in the same (extended) family. May or may not be a blood relative (determined by value). Can be used to indicate there is no relation of the given type (e.g., no siblings), using the NonOccurrenceModifier.", + "min": 0, + "max": "*", + "constraint": [ + { + "key": "choice-1", + "severity": "error", + "human": "shr-demographics-FamilialRelationship-extension SHALL have either extension('relatedperson') or extension('practitioner')", + "expression": "( extension('relatedperson').url | extension('practitioner').url ).distinct().count() <= 1" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:codeableconcept", + "path": "Extension.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype" + } + } + }, + { + "id": "Extension:familialrelationship.extension:relatedperson", + "path": "Extension.extension", + "sliceName": "relatedperson", + "definition": "A person, other than a practitioner or the patient (the person of record) who is relevant to the health or social situation of the subject.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:practitioner", + "path": "Extension.extension", + "sliceName": "practitioner", + "definition": "A person who practices a healing art.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension" + } + ] + }, + { + "id": "Extension:familialrelationship.extension:nonoccurrencemodifier", + "path": "Extension.extension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ] + }, + { + "id": "Extension:familialrelationship.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension" + }, + { + "id": "Extension:familialrelationship.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json new file mode 100755 index 0000000..5115e49 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-FathersName-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-FathersName-extension", + "text": { + "status": "generated", + "div": "
\n

SHR FathersName Extension

\n

The name of the father as it was or likely to have been recorded on the birth certificate of the subject; most likely the name of the father at the time of birth of the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.FathersName" + } + ], + "name": "SHR FathersName Extension", + "title": "SHR FathersName Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "The name of the father as it was or likely to have been recorded on the birth certificate of the subject; most likely the name of the father at the time of birth of the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:fathersname", + "path": "Extension", + "short": "SHR FathersName Extension", + "definition": "The name of the father as it was or likely to have been recorded on the birth certificate of the subject; most likely the name of the father at the time of birth of the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:fathersname.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:fathersname.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:fathersname.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:fathersname.valueHumanName", + "path": "Extension.valueHumanName", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:fathersname", + "path": "Extension", + "short": "SHR FathersName Extension", + "definition": "The name of the father as it was or likely to have been recorded on the birth certificate of the subject; most likely the name of the father at the time of birth of the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:fathersname.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:fathersname.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension" + }, + { + "id": "Extension:fathersname.valueHumanName", + "path": "Extension.valueHumanName", + "min": 1, + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json new file mode 100755 index 0000000..cf37a5b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HealthInsurance.json @@ -0,0 +1,1224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-HealthInsurance", + "text": { + "status": "generated", + "div": "
\n

SHR HealthInsurance Profile

\n

Health insurance coverage available (even if not used for payment for a given encounter).

\n

SHR Mapping Summary

\n

shr.demographics.HealthInsurance maps to Coverage:\n  CodeableConcept maps to type\n  InsuranceMemberId maps to subscriberId\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HealthInsurance", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.HealthInsurance" + } + ], + "name": "SHR HealthInsurance Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.336Z", + "description": "Health insurance coverage available (even if not used for payment for a given encounter).", + "purpose": "Health care programs and insurers are significant payors of health service costs.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "cdanetv4", + "uri": "http://www.cda-adc.ca/en/services/cdanet/", + "name": "Canadian Dental Association eclaims standard" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + }, + { + "identity": "cpha3pharm", + "uri": "http://www.pharmacists.ca/", + "name": "Canadian Pharmacy Associaiton eclaims standard" + } + ], + "kind": "resource", + "abstract": false, + "type": "Coverage", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Coverage", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Coverage:shr-demographics-HealthInsurance", + "path": "Coverage", + "short": "SHR HealthInsurance Profile", + "definition": "Health insurance coverage available (even if not used for payment for a given 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Coverage" + }, + { + "identity": "w5", + "map": "financial.support" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.id", + "path": "Coverage.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.meta", + "path": "Coverage.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.implicitRules", + "path": "Coverage.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.language", + "path": "Coverage.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.text", + "path": "Coverage.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.contained", + "path": "Coverage.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.extension", + "path": "Coverage.extension", + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.modifierExtension", + "path": "Coverage.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.identifier", + "path": "Coverage.identifier", + "short": "The primary coverage ID", + "definition": "The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Certificate number, Personal Health Number or Case ID. May be constructed as the concatination of the Coverage.SubscriberID and the Coverage.dependant.", + "requirements": "This value may uniquely identify the coverage or it may be used in conjunction with the additional identifiers below.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C02" + }, + { + "identity": "v2", + "map": "IN1-2" + }, + { + "identity": "cpha3pharm", + "map": "C.32, C.33, C.39" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.status", + "path": "Coverage.status", + "short": "active | cancelled | draft | entered-in-error", + "definition": "The status of the resource instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the resource instance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/fm-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.type", + "path": "Coverage.type", + "short": "Type of coverage", + "definition": "The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health or payment by an individual or organization.", + "requirements": "The order of application of coverages is dependent on the types of coverage.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-InsuranceProviderTypeVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IN1-15" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.policyHolder", + "path": "Coverage.policyHolder", + "short": "Owner of the policy", + "definition": "The party who 'owns' the insurance policy, may be an individual, corporation or the subscriber's employer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D01 through D09" + }, + { + "identity": "v2", + "map": "IN1-16, 18, 19-name of insured, address, date of birth" + }, + { + "identity": "cpha3pharm", + "map": "C.35" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.subscriber", + "path": "Coverage.subscriber", + "short": "Subscriber to the policy", + "definition": "The party who has signed-up for or 'owns' the contractual relationship to the policy or to whom the benefit of the policy for services rendered to them or their family is due.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D01 through D09" + }, + { + "identity": "v2", + "map": "IN1-16, 18, 19-name of insured, address, date of birth" + }, + { + "identity": "cpha3pharm", + "map": "C.35" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.subscriberId", + "path": "Coverage.subscriberId", + "short": "ID assigned to the Subscriber", + "definition": "The insurer assigned ID for the Subscriber.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D01 through D09" + }, + { + "identity": "v2", + "map": "IN1-16, 18, 19-name of insured, address, date of birth" + }, + { + "identity": "cpha3pharm", + "map": "C.35" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.beneficiary", + "path": "Coverage.beneficiary", + "short": "Plan Beneficiary", + "definition": "The party who benefits from the insurance coverage., the patient when services are provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D01 through D09" + }, + { + "identity": "v2", + "map": "IN1-16, 18, 19-name of insured, address, date of birth" + }, + { + "identity": "cpha3pharm", + "map": "C.35" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.relationship", + "path": "Coverage.relationship", + "short": "Beneficiary relationship to the Subscriber", + "definition": "The relationship of beneficiary (patient) to the subscriber.", + "requirements": "To determine relationship between the patient and the subscriber.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The relationship between the Policyholder and the Beneficiary (insured/covered party/patient).", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/policyholder-relationship" + } + }, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C03" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.period", + "path": "Coverage.period", + "short": "Coverage start and end dates", + "definition": "Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IN1-12 / IN1-13" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.payor", + "path": "Coverage.payor", + "short": "Identifier for the plan or agreement issuer", + "definition": "The program or plan underwriter or payor including both insurance and non-insurance agreements, such as patient-pay agreements. May provide multiple identifiers such as insurance company identifier or business identifier (BIN number).", + "requirements": "Need to identify the issuer to target for processing and for coordination of benefit processing.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "A05" + }, + { + "identity": "v2", + "map": "IN1-3" + }, + { + "identity": "cpha3pharm", + "map": "C.30" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Group" + } + ], + "path": "Coverage.group", + "short": "Additional coverage classifications", + "definition": "A suite of underwrite specific classifiers, for example may be used to identify a class of coverage or employer group, Policy, Plan.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.id", + "path": "Coverage.group.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.extension", + "path": "Coverage.group.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.modifierExtension", + "path": "Coverage.group.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.group", + "path": "Coverage.group.group", + "short": "An identifier for the group", + "definition": "Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify an employer group. May also be referred to as a Policy or Group ID.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C11 (Division,Section)" + }, + { + "identity": "v2", + "map": "IN1-8" + }, + { + "identity": "cpha3pharm", + "map": "C.31" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.groupDisplay", + "path": "Coverage.group.groupDisplay", + "short": "Display text for an identifier for the group", + "definition": "A short description for the group.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C11 (Division,Section)" + }, + { + "identity": "v2", + "map": "IN1-8" + }, + { + "identity": "cpha3pharm", + "map": "C.31" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subGroup", + "path": "Coverage.group.subGroup", + "short": "An identifier for the subsection of the group", + "definition": "Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify a subset of an employer group.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IN1-8" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subGroupDisplay", + "path": "Coverage.group.subGroupDisplay", + "short": "Display text for the subsection of the group", + "definition": "A short description for the subgroup.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IN1-8" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.plan", + "path": "Coverage.group.plan", + "short": "An identifier for the plan", + "definition": "Identifies a style or collective of coverage issued by the underwriter, for example may be used to identify a collection of benefits provided to employees. May be referred to as a Section or Division ID.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.planDisplay", + "path": "Coverage.group.planDisplay", + "short": "Display text for the plan", + "definition": "A short description for the plan.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subPlan", + "path": "Coverage.group.subPlan", + "short": "An identifier for the subsection of the plan", + "definition": "Identifies a sub-style or sub-collective of coverage issued by the underwriter, for example may be used to identify a subset of a collection of benefits provided to employees.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IN1-10" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subPlanDisplay", + "path": "Coverage.group.subPlanDisplay", + "short": "Display text for the subsection of the plan", + "definition": "A short description for the subplan.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IN1-10" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.class", + "path": "Coverage.group.class", + "short": "An identifier for the class", + "definition": "Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.classDisplay", + "path": "Coverage.group.classDisplay", + "short": "Display text for the class", + "definition": "A short description for the class.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subClass", + "path": "Coverage.group.subClass", + "short": "An identifier for the subsection of the class", + "definition": "Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a subclass of coverage or employer group.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.group.subClassDisplay", + "path": "Coverage.group.subClassDisplay", + "short": "Display text for the subsection of the subclass", + "definition": "A short description for the subclass.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C01" + }, + { + "identity": "v2", + "map": "IN1-35" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.dependent", + "path": "Coverage.dependent", + "short": "Dependent number", + "definition": "A unique identifier for a dependent under the coverage.", + "requirements": "For some coverage a single identifier is issued to the Subscriber and a dependent number issued to each beneficiary.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "C17" + }, + { + "identity": "v2", + "map": "- No exact HL7 v2 equivalent concept seems to exist;" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.sequence", + "path": "Coverage.sequence", + "short": "The plan instance or sequence counter", + "definition": "An optional counter for a particular instance of the identified coverage which increments upon each renewal.", + "requirements": "Some coverage, for example social plans, may be offered in short time increments, for example for a week or a month at a time, so while the rest of the plan details and identifiers may remain constant over time, the instance is incremented with each renewal and provided to the covered party on their 'card'.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D11" + }, + { + "identity": "v2", + "map": "No HL7 v2 equivalent concept seems to exist" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.order", + "path": "Coverage.order", + "short": "Relative order of the coverage", + "definition": "The order of applicability of this coverage relative to other coverages which are currently inforce. Note, there may be gaps in the numbering and this does not imply primary, secondard etc. as the specific positioning of coverages depends upon the episode of care.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "- No exact HL7 v2 equivalent concept seems to exist;" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.network", + "path": "Coverage.network", + "short": "Insurer network", + "definition": "The insurer-specific identifier for the insurer-defined network of providers to which the beneficiary may seek treatment which will be covered at the 'in-network' rate, otherwise 'out of network' terms and conditions apply.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "cdanetv4", + "map": "D10" + } + ] + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.contract", + "path": "Coverage.contract", + "short": "Contract details", + "definition": "The policy(s) which constitute this insurance coverage.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Contract" + } + ], + "mapping": [ + { + "identity": "cdanetv4", + "map": "D01 through D09" + }, + { + "identity": "v2", + "map": "IN1-16, 18, 19" + }, + { + "identity": "cpha3pharm", + "map": "C.35" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Coverage:shr-demographics-HealthInsurance", + "path": "Coverage", + "short": "SHR HealthInsurance Profile", + "definition": "Health insurance coverage available (even if not used for payment for a given encounter)." + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.type", + "path": "Coverage.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-InsuranceProviderTypeVS" + } + } + }, + { + "id": "Coverage:shr-demographics-HealthInsurance.period", + "path": "Coverage.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json new file mode 100755 index 0000000..f01dabc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-HomeTelephoneNumber.json @@ -0,0 +1,454 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-HomeTelephoneNumber", + "text": { + "status": "generated", + "div": "
\n

SHR HomeTelephoneNumber Profile

\n

A telephone number associated with a person's residence.

\n

SHR Mapping Summary

\n

shr.demographics.HomeTelephoneNumber maps to ContactPoint:\n  TelecomNumberOrAddress maps to value\n  TelecomType maps to system\n  TelecomQualifier maps to use\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.HomeTelephoneNumber" + } + ], + "name": "SHR HomeTelephoneNumber Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.332Z", + "description": "A telephone number associated with a person's residence.", + "purpose": "Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "ContactPoint", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber", + "path": "ContactPoint", + "short": "SHR HomeTelephoneNumber Profile", + "definition": "A telephone number associated with a person's residence.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "cpt-2", + "severity": "error", + "human": "A system is required if a value is provided.", + "expression": "value.empty() or system.exists()", + "xpath": "not(exists(f:value)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XTN" + }, + { + "identity": "rim", + "map": "TEL" + }, + { + "identity": "servd", + "map": "ContactPoint" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.id", + "path": "ContactPoint.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.extension", + "path": "ContactPoint.extension", + "slicing": { + "id": "203", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.system", + "path": "ContactPoint.system", + "short": "phone | fax | email | pager | url | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contact-point-system" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.value", + "path": "ContactPoint.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).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.use", + "path": "ContactPoint.use", + "slicing": { + "id": "202", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + }, + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Use of contact point", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.use:personal", + "path": "ContactPoint.use", + "sliceName": "personal", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "personal" + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.rank", + "path": "ContactPoint.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.", + "comments": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.period", + "path": "ContactPoint.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./useablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber", + "path": "ContactPoint", + "short": "SHR HomeTelephoneNumber Profile", + "definition": "A telephone number associated with a person's residence." + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.system", + "path": "ContactPoint.system", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.value", + "path": "ContactPoint.value", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.use", + "path": "ContactPoint.use", + "slicing": { + "id": "202", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.use:personal", + "path": "ContactPoint.use", + "sliceName": "personal", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "personal" + }, + { + "id": "ContactPoint:shr-demographics-HomeTelephoneNumber.period", + "path": "ContactPoint.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json new file mode 100755 index 0000000..15abf81 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PassportNumber-extension.json @@ -0,0 +1,444 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-PassportNumber-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PassportNumber Extension

\n

Indicator of citizenship and identity.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.PassportNumber" + } + ], + "name": "SHR PassportNumber Extension", + "title": "SHR PassportNumber Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "Indicator of citizenship and identity.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:passportnumber", + "path": "Extension", + "short": "SHR PassportNumber Extension", + "definition": "Indicator of citizenship and identity.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:passportnumber.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:passportnumber.extension", + "path": "Extension.extension", + "slicing": { + "id": "196", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:passportnumber.extension:string", + "path": "Extension.extension", + "sliceName": "string", + "definition": "Indicator of citizenship and identity.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:passportnumber.extension:countryofissue", + "path": "Extension.extension", + "sliceName": "countryofissue", + "definition": "A country acting as an assuing authority for a document.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:passportnumber.extension:effectivetimeperiod", + "path": "Extension.extension", + "sliceName": "effectivetimeperiod", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:passportnumber.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:passportnumber.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:passportnumber", + "path": "Extension", + "short": "SHR PassportNumber Extension", + "definition": "Indicator of citizenship and identity.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:passportnumber.extension:string", + "path": "Extension.extension", + "sliceName": "string", + "definition": "Indicator of citizenship and identity.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension" + } + ] + }, + { + "id": "Extension:passportnumber.extension:countryofissue", + "path": "Extension.extension", + "sliceName": "countryofissue", + "definition": "A country acting as an assuing authority for a document.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension" + } + ] + }, + { + "id": "Extension:passportnumber.extension:effectivetimeperiod", + "path": "Extension.extension", + "sliceName": "effectivetimeperiod", + "definition": "The date and time span for which something is active, valid, or in force.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ] + }, + { + "id": "Extension:passportnumber.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension" + }, + { + "id": "Extension:passportnumber.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json new file mode 100755 index 0000000..b8aff4e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-PersonOfRecord-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PersonOfRecord Extension

\n

Extended demographic information about the subject of this SHR.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.PersonOfRecord" + } + ], + "name": "SHR PersonOfRecord Extension", + "title": "SHR PersonOfRecord Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.281Z", + "description": "Extended demographic information about the subject of this SHR.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:personofrecord", + "path": "Extension", + "short": "SHR PersonOfRecord Extension", + "definition": "Extended demographic information about the subject of this SHR.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:personofrecord.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:personofrecord.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:personofrecord.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:personofrecord.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:personofrecord", + "path": "Extension", + "short": "SHR PersonOfRecord Extension", + "definition": "Extended demographic information about the subject of this SHR.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:personofrecord.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:personofrecord.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension" + }, + { + "id": "Extension:personofrecord.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json new file mode 100755 index 0000000..696a84f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-PersonOfRecord.json @@ -0,0 +1,2463 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-PersonOfRecord", + "text": { + "status": "generated", + "div": "
\n

SHR PersonOfRecord Profile

\n

Extended demographic information about the subject of this SHR.

\n

SHR Mapping Summary

\n

shr.demographics.PersonOfRecord maps to Patient:\n  HumanName maps to name\n  DateOfBirth maps to birthDate\n  MultipleBirth maps to multipleBirth[x].boolean\n  MultipleBirth.MultipleBirthOrder maps to multipleBirth[x].integer\n  BirthSex maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex\n  PlaceOfBirth maps to http://hl7.org/fhir/StructureDefinition/birthPlace\n  AdministrativeGender maps to gender\n  Race maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-race\n  Ethnicity maps to http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity\n  MaritalStatus maps to maritalStatus\n  MothersMaidenName maps to http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName\n  AddressUsed maps to address\n  Telecom maps to telecom\n  LanguageUsed maps to communication\n  Deceased.boolean maps to deceased[x].boolean\n  MedicalInterpreterNeeded maps to http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.PersonOfRecord" + } + ], + "name": "SHR PersonOfRecord Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.326Z", + "description": "Extended demographic information about the subject of this SHR.", + "purpose": "Tracking patient is the center of the healthcare process.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-demographics-PersonOfRecord", + "path": "Patient", + "short": "SHR PersonOfRecord Profile", + "definition": "Extended demographic information about the subject of this SHR.", + "alias": [ + "SubjectOfCare Client Resident" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Patient[classCode=PAT]" + }, + { + "identity": "cda", + "map": "ClinicalDocument.recordTarget.patientRole" + }, + { + "identity": "w5", + "map": "administrative.individual" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.language", + "path": "Patient.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension", + "path": "Patient.extension", + "slicing": { + "id": "199", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:placeofbirth", + "path": "Patient.extension", + "sliceName": "placeofbirth", + "definition": "The location of a birth event. There may be multiple entries, but a person has only one place of birth.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:medicalinterpreterneeded", + "path": "Patient.extension", + "sliceName": "medicalinterpreterneeded", + "definition": "Whether the subject requires an interpreter to communicate with an English-speaking provider.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:mothersmaidenname", + "path": "Patient.extension", + "sliceName": "mothersmaidenname", + "definition": "The name of the mother as it was or likely to have been recorded on the birth certificate of the subject. This is most likely the name prior to marriage of the mother (aka the maiden name).", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "definition": "Administrative sex assigned at birth and recorded on birth certificate.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "definition": "Indicator of Hispanic or Latino origin.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "definition": "Subjective association of a person with a named category of humans sharing common history, traits, place of family origin, nationality, tribe, or other inherited background.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:anonymized", + "path": "Patient.extension", + "sliceName": "anonymized", + "definition": "Flag indicating if personally identifiable information has been withheld.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:fictionalperson", + "path": "Patient.extension", + "sliceName": "fictionalperson", + "definition": "Flag indicating if this record represents a fictional (synthetic, not real) person.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:fathersname", + "path": "Patient.extension", + "sliceName": "fathersname", + "definition": "The name of the father as it was or likely to have been recorded on the birth certificate of the subject; most likely the name of the father at the time of birth of the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:socialsecuritynumber", + "path": "Patient.extension", + "sliceName": "socialsecuritynumber", + "definition": "A US social security number (SSN).", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:driverslicensenumber", + "path": "Patient.extension", + "sliceName": "driverslicensenumber", + "definition": "Identifying information from a drivers license.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:passportnumber", + "path": "Patient.extension", + "sliceName": "passportnumber", + "definition": "Indicator of citizenship and identity.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:familialrelationship", + "path": "Patient.extension", + "sliceName": "familialrelationship", + "definition": "The relationship of the subject to another person in the same (extended) family. May or may not be a blood relative (determined by value). Can be used to indicate there is no relation of the given type (e.g., no siblings), using the NonOccurrenceModifier.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.active", + "path": "Patient.active", + "short": "Whether this patient's record is in active use", + "definition": "Whether this patient record is in active use.", + "comments": "Default is true. 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", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": true, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "cda", + "map": "n/a" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.name", + "path": "Patient.name", + "short": "A name associated with the patient", + "definition": "A name associated with the individual.", + "comments": "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": 0, + "max": "*", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": ".patient.name" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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 may 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": 1, + "max": "*", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14, PID-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": ".telecom" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "The gender may 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 M and F, though the vast majority of systems and contexts only support M and F. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific gender aspect of interest (anatomical, chromosonal, 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, chromosonal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overrideable error, not a \"hard\" error.", + "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.birthDate", + "path": "Patient.birthDate", + "short": "The date of birth for the individual", + "definition": "The date of birth for the individual.", + "comments": "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 maternaty/infant care systems).", + "requirements": "Age of the individual drives many clinical processes.", + "min": 1, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "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" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.deceased[x]", + "path": "Patient.deceased[x]", + "short": "Indicates if the individual is deceased or not", + "definition": "Indicates if the individual is deceased or not.", + "comments": "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", + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "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:shr-demographics-PersonOfRecord.address", + "path": "Patient.address", + "short": "Addresses for the individual", + "definition": "Addresses for the individual.", + "comments": "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": 1, + "max": "*", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": ".addr" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "The domestic partnership status of a person.", + "valueSetReference": { + "reference": "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:shr-demographics-PersonOfRecord.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 (bool) or indicates the actual birth order (integer).", + "comments": "Where the valueInteger is provided, the number is the birth number in the sequence.\nE.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3\nIf a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=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": 1, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "integer" + } + ], + "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:shr-demographics-PersonOfRecord.photo", + "path": "Patient.photo", + "short": "Image of the patient", + "definition": "Image of the patient.", + "requirements": "Many EHR systems have the capability to capture an image of the patient. Fits with newer social media usage too.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "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:shr-demographics-PersonOfRecord.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.", + "comments": "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.contact.id", + "path": "Patient.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.contact.modifierExtension", + "path": "Patient.contact.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "The nature of the relationship between a patient and a contact person for that patient.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v2-0131" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-7, NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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", + "type": [ + { + "code": "HumanName" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-5, NK1-6, NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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", + "type": [ + { + "code": "Address" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "condition": [ + "pat-1" + ], + "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:shr-demographics-PersonOfRecord.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", + "type": [ + { + "code": "Period" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Animal" + } + ], + "path": "Patient.animal", + "short": "This patient is known to be an animal (non-human)", + "definition": "This patient is known to be an animal.", + "comments": "The animal element is labeled \"Is Modifier\" since patients may be non-human. Systems SHALL either handle patient details appropriately (e.g. inform users patient is not human) or reject declared animal records. The absense of the animal element does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required. (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).", + "requirements": "Many clinical systems are extended to care for animal patients as well as human.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=ANM]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.id", + "path": "Patient.animal.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.extension", + "path": "Patient.animal.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.modifierExtension", + "path": "Patient.animal.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.species", + "path": "Patient.animal.species", + "short": "E.g. Dog, Cow", + "definition": "Identifies the high level taxonomic categorization of the kind of animal.", + "comments": "If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognised taxonomic classification. It may or may not be Linnaean taxonomy and may or may not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species. (The common example is that the word \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for \"Hereford Cattle Breed\" does.).", + "requirements": "Need to know what kind of animal.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The species of an animal.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-species" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-35" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.breed", + "path": "Patient.animal.breed", + "short": "E.g. Poodle, Angus", + "definition": "Identifies the detailed categorization of the kind of animal.", + "comments": "Breed MAY be used to provide further taxonomic or non-taxonomic classification. It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.", + "requirements": "May need to know the specific kind within the species.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The breed of an animal.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-breeds" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-37" + }, + { + "identity": "rim", + "map": "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.animal.genderStatus", + "path": "Patient.animal.genderStatus", + "short": "E.g. Neutered, Intact", + "definition": "Indicates the current state of the animal's reproductive organs.", + "requirements": "Gender status can affect housing and animal behavior.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The state of the animal's reproductive organs.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "genderStatusCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.communication", + "path": "Patient.communication", + "short": "A list of Languages which may be used to communicate with the patient about his or her health", + "definition": "Languages which may be used to communicate with the patient about his or her health.", + "comments": "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 is an important things to keep track of both for patient and other persons of interest.", + "min": 1, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + }, + { + "identity": "cda", + "map": "patient.languageCommunication" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.communication.id", + "path": "Patient.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.communication.modifierExtension", + "path": "Patient.communication.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, LAN-2" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + }, + { + "identity": "cda", + "map": ".languageCode" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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).", + "comments": "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", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-15" + }, + { + "identity": "rim", + "map": "preferenceInd" + }, + { + "identity": "cda", + "map": ".preferenceInd" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.generalPractitioner", + "path": "Patient.generalPractitioner", + "short": "Patient's nominated primary care provider", + "definition": "Patient's nominated care provider.", + "comments": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disablity setting, or even organization that will provide people to perform the care provider roles.\n\nIt 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.", + "alias": [ + "careProvider" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PD1-4" + }, + { + "identity": "rim", + "map": "subjectOf.CareEvent.performer.AssignedEntity" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.managingOrganization", + "path": "Patient.managingOrganization", + "short": "Organization that is the custodian of the patient record", + "definition": "Organization that is the custodian of the patient record.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": ".providerOrganization" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "There is no assumption that linked patient records have mutual links.", + "requirements": "There are multiple usecases: \n\n* Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * Distribution of patient information across multiple servers.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundLink" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.link.id", + "path": "Patient.link.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.link.modifierExtension", + "path": "Patient.link.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.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.", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3, MRG-1" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.link.type", + "path": "Patient.link.type", + "short": "replace | refer | seealso - type of link", + "definition": "The type of link between this patient resource and another patient resource.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of link between this patient resource and another patient resource.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/link-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "typeCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Patient:shr-demographics-PersonOfRecord", + "path": "Patient", + "short": "SHR PersonOfRecord Profile", + "definition": "Extended demographic information about the subject of this SHR." + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:placeofbirth", + "path": "Patient.extension", + "sliceName": "placeofbirth", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/birthPlace" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:medicalinterpreterneeded", + "path": "Patient.extension", + "sliceName": "medicalinterpreterneeded", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:mothersmaidenname", + "path": "Patient.extension", + "sliceName": "mothersmaidenname", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:anonymized", + "path": "Patient.extension", + "sliceName": "anonymized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:fictionalperson", + "path": "Patient.extension", + "sliceName": "fictionalperson", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:fathersname", + "path": "Patient.extension", + "sliceName": "fathersname", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:socialsecuritynumber", + "path": "Patient.extension", + "sliceName": "socialsecuritynumber", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:driverslicensenumber", + "path": "Patient.extension", + "sliceName": "driverslicensenumber", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:passportnumber", + "path": "Patient.extension", + "sliceName": "passportnumber", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.extension:familialrelationship", + "path": "Patient.extension", + "sliceName": "familialrelationship", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.name", + "path": "Patient.name", + "type": [ + { + "code": "HumanName", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.telecom", + "path": "Patient.telecom", + "min": 1, + "max": "*", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.gender", + "path": "Patient.gender", + "min": 1, + "max": "1" + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.birthDate", + "path": "Patient.birthDate", + "min": 1, + "max": "1" + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.deceased[x]", + "path": "Patient.deceased[x]", + "type": [ + { + "code": "boolean" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.address", + "path": "Patient.address", + "min": 1, + "max": "*", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.maritalStatus", + "path": "Patient.maritalStatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.multipleBirth[x]", + "path": "Patient.multipleBirth[x]", + "min": 1, + "max": "1" + }, + { + "id": "Patient:shr-demographics-PersonOfRecord.communication", + "path": "Patient.communication", + "min": 1, + "max": "*" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json new file mode 100755 index 0000000..d42bf29 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-SocialSecurityNumber-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SocialSecurityNumber Extension

\n

A US social security number (SSN).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.SocialSecurityNumber" + } + ], + "name": "SHR SocialSecurityNumber Extension", + "title": "SHR SocialSecurityNumber Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "A US social security number (SSN).", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:socialsecuritynumber", + "path": "Extension", + "short": "SHR SocialSecurityNumber Extension", + "definition": "A US social security number (SSN).", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:socialsecuritynumber.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:socialsecuritynumber.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:socialsecuritynumber.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:socialsecuritynumber.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:socialsecuritynumber", + "path": "Extension", + "short": "SHR SocialSecurityNumber Extension", + "definition": "A US social security number (SSN).", + "min": 0, + "max": "*" + }, + { + "id": "Extension:socialsecuritynumber.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:socialsecuritynumber.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension" + }, + { + "id": "Extension:socialsecuritynumber.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json new file mode 100755 index 0000000..fb7403d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-StateOfIssue-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-StateOfIssue-extension", + "text": { + "status": "generated", + "div": "
\n

SHR StateOfIssue Extension

\n

Issuing authority for a drivers license.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.StateOfIssue" + } + ], + "name": "SHR StateOfIssue Extension", + "title": "SHR StateOfIssue Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.328Z", + "description": "Issuing authority for a drivers license.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:stateofissue", + "path": "Extension", + "short": "SHR StateOfIssue Extension", + "definition": "Issuing authority for a drivers license.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:stateofissue.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:stateofissue.extension", + "path": "Extension.extension", + "slicing": { + "id": "195", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:stateofissue.extension:state", + "path": "Extension.extension", + "sliceName": "state", + "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 (i.e. US 2 letter state codes). (Source: HL7 FHIR).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:stateofissue.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:stateofissue.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:stateofissue", + "path": "Extension", + "short": "SHR StateOfIssue Extension", + "definition": "Issuing authority for a drivers license.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:stateofissue.extension:state", + "path": "Extension.extension", + "sliceName": "state", + "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 (i.e. US 2 letter state codes). (Source: HL7 FHIR).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension" + } + ] + }, + { + "id": "Extension:stateofissue.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension" + }, + { + "id": "Extension:stateofissue.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json new file mode 100755 index 0000000..3532676 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-Telecom.json @@ -0,0 +1,408 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-Telecom", + "text": { + "status": "generated", + "div": "
\n

SHR Telecom Profile

\n

An electronic means of contacting an organization or individual.

\n

SHR Mapping Summary

\n

shr.demographics.Telecom maps to ContactPoint:\n  TelecomNumberOrAddress maps to value\n  TelecomType maps to system\n  TelecomQualifier maps to use\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.Telecom" + } + ], + "name": "SHR Telecom Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.330Z", + "description": "An electronic means of contacting an organization or individual.", + "purpose": "Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "ContactPoint", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ContactPoint:shr-demographics-Telecom", + "path": "ContactPoint", + "short": "SHR Telecom Profile", + "definition": "An electronic means of contacting an organization or individual.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "cpt-2", + "severity": "error", + "human": "A system is required if a value is provided.", + "expression": "value.empty() or system.exists()", + "xpath": "not(exists(f:value)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XTN" + }, + { + "identity": "rim", + "map": "TEL" + }, + { + "identity": "servd", + "map": "ContactPoint" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.id", + "path": "ContactPoint.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.extension", + "path": "ContactPoint.extension", + "slicing": { + "id": "200", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.system", + "path": "ContactPoint.system", + "short": "phone | fax | email | pager | url | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contact-point-system" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.value", + "path": "ContactPoint.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).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.use", + "path": "ContactPoint.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Use of contact point", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.rank", + "path": "ContactPoint.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.", + "comments": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-Telecom.period", + "path": "ContactPoint.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./useablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ContactPoint:shr-demographics-Telecom", + "path": "ContactPoint", + "short": "SHR Telecom Profile", + "definition": "An electronic means of contacting an organization or individual." + }, + { + "id": "ContactPoint:shr-demographics-Telecom.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ContactPoint:shr-demographics-Telecom.system", + "path": "ContactPoint.system", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-Telecom.value", + "path": "ContactPoint.value", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-Telecom.period", + "path": "ContactPoint.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json new file mode 100755 index 0000000..2feb860 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelecomTypeOther-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-TelecomTypeOther-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TelecomTypeOther Extension

\n

Specification of the type of telecom channel, if the TelecomType is other.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelecomTypeOther" + } + ], + "name": "SHR TelecomTypeOther Extension", + "title": "SHR TelecomTypeOther Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.330Z", + "description": "Specification of the type of telecom channel, if the TelecomType is other.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:telecomtypeother", + "path": "Extension", + "short": "SHR TelecomTypeOther Extension", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:telecomtypeother.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:telecomtypeother.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:telecomtypeother.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:telecomtypeother.valueString", + "path": "Extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:telecomtypeother", + "path": "Extension", + "short": "SHR TelecomTypeOther Extension", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:telecomtypeother.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:telecomtypeother.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + }, + { + "id": "Extension:telecomtypeother.valueString", + "path": "Extension.valueString", + "min": 1, + "type": [ + { + "code": "string" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json new file mode 100755 index 0000000..1ef0999 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-TelephoneNumber.json @@ -0,0 +1,408 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-TelephoneNumber", + "text": { + "status": "generated", + "div": "
\n

SHR TelephoneNumber Profile

\n

A sequence of decimal digits (0-9) that is used for identifying a destination telephone line or other device in a telephone network.

\n

SHR Mapping Summary

\n

shr.demographics.TelephoneNumber maps to ContactPoint:\n  TelecomNumberOrAddress maps to value\n  TelecomType maps to system\n  TelecomQualifier maps to use\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelephoneNumber", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelephoneNumber" + } + ], + "name": "SHR TelephoneNumber Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.331Z", + "description": "A sequence of decimal digits (0-9) that is used for identifying a destination telephone line or other device in a telephone network.", + "purpose": "Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "ContactPoint", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ContactPoint:shr-demographics-TelephoneNumber", + "path": "ContactPoint", + "short": "SHR TelephoneNumber Profile", + "definition": "A sequence of decimal digits (0-9) that is used for identifying a destination telephone line or other device in a telephone network.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "cpt-2", + "severity": "error", + "human": "A system is required if a value is provided.", + "expression": "value.empty() or system.exists()", + "xpath": "not(exists(f:value)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XTN" + }, + { + "identity": "rim", + "map": "TEL" + }, + { + "identity": "servd", + "map": "ContactPoint" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.id", + "path": "ContactPoint.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.extension", + "path": "ContactPoint.extension", + "slicing": { + "id": "201", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.system", + "path": "ContactPoint.system", + "short": "phone | fax | email | pager | url | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contact-point-system" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.value", + "path": "ContactPoint.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).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.use", + "path": "ContactPoint.use", + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Use of contact point", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.rank", + "path": "ContactPoint.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.", + "comments": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.period", + "path": "ContactPoint.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./useablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ContactPoint:shr-demographics-TelephoneNumber", + "path": "ContactPoint", + "short": "SHR TelephoneNumber Profile", + "definition": "A sequence of decimal digits (0-9) that is used for identifying a destination telephone line or other device in a telephone network." + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.system", + "path": "ContactPoint.system", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.value", + "path": "ContactPoint.value", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-TelephoneNumber.period", + "path": "ContactPoint.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json new file mode 100755 index 0000000..1d1a5af --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-demographics-WorkTelephoneNumber.json @@ -0,0 +1,454 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-demographics-WorkTelephoneNumber", + "text": { + "status": "generated", + "div": "
\n

SHR WorkTelephoneNumber Profile

\n

A telephone number associated with a person's residence.

\n

SHR Mapping Summary

\n

shr.demographics.WorkTelephoneNumber maps to ContactPoint:\n  TelecomNumberOrAddress maps to value\n  TelecomType maps to system\n  TelecomQualifier maps to use\n  EffectiveTimePeriod maps to period\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.WorkTelephoneNumber" + } + ], + "name": "SHR WorkTelephoneNumber Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.333Z", + "description": "A telephone number associated with a person's residence.", + "purpose": "Need to track phone, fax, mobile, sms numbers, email addresses, twitter tags, etc.", + "fhirVersion": "1.8.0", + "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" + } + ], + "kind": "complex-type", + "abstract": false, + "type": "ContactPoint", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ContactPoint", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber", + "path": "ContactPoint", + "short": "SHR WorkTelephoneNumber Profile", + "definition": "A telephone number associated with a person's residence.", + "min": 0, + "max": "*", + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "cpt-2", + "severity": "error", + "human": "A system is required if a value is provided.", + "expression": "value.empty() or system.exists()", + "xpath": "not(exists(f:value)) or exists(f:system)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "v2", + "map": "XTN" + }, + { + "identity": "rim", + "map": "TEL" + }, + { + "identity": "servd", + "map": "ContactPoint" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.id", + "path": "ContactPoint.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.extension", + "path": "ContactPoint.extension", + "slicing": { + "id": "205", + "discriminator": [ + "url" + ], + "ordered": false, + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "definition": "Specification of the type of telecom channel, if the TelecomType is other.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.system", + "path": "ContactPoint.system", + "short": "phone | fax | email | pager | url | other", + "definition": "Telecommunications form for contact point - what communications system is required to make use of the contact.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "condition": [ + "cpt-2" + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Telecommunications form for contact point", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contact-point-system" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XTN.3" + }, + { + "identity": "rim", + "map": "./scheme" + }, + { + "identity": "servd", + "map": "./ContactPointType" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.value", + "path": "ContactPoint.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).", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XTN.1 (or XTN.12)" + }, + { + "identity": "rim", + "map": "./url" + }, + { + "identity": "servd", + "map": "./Value" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.use", + "path": "ContactPoint.use", + "slicing": { + "id": "204", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + }, + "short": "home | work | temp | old | mobile - purpose of this contact point", + "definition": "Identifies the purpose for the contact point.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old contact etc.for a current/permanent one. 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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Use of contact point", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.use:work", + "path": "ContactPoint.use", + "sliceName": "work", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "work" + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.rank", + "path": "ContactPoint.rank", + "short": "Specify preferred order of use (1 = highest)", + "definition": "Specifies a preferred order in which to use a set of contacts. Contacts are ranked with lower values coming before higher values.", + "comments": "Note that rank does not necessarily follow the order in which the contacts are represented in the instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "n/a" + }, + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.period", + "path": "ContactPoint.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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "./useablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber", + "path": "ContactPoint", + "short": "SHR WorkTelephoneNumber Profile", + "definition": "A telephone number associated with a person's residence." + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.extension:telecomtypeother", + "path": "ContactPoint.extension", + "sliceName": "telecomtypeother", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.system", + "path": "ContactPoint.system", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.value", + "path": "ContactPoint.value", + "min": 1, + "max": "1" + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.use", + "path": "ContactPoint.use", + "slicing": { + "id": "204", + "discriminator": [ + "value" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.use:work", + "path": "ContactPoint.use", + "sliceName": "work", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "work" + }, + { + "id": "ContactPoint:shr-demographics-WorkTelephoneNumber.period", + "path": "ContactPoint.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json b/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json new file mode 100755 index 0000000..b89b7eb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-device-Device.json @@ -0,0 +1,822 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-device-Device", + "text": { + "status": "generated", + "div": "
\n

SHR Device Profile

\n

A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients.

\n

SHR Mapping Summary

\n

shr.device.Device maps to Device:\n  CodeableConcept maps to type\n  DeviceUdi maps to udiCarrier.value\n  VendorModelNumber maps to model\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.Device" + } + ], + "name": "SHR Device Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.338Z", + "description": "A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients.", + "purpose": "Allows institutions to track their devices.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "udi", + "uri": "http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm", + "name": "UDI Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device:shr-device-Device", + "path": "Device", + "short": "SHR Device Profile", + "definition": "A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "w5", + "map": "administrative.device" + } + ] + }, + { + "id": "Device:shr-device-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Device:shr-device-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Device:shr-device-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Device:shr-device-Device.language", + "path": "Device.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Device:shr-device-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Device:shr-device-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-device-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-device-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-device-Device.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comments": "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. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of the UDI that identifies the serial number of a specific device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "Serial Number" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The serial number which is a component of the 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." + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:shr-device-Device.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "[Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.", + "comments": "The udiCarrier string may identify an unique instance of a device, or it may only identify the type of the device. The Human Readable format (HRF) is required in FHIR. AIDC identifiers cannot be conveyed in FHIR, Because of limitations on character sets in XML and the need to round-trip JSON data through XML. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The full UDI carrier - The Human Readable Form (HRF) representation of the barcode string as printed on the packaging of the device. The 'type' component should be set to “UDI” and the 'system' component to the the appropriate repository url. the additional URL is needed to identify the authoritative source for UDI generation within the jurisdiction. All UDIs are globally unique within a single namespace. with the appropriate repository uri as the system. This allows a recipient of a UDI to know which database will contain the UDI-associated metadata. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC identifiers cannot be conveyed in FHIR." + }, + { + "identity": "rim", + "map": ".id[where root is root for UDI]" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:shr-device-Device.status", + "path": "Device.status", + "short": "available | not-available | entered-in-error", + "definition": "Status of the Device availability.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The availability status of the device.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/devicestatus" + } + }, + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Device:shr-device-Device.type", + "path": "Device.type", + "short": "What kind of device this is", + "definition": "Code or identifier to identify a kind of device.", + "comments": "There can be different code values thath may correspond to different granularities of the same concept. These can be represented as translations using the [codeableConcept](datatypes.html#codeableconcept) datatype. For [UDI](device.html#5.11.3.2.2), this element corresponds to the UDI device identifier (DI) part. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes to identify medical devices", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-kind" + } + }, + "mapping": [ + { + "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 devicet. The system uri should be included. Possible URIs include\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1-di\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc-di\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood-di\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other-di" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-Device.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "comments": "Alphanumeric. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the lot or batch number within which a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-Device.manufacturer", + "path": "Device.manufacturer", + "short": "Name of device manufacturer", + "definition": "A name of the manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-Device.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the date a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the 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": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-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).", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the expiration date of a physical instance of a device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the 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": "rim", + "map": ".expirationTime" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-Device.model", + "path": "Device.model", + "short": "Model id assigned by the manufacturer", + "definition": "The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-Device.version", + "path": "Device.version", + "short": "Version number (i.e. software)", + "definition": "The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-device-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": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Device:shr-device-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:shr-device-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.", + "comments": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:shr-device-Device.location", + "path": "Device.location", + "short": "Where the resource 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:shr-device-Device.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comments": "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", + "type": [ + { + "code": "uri" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:shr-device-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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".text" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Device:shr-device-Device", + "path": "Device", + "short": "SHR Device Profile", + "definition": "A specific durable physical device used in diagnosis or treatment. The value is the coding for a type of device, for example, a CPAP machine. The same device might be used on multiple patients." + }, + { + "id": "Device:shr-device-Device.type", + "path": "Device.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json new file mode 100755 index 0000000..edab987 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUse.json @@ -0,0 +1,766 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-device-DeviceUse", + "text": { + "status": "generated", + "div": "
\n

SHR DeviceUse Profile

\n

A statement pertaining to the use of a device by a subject. May document the use of a device, or that the subject does not use a particular type of device.

\n

SHR Mapping Summary

\n

shr.device.DeviceUse maps to DeviceUseStatement:\n  Entry.FocalSubject maps to subject\n  Device maps to device\n  Reason maps to indication\n  PeriodOfUse maps to whenUsed\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.DeviceUse" + } + ], + "name": "SHR DeviceUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.339Z", + "description": "A statement pertaining to the use of a device by a subject. May document the use of a device, or that the subject does not use a particular type of device.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DeviceUseStatement", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DeviceUseStatement:shr-device-DeviceUse", + "path": "DeviceUseStatement", + "short": "SHR DeviceUse Profile", + "definition": "A statement pertaining to the use of a device by a subject. May document the use of a device, or that the subject does not use a particular type of 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "quick", + "map": "DeviceUsePerformanceOccurrence" + }, + { + "identity": "w5", + "map": "workflow.order" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.id", + "path": "DeviceUseStatement.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.meta", + "path": "DeviceUseStatement.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.implicitRules", + "path": "DeviceUseStatement.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.language", + "path": "DeviceUseStatement.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.text", + "path": "DeviceUseStatement.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.contained", + "path": "DeviceUseStatement.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.extension", + "path": "DeviceUseStatement.extension", + "slicing": { + "id": "206", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.extension:deviceusestatus", + "path": "DeviceUseStatement.extension", + "sliceName": "deviceusestatus", + "definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.extension:implanted", + "path": "DeviceUseStatement.extension", + "sliceName": "implanted", + "definition": "Whether this device is implanted in the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.modifierExtension", + "path": "DeviceUseStatement.modifierExtension", + "slicing": { + "id": "207", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.modifierExtension:nonoccurrencemodifier", + "path": "DeviceUseStatement.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.bodySite", + "path": "DeviceUseStatement.bodySite", + "short": "Target body site", + "definition": "Indicates the site on the subject's body where the device was used ( i.e. the target site).", + "requirements": "Knowing where the device is targeted is important for tracking if multiple sites are possible. If more information than just a code is required, use the extension [http://hl7.org/fhir/StructureDefinition/body-site-instance](null.html).", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.whenUsed", + "path": "DeviceUseStatement.whenUsed", + "short": "Period device was used", + "definition": "The time period over which the device was used.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Performance.performanceTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.device", + "path": "DeviceUseStatement.device", + "short": "Reference to device used", + "definition": "The details of the device used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "DeviceUse.device" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.identifier", + "path": "DeviceUseStatement.identifier", + "short": "External identifier for this record", + "definition": "An external identifier for this statement such as an IRI.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.indication", + "path": "DeviceUseStatement.indication", + "short": "Why device was used", + "definition": "Reason or justification for the use of the device.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Action.indication.reason" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.notes", + "path": "DeviceUseStatement.notes", + "short": "Addition details (comments, instructions)", + "definition": "Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.recordedOn", + "path": "DeviceUseStatement.recordedOn", + "short": "When statement was recorded", + "definition": "The time at which the statement was made/recorded.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.statementDateTime" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.subject", + "path": "DeviceUseStatement.subject", + "short": "Patient using device", + "definition": "The patient who used the device.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.timing[x]", + "path": "DeviceUseStatement.timing[x]", + "short": "How often the device was used", + "definition": "How often the device was used.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Timing" + }, + { + "code": "Period" + }, + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "DeviceUse.applicationSchedule" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DeviceUseStatement:shr-device-DeviceUse", + "path": "DeviceUseStatement", + "short": "SHR DeviceUse Profile", + "definition": "A statement pertaining to the use of a device by a subject. May document the use of a device, or that the subject does not use a particular type of device." + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.extension:deviceusestatus", + "path": "DeviceUseStatement.extension", + "sliceName": "deviceusestatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.extension:implanted", + "path": "DeviceUseStatement.extension", + "sliceName": "implanted", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.modifierExtension:nonoccurrencemodifier", + "path": "DeviceUseStatement.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.whenUsed", + "path": "DeviceUseStatement.whenUsed", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.device", + "path": "DeviceUseStatement.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.indication", + "path": "DeviceUseStatement.indication", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "DeviceUseStatement:shr-device-DeviceUse.subject", + "path": "DeviceUseStatement.subject", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json new file mode 100755 index 0000000..ed67cb3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-device-DeviceUseStatus-extension.json @@ -0,0 +1,228 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-device-DeviceUseStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DeviceUseStatus Extension

\n

A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.DeviceUseStatus" + } + ], + "name": "SHR DeviceUseStatus Extension", + "title": "SHR DeviceUseStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.340Z", + "description": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:deviceusestatus", + "path": "Extension", + "short": "SHR DeviceUseStatus Extension", + "definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:deviceusestatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deviceusestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:deviceusestatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:deviceusestatus.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-statement-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:deviceusestatus", + "path": "Extension", + "short": "SHR DeviceUseStatus Extension", + "definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:deviceusestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:deviceusestatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension" + }, + { + "id": "Extension:deviceusestatus.valueCode", + "path": "Extension.valueCode", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-statement-status" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json new file mode 100755 index 0000000..6dfdc4a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-device-Implanted-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-device-Implanted-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Implanted Extension

\n

Whether this device is implanted in the body.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.Implanted" + } + ], + "name": "SHR Implanted Extension", + "title": "SHR Implanted Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.340Z", + "description": "Whether this device is implanted in the body.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:implanted", + "path": "Extension", + "short": "SHR Implanted Extension", + "definition": "Whether this device is implanted in the body.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:implanted.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:implanted.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:implanted.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:implanted.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:implanted", + "path": "Extension", + "short": "SHR Implanted Extension", + "definition": "Whether this device is implanted in the body.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:implanted.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:implanted.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension" + }, + { + "id": "Extension:implanted.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json new file mode 100755 index 0000000..cbfb597 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Encounter.json @@ -0,0 +1,2180 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-Encounter", + "text": { + "status": "generated", + "div": "
\n

SHR Encounter Profile

\n

A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.

\n

SHR Mapping Summary

\n

shr.encounter.Encounter maps to Encounter:\n  Entry.FocalSubject maps to patient\n  OccurrenceTime maps to period\n  EncounterType maps to class\n  Participant maps to participant\n  Participant.Practitioner maps to participant.individual\n  Participant.RelatedPerson maps to participant.individual\n  Participant.OccurrenceTime maps to participant.period\n  Participant.ParticipationType maps to participant.type\n  ProviderOrganization maps to serviceProvider\n  TBD "HealthConcern" maps to indication\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.Encounter" + } + ], + "name": "SHR Encounter Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.348Z", + "description": "A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-encounter-Encounter", + "path": "Encounter", + "short": "SHR Encounter Profile", + "definition": "A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.", + "alias": [ + "Visit" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Encounter[@moodCode='EVN']" + }, + { + "identity": "w5", + "map": "workflow.encounter" + } + ] + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Encounter:shr-encounter-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Encounter:shr-encounter-Encounter.language", + "path": "Encounter.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Encounter:shr-encounter-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension", + "path": "Encounter.extension", + "slicing": { + "id": "211", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:referraldate", + "path": "Encounter.extension", + "sliceName": "referraldate", + "definition": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:referralsourcetype", + "path": "Encounter.extension", + "sliceName": "referralsourcetype", + "definition": "The type of person or entity that instigated the encounter.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:facility", + "path": "Encounter.extension", + "sliceName": "facility", + "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:treatmentcooperation", + "path": "Encounter.extension", + "sliceName": "treatmentcooperation", + "definition": "Whether the patient is undergoing treatment voluntarily, or under a legal order.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:paymentsource", + "path": "Encounter.extension", + "sliceName": "paymentsource", + "definition": "The source of payment for the current encounter.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.modifierExtension", + "path": "Encounter.modifierExtension", + "slicing": { + "id": "212", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.modifierExtension:encounternonoccurrencemodifier", + "path": "Encounter.modifierExtension", + "sliceName": "encounternonoccurrencemodifier", + "definition": "True if the encounter did not occur.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-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": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.status", + "path": "Encounter.status", + "short": "planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error", + "definition": "planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Current state of the encounter", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-status" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.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.", + "comments": "The current status is always found in the current version of the resource, not the status history.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.statusHistory.id", + "path": "Encounter.statusHistory.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.statusHistory.modifierExtension", + "path": "Encounter.statusHistory.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.statusHistory.status", + "path": "Encounter.statusHistory.status", + "short": "planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error", + "definition": "planned | arrived | in-progress | onleave | finished | cancelled | entered-in-error.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Current state of the encounter", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "Period" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.class", + "path": "Encounter.class", + "short": "inpatient | outpatient | ambulatory | emergency +", + "definition": "inpatient | outpatient | ambulatory | emergency +.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Coding", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterTypeVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-2" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=LIST].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Encounter:shr-encounter-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).", + "comments": "Since there are many ways to further classify encounters, this element is 0..*.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The type of encounter", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-4 / PV1-18" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.priority", + "path": "Encounter.priority", + "short": "Indicates the urgency of the encounter", + "definition": "Indicates the urgency of the encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Indicates the urgency of the encounter.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ActPriority" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV2-25" + }, + { + "identity": "rim", + "map": ".priorityCode" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.patient", + "path": "Encounter.patient", + "short": "The patient present at the encounter", + "definition": "The patient present at the encounter.", + "comments": "While the encounter is always about the patient, the patient may not actually be known in all contexts of use.", + "alias": [ + "patient" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ]/role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Encounter:shr-encounter-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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-54, PV1-53" + }, + { + "identity": "rim", + "map": "n/a" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.incomingReferral", + "path": "Encounter.incomingReferral", + "short": "The ReferralRequest that initiated this encounter", + "definition": "The referral request this encounter satisfies (incoming referral).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".reason.ClinicalDocument" + } + ] + }, + { + "id": "Encounter:shr-encounter-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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ROL" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.id", + "path": "Encounter.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.modifierExtension", + "path": "Encounter.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.type", + "path": "Encounter.participant.type", + "short": "Role of participant in encounter", + "definition": "Role of participant in encounter.", + "comments": "The participant type indicates how an individual partitipates 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": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Role of participant in encounter", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-participant-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "ROL-3 (or maybe PRT-4)" + }, + { + "identity": "rim", + "map": ".functionCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ROL-5, ROL-6 (or maybe PRT-5)" + }, + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ROL-4" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "w5", + "map": "who" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.appointment", + "path": "Encounter.appointment", + "short": "The appointment that scheduled this encounter", + "definition": "The appointment that scheduled this encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Appointment" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "SCH-1 / SCH-2" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=FLFS].target[classCode=ENC, moodCode=APT]" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.period", + "path": "Encounter.period", + "short": "The start and end time of the encounter", + "definition": "The start and end time of the encounter.", + "comments": "If not (yet) known, the end of the Period may be omitted.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-44, PV1-45" + }, + { + "identity": "rim", + "map": ".effectiveTime (low & high)" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "May differ from the time the Encounter.period lasted because of leave of absence.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Duration" + } + ], + "mapping": [ + { + "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:shr-encounter-Encounter.reason", + "path": "Encounter.reason", + "short": "Reason the encounter takes place (code)", + "definition": "Reason the encounter takes place, expressed as a code. For admissions, this can be used for a coded admission diagnosis.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Reason why the encounter takes place.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-reason" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.indication", + "path": "Encounter.indication", + "short": "Reason the encounter takes place (resource)", + "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.", + "comments": "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Account" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".pertains.A_Account" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization", + "path": "Encounter.hospitalization", + "short": "Details about the admission to a healthcare service", + "definition": "Details about the admission to a healthcare service.", + "comments": "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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ENC, moodCode=EVN]" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.id", + "path": "Encounter.hospitalization.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.modifierExtension", + "path": "Encounter.hospitalization.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.preAdmissionIdentifier", + "path": "Encounter.hospitalization.preAdmissionIdentifier", + "short": "Pre-admission identifier", + "definition": "Pre-admission identifier.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-5" + }, + { + "identity": "rim", + "map": ".id" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.origin", + "path": "Encounter.hospitalization.origin", + "short": "The location from which the patient came before admission", + "definition": "The location from which the patient came before admission.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=ORG].role" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "preferred", + "description": "From where the patient was admitted.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-admit-source" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-14" + }, + { + "identity": "rim", + "map": ".admissionReferralSourceCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.admittingDiagnosis", + "path": "Encounter.hospitalization.admittingDiagnosis", + "short": "The admitting diagnosis as reported by admitting practitioner", + "definition": "The admitting diagnosis field is used to record the diagnosis codes as reported by admitting practitioner. This could be different or in addition to the conditions reported as reason-condition(s) for the encounter.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".reason.A_ObservationDx" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason for re-admission of this hospitalization encounter.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v2-0092" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-13" + }, + { + "identity": "rim", + "map": "Propose at harmonization" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.dietPreference", + "path": "Encounter.hospitalization.dietPreference", + "short": "Diet preferences reported by the patient", + "definition": "Diet preferences reported by the patient.", + "comments": "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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Medical, cultural or ethical food preferences to help with catering requirements.", + "valueSetReference": { + "reference": "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:shr-encounter-Encounter.hospitalization.specialCourtesy", + "path": "Encounter.hospitalization.specialCourtesy", + "short": "Special courtesies (VIP, board member)", + "definition": "Special courtesies (VIP, board member).", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "preferred", + "description": "Special courtesies", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-special-courtesy" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-16" + }, + { + "identity": "rim", + "map": ".specialCourtesiesCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.specialArrangement", + "path": "Encounter.hospitalization.specialArrangement", + "short": "Wheelchair, translator, stretcher, etc.", + "definition": "Wheelchair, translator, stretcher, etc.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "preferred", + "description": "Special arrangements", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-special-arrangements" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-15 / OBR-30 / OBR-43" + }, + { + "identity": "rim", + "map": ".specialArrangementCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.destination", + "path": "Encounter.hospitalization.destination", + "short": "Location to which the patient is discharged", + "definition": "Location to which the patient is discharged.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-37" + }, + { + "identity": "rim", + "map": ".participation[typeCode=DST]" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Discharge Disposition", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-discharge-disposition" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PV1-36" + }, + { + "identity": "rim", + "map": ".dischargeDispositionCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.hospitalization.dischargeDiagnosis", + "path": "Encounter.hospitalization.dischargeDiagnosis", + "short": "The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete", + "definition": "The final diagnosis given a patient before release from the hospital after all testing, surgery, and workup are complete.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target[classCode=OBS, moodCode=EVN, code=ASSERTION].value" + } + ] + }, + { + "id": "Encounter:shr-encounter-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.", + "comments": "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=LOC]" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.location.id", + "path": "Encounter.location.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.location.modifierExtension", + "path": "Encounter.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-3 / PV1-6 / PV1-11 / PV1-42 / PV1-43" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Encounter:shr-encounter-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 is no longer at the location, then the period will have an end date/time.", + "comments": "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", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "The status of the location.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/encounter-location-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".role.statusCode" + } + ] + }, + { + "id": "Encounter:shr-encounter-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", + "type": [ + { + "code": "Period" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".time" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "short": "The custodian organization of this Encounter record", + "definition": "An organization that is in charge of maintaining the information of this Encounter (e.g. who maintains the report or the master service catalog item, etc.). This MAY be the same as the organization on the Patient record, however it could be different. This MAY not be not the Service Delivery Location's Organization.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-10 / PL.6 & PL.1 (note: HL7 v2 definition is \"the treatment or type of surgery that the patient is scheduled to receive\"; seems slightly out of alignment with the concept name 'hospital service'. Would not trust that implementations apply this semantic by default)" + }, + { + "identity": "rim", + "map": ".particiaption[typeCode=PFM].role" + } + ] + }, + { + "id": "Encounter:shr-encounter-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).", + "comments": "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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=COMP, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Encounter:shr-encounter-Encounter", + "path": "Encounter", + "short": "SHR Encounter Profile", + "definition": "A statement about a planned or actual interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient." + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:referraldate", + "path": "Encounter.extension", + "sliceName": "referraldate", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:referralsourcetype", + "path": "Encounter.extension", + "sliceName": "referralsourcetype", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:facility", + "path": "Encounter.extension", + "sliceName": "facility", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:treatmentcooperation", + "path": "Encounter.extension", + "sliceName": "treatmentcooperation", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.extension:paymentsource", + "path": "Encounter.extension", + "sliceName": "paymentsource", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.modifierExtension:encounternonoccurrencemodifier", + "path": "Encounter.modifierExtension", + "sliceName": "encounternonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Encounter:shr-encounter-Encounter.class", + "path": "Encounter.class", + "type": [ + { + "code": "Coding", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterTypeVS" + } + } + }, + { + "id": "Encounter:shr-encounter-Encounter.patient", + "path": "Encounter.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant", + "path": "Encounter.participant" + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.type", + "path": "Encounter.participant.type", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.period", + "path": "Encounter.participant.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.participant.individual", + "path": "Encounter.participant.individual", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.period", + "path": "Encounter.period", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Encounter:shr-encounter-Encounter.serviceProvider", + "path": "Encounter.serviceProvider", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json new file mode 100755 index 0000000..1f298f9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json @@ -0,0 +1,507 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-EncounterNonOccurrenceModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR EncounterNonOccurrenceModifier Extension

\n

True if the encounter did not occur.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EncounterNonOccurrenceModifier" + } + ], + "name": "SHR EncounterNonOccurrenceModifier Extension", + "title": "SHR EncounterNonOccurrenceModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.349Z", + "description": "True if the encounter did not occur.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:encounternonoccurrencemodifier", + "path": "Extension", + "short": "SHR EncounterNonOccurrenceModifier Extension", + "definition": "True if the encounter did not occur.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension", + "path": "Extension.extension", + "slicing": { + "id": "209", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True if the encounter did not occur.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason.extension:extension", + "path": "Extension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:encounternonoccurrencemodifier", + "path": "Extension", + "short": "SHR EncounterNonOccurrenceModifier Extension", + "definition": "True if the encounter did not occur.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True if the encounter did not occur.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ] + }, + { + "id": "Extension:encounternonoccurrencemodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension" + }, + { + "id": "Extension:encounternonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json new file mode 100755 index 0000000..e9d0379 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-Facility-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Facility Extension

\n

Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.Facility" + } + ], + "name": "SHR Facility Extension", + "title": "SHR Facility Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.350Z", + "description": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:facility", + "path": "Extension", + "short": "SHR Facility Extension", + "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:facility.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:facility.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:facility.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:facility.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:facility", + "path": "Extension", + "short": "SHR Facility Extension", + "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:facility.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:facility.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension" + }, + { + "id": "Extension:facility.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json new file mode 100755 index 0000000..c16af5b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-Facility.json @@ -0,0 +1,942 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-Facility", + "text": { + "status": "generated", + "div": "
\n

SHR Facility Profile

\n

Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.

\n

SHR Mapping Summary

\n

shr.encounter.Facility maps to Location:\n  FacilityName maps to name\n  Location.Address maps to address\n  Location.Geoposition.Latitude maps to position.latitude\n  Location.Geoposition.Longitude maps to position.longitude\n  Location.Geoposition.Altitude maps to position.altitude\n  Telecom maps to telecom\n  ManagingOrganization maps to managingOrganization\n  FacilityType maps to type\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.Facility" + } + ], + "name": "SHR Facility Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.342Z", + "description": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Location", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location:shr-encounter-Facility", + "path": "Location", + "short": "SHR Facility Profile", + "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "w5", + "map": "administrative.entity" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Location:shr-encounter-Facility.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Location:shr-encounter-Facility.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Location:shr-encounter-Facility.language", + "path": "Location.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Location:shr-encounter-Facility.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.extension", + "path": "Location.extension", + "slicing": { + "id": "208", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.extension:mobilefacility", + "path": "Location.extension", + "sliceName": "mobilefacility", + "definition": "A facility that moves from place to place, such as Meals-On-Wheels.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.status", + "path": "Location.status", + "short": "active | suspended | inactive", + "definition": "active | suspended | inactive.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether the location is still in use.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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.", + "comments": "If the name of an location changes, consider putting the old name in the alias column so that it can still be located through searches.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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.", + "comments": "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": "*", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.mode", + "path": "Location.mode", + "short": "instance | kind", + "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", + "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", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-mode" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC].determinerCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.type", + "path": "Location.type", + "short": "Type of function performed", + "definition": "Indicates the type of function performed at the location.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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": "1", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comments": "This was kept as 0..1 as there is no use property on the address, so wouldn't be able to identify different address types.", + "requirements": "If locations can be visited, we need to keep track of their address.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".addr" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Physical form of the location", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-physical-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.position.id", + "path": "Location.position.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.position.modifierExtension", + "path": "Location.position.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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", + "type": [ + { + "code": "decimal" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.managingOrganization", + "path": "Location.managingOrganization", + "short": "Organization responsible for provisioning and upkeep", + "definition": "The organization responsible for the provisioning and upkeep of the location.", + "comments": "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": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.partOf", + "path": "Location.partOf", + "short": "Another Location this one is physically part of", + "definition": "Another Location which this Location is physically part of.", + "requirements": "For purposes of location, display and identification, knowing which locations are located within other locations is important.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Location:shr-encounter-Facility", + "path": "Location", + "short": "SHR Facility Profile", + "definition": "Services and space and equipment provided for a particular purpose; a building or place that provides a particular service or is used for a particular industry. Could be a clinical site, community site, or a mobile facility." + }, + { + "id": "Location:shr-encounter-Facility.extension:mobilefacility", + "path": "Location.extension", + "sliceName": "mobilefacility", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:shr-encounter-Facility.name", + "path": "Location.name", + "min": 1, + "max": "1" + }, + { + "id": "Location:shr-encounter-Facility.type", + "path": "Location.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.telecom", + "path": "Location.telecom", + "min": 0, + "max": "1", + "type": [ + { + "code": "ContactPoint", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.address", + "path": "Location.address", + "type": [ + { + "code": "Address", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address" + } + ] + }, + { + "id": "Location:shr-encounter-Facility.managingOrganization", + "path": "Location.managingOrganization", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json new file mode 100755 index 0000000..a4cbc94 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-MobileFacility-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-MobileFacility-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MobileFacility Extension

\n

A facility that moves from place to place, such as Meals-On-Wheels.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.MobileFacility" + } + ], + "name": "SHR MobileFacility Extension", + "title": "SHR MobileFacility Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.343Z", + "description": "A facility that moves from place to place, such as Meals-On-Wheels.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:mobilefacility", + "path": "Extension", + "short": "SHR MobileFacility Extension", + "definition": "A facility that moves from place to place, such as Meals-On-Wheels.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:mobilefacility.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:mobilefacility.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:mobilefacility.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:mobilefacility.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:mobilefacility", + "path": "Extension", + "short": "SHR MobileFacility Extension", + "definition": "A facility that moves from place to place, such as Meals-On-Wheels.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:mobilefacility.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:mobilefacility.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension" + }, + { + "id": "Extension:mobilefacility.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json new file mode 100755 index 0000000..fc328b1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-PaymentSource-extension.json @@ -0,0 +1,324 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-PaymentSource-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PaymentSource Extension

\n

The source of payment for the current encounter.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.PaymentSource" + } + ], + "name": "SHR PaymentSource Extension", + "title": "SHR PaymentSource Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.350Z", + "description": "The source of payment for the current encounter.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:paymentsource", + "path": "Extension", + "short": "SHR PaymentSource Extension", + "definition": "The source of payment for the current encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:paymentsource.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:paymentsource.extension", + "path": "Extension.extension", + "slicing": { + "id": "210", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:paymentsource.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:paymentsource.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:paymentsource", + "path": "Extension", + "short": "SHR PaymentSource Extension", + "definition": "The source of payment for the current encounter.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:paymentsource.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension" + }, + { + "id": "Extension:paymentsource.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json new file mode 100755 index 0000000..66d1e81 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralDate-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-ReferralDate-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReferralDate Extension

\n

The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReferralDate" + } + ], + "name": "SHR ReferralDate Extension", + "title": "SHR ReferralDate Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.349Z", + "description": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:referraldate", + "path": "Extension", + "short": "SHR ReferralDate Extension", + "definition": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:referraldate.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:referraldate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:referraldate.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:referraldate.valueDate", + "path": "Extension.valueDate", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:referraldate", + "path": "Extension", + "short": "SHR ReferralDate Extension", + "definition": "The date when the provider received a referral for service. A referral includes an oral, written, faxed or electronic request for services made by the client or on the client�s behalf.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:referraldate.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:referraldate.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension" + }, + { + "id": "Extension:referraldate.valueDate", + "path": "Extension.valueDate", + "min": 1, + "type": [ + { + "code": "date" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json new file mode 100755 index 0000000..21b6e2b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-ReferralSourceType-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-ReferralSourceType-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReferralSourceType Extension

\n

The type of person or entity that instigated the encounter.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReferralSourceType" + } + ], + "name": "SHR ReferralSourceType Extension", + "title": "SHR ReferralSourceType Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.349Z", + "description": "The type of person or entity that instigated the encounter.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:referralsourcetype", + "path": "Extension", + "short": "SHR ReferralSourceType Extension", + "definition": "The type of person or entity that instigated the encounter.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:referralsourcetype.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:referralsourcetype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:referralsourcetype.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:referralsourcetype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReferralSourceTypeVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:referralsourcetype", + "path": "Extension", + "short": "SHR ReferralSourceType Extension", + "definition": "The type of person or entity that instigated the encounter.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:referralsourcetype.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:referralsourcetype.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension" + }, + { + "id": "Extension:referralsourcetype.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReferralSourceTypeVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json new file mode 100755 index 0000000..2d484ab --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-encounter-TreatmentCooperation-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-encounter-TreatmentCooperation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TreatmentCooperation Extension

\n

Whether the patient is undergoing treatment voluntarily, or under a legal order.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.TreatmentCooperation" + } + ], + "name": "SHR TreatmentCooperation Extension", + "title": "SHR TreatmentCooperation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.350Z", + "description": "Whether the patient is undergoing treatment voluntarily, or under a legal order.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:treatmentcooperation", + "path": "Extension", + "short": "SHR TreatmentCooperation Extension", + "definition": "Whether the patient is undergoing treatment voluntarily, or under a legal order.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:treatmentcooperation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:treatmentcooperation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:treatmentcooperation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:treatmentcooperation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-TreatmentCooperationVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:treatmentcooperation", + "path": "Extension", + "short": "SHR TreatmentCooperation Extension", + "definition": "Whether the patient is undergoing treatment voluntarily, or under a legal order.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:treatmentcooperation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:treatmentcooperation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension" + }, + { + "id": "Extension:treatmentcooperation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-TreatmentCooperationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json new file mode 100755 index 0000000..e9136ad --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-AnimalExposure-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AnimalExposure Extension

\n

The type of animals or pets the subject is exposed to.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnimalExposure" + } + ], + "name": "SHR AnimalExposure Extension", + "title": "SHR AnimalExposure Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.210Z", + "description": "The type of animals or pets the subject is exposed to.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:animalexposure", + "path": "Extension", + "short": "SHR AnimalExposure Extension", + "definition": "The type of animals or pets the subject is exposed to.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:animalexposure.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:animalexposure.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:animalexposure.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:animalexposure.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:animalexposure", + "path": "Extension", + "short": "SHR AnimalExposure Extension", + "definition": "The type of animals or pets the subject is exposed to.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:animalexposure.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:animalexposure.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension" + }, + { + "id": "Extension:animalexposure.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json new file mode 100755 index 0000000..9c50f89 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnimalExposure.json @@ -0,0 +1,2674 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-AnimalExposure", + "text": { + "status": "generated", + "div": "
\n

SHR AnimalExposure Profile

\n

The type of animals or pets the subject is exposed to.

\n

SHR Mapping Summary

\n

shr.environment.AnimalExposure maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnimalExposure" + } + ], + "name": "SHR AnimalExposure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.216Z", + "description": "The type of animals or pets the subject is exposed to.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-AnimalExposure", + "path": "Observation", + "short": "SHR AnimalExposure Profile", + "definition": "The type of animals or pets the subject is exposed to.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnimalExposure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnimalExposure.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension", + "path": "Observation.extension", + "slicing": { + "id": "158", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-AnimalExposureVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "159", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.category", + "path": "Observation.category", + "slicing": { + "id": "157", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0238646" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-AnimalExposure.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-AnimalExposure", + "path": "Observation", + "short": "SHR AnimalExposure Profile", + "definition": "The type of animals or pets the subject is exposed to." + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-AnimalExposureVS" + } + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnimalExposure.category", + "path": "Observation.category", + "slicing": { + "id": "157", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0238646" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnimalExposure.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-AnimalExposure.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-AnimalExposure.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json new file mode 100755 index 0000000..bb96c84 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-AnnualIncome-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AnnualIncome Extension

\n

The amount of earnings made by a family unit in one year, estimated or self-reported.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnnualIncome" + } + ], + "name": "SHR AnnualIncome Extension", + "title": "SHR AnnualIncome Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.091Z", + "description": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:annualincome", + "path": "Extension", + "short": "SHR AnnualIncome Extension", + "definition": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:annualincome.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:annualincome.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:annualincome.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:annualincome.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:annualincome", + "path": "Extension", + "short": "SHR AnnualIncome Extension", + "definition": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:annualincome.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:annualincome.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension" + }, + { + "id": "Extension:annualincome.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json new file mode 100755 index 0000000..2e05bc2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-AnnualIncome.json @@ -0,0 +1,1980 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-AnnualIncome", + "text": { + "status": "generated", + "div": "
\n

SHR AnnualIncome Profile

\n

The amount of earnings made by a family unit in one year, estimated or self-reported.

\n

SHR Mapping Summary

\n

shr.environment.AnnualIncome maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  DollarAmount maps to value[x].quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnnualIncome" + } + ], + "name": "SHR AnnualIncome Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.098Z", + "description": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-AnnualIncome", + "path": "Observation", + "short": "SHR AnnualIncome Profile", + "definition": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnnualIncome.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-AnnualIncome.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-AnnualIncome.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.extension", + "path": "Observation.extension", + "slicing": { + "id": "114", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "115", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557163" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-AnnualIncome.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-AnnualIncome", + "path": "Observation", + "short": "SHR AnnualIncome Profile", + "definition": "The amount of earnings made by a family unit in one year, estimated or self-reported." + }, + { + "id": "Observation:shr-environment-AnnualIncome.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnnualIncome.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnnualIncome.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-AnnualIncome.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557163" + } + ] + } + }, + { + "id": "Observation:shr-environment-AnnualIncome.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-AnnualIncome.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-AnnualIncome.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json new file mode 100755 index 0000000..e73b63f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordChildCare-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordChildCare Extension

\n

How often can the subject afford child care?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordChildCare" + } + ], + "name": "SHR CanAffordChildCare Extension", + "title": "SHR CanAffordChildCare Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford child care?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordchildcare", + "path": "Extension", + "short": "SHR CanAffordChildCare Extension", + "definition": "How often can the subject afford child care?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordchildcare.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordchildcare.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordchildcare.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordchildcare.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordchildcare", + "path": "Extension", + "short": "SHR CanAffordChildCare Extension", + "definition": "How often can the subject afford child care?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordchildcare.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordchildcare.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension" + }, + { + "id": "Extension:canaffordchildcare.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json new file mode 100755 index 0000000..7197067 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordChildCare.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordChildCare", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordChildCare Profile

\n

How often can the subject afford child care?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordChildCare maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordChildCare" + } + ], + "name": "SHR CanAffordChildCare Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.173Z", + "description": "How often can the subject afford child care?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordChildCare", + "path": "Observation", + "short": "SHR CanAffordChildCare Profile", + "definition": "How often can the subject afford child care?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.extension", + "path": "Observation.extension", + "slicing": { + "id": "144", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "145", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "143", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordChildCare.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordChildCare", + "path": "Observation", + "short": "SHR CanAffordChildCare Profile", + "definition": "How often can the subject afford child care?" + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "143", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordChildCare.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json new file mode 100755 index 0000000..de62288 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordClothing-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordClothing Extension

\n

How often can the subject afford clothing?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordClothing" + } + ], + "name": "SHR CanAffordClothing Extension", + "title": "SHR CanAffordClothing Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford clothing?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordclothing", + "path": "Extension", + "short": "SHR CanAffordClothing Extension", + "definition": "How often can the subject afford clothing?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordclothing.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordclothing.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordclothing.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordclothing.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordclothing", + "path": "Extension", + "short": "SHR CanAffordClothing Extension", + "definition": "How often can the subject afford clothing?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordclothing.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordclothing.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension" + }, + { + "id": "Extension:canaffordclothing.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json new file mode 100755 index 0000000..babfc9e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordClothing.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordClothing", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordClothing Profile

\n

How often can the subject afford clothing?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordClothing maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordClothing" + } + ], + "name": "SHR CanAffordClothing Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.137Z", + "description": "How often can the subject afford clothing?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordClothing", + "path": "Observation", + "short": "SHR CanAffordClothing Profile", + "definition": "How often can the subject afford clothing?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordClothing.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.extension", + "path": "Observation.extension", + "slicing": { + "id": "129", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "130", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "128", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordClothing.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordClothing", + "path": "Observation", + "short": "SHR CanAffordClothing Profile", + "definition": "How often can the subject afford clothing?" + }, + { + "id": "Observation:shr-environment-CanAffordClothing.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordClothing.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordClothing.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordClothing.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordClothing.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "128", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordClothing.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordClothing.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json new file mode 100755 index 0000000..ddf842d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordDentalCare-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordDentalCare Extension

\n

How often can the subject afford dental care?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordDentalCare" + } + ], + "name": "SHR CanAffordDentalCare Extension", + "title": "SHR CanAffordDentalCare Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford dental care?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canafforddentalcare", + "path": "Extension", + "short": "SHR CanAffordDentalCare Extension", + "definition": "How often can the subject afford dental care?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canafforddentalcare.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canafforddentalcare.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canafforddentalcare.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canafforddentalcare.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canafforddentalcare", + "path": "Extension", + "short": "SHR CanAffordDentalCare Extension", + "definition": "How often can the subject afford dental care?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canafforddentalcare.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canafforddentalcare.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension" + }, + { + "id": "Extension:canafforddentalcare.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json new file mode 100755 index 0000000..8b23cf5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordDentalCare.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordDentalCare", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordDentalCare Profile

\n

How often can the subject afford dental care?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordDentalCare maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordDentalCare" + } + ], + "name": "SHR CanAffordDentalCare Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.166Z", + "description": "How often can the subject afford dental care?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordDentalCare", + "path": "Observation", + "short": "SHR CanAffordDentalCare Profile", + "definition": "How often can the subject afford dental care?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.extension", + "path": "Observation.extension", + "slicing": { + "id": "141", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "142", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "140", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordDentalCare.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordDentalCare", + "path": "Observation", + "short": "SHR CanAffordDentalCare Profile", + "definition": "How often can the subject afford dental care?" + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "140", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordDentalCare.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json new file mode 100755 index 0000000..a23ca27 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordFood-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordFood Extension

\n

How often can the subject afford food?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordFood" + } + ], + "name": "SHR CanAffordFood Extension", + "title": "SHR CanAffordFood Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.091Z", + "description": "How often can the subject afford food?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordfood", + "path": "Extension", + "short": "SHR CanAffordFood Extension", + "definition": "How often can the subject afford food?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordfood.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordfood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordfood.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordfood.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordfood", + "path": "Extension", + "short": "SHR CanAffordFood Extension", + "definition": "How often can the subject afford food?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordfood.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordfood.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension" + }, + { + "id": "Extension:canaffordfood.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json new file mode 100755 index 0000000..18e117f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordFood.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordFood", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordFood Profile

\n

How often can the subject afford food?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordFood maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordFood" + } + ], + "name": "SHR CanAffordFood Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.122Z", + "description": "How often can the subject afford food?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordFood", + "path": "Observation", + "short": "SHR CanAffordFood Profile", + "definition": "How often can the subject afford food?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordFood.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordFood.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordFood.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.extension", + "path": "Observation.extension", + "slicing": { + "id": "123", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "124", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "122", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordFood.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordFood", + "path": "Observation", + "short": "SHR CanAffordFood Profile", + "definition": "How often can the subject afford food?" + }, + { + "id": "Observation:shr-environment-CanAffordFood.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordFood.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordFood.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordFood.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordFood.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "122", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordFood.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordFood.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json new file mode 100755 index 0000000..a23a22d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordHousing-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordHousing Extension

\n

How often can the subject afford housing?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordHousing" + } + ], + "name": "SHR CanAffordHousing Extension", + "title": "SHR CanAffordHousing Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.091Z", + "description": "How often can the subject afford housing?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordhousing", + "path": "Extension", + "short": "SHR CanAffordHousing Extension", + "definition": "How often can the subject afford housing?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordhousing.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordhousing.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordhousing.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordhousing.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordhousing", + "path": "Extension", + "short": "SHR CanAffordHousing Extension", + "definition": "How often can the subject afford housing?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordhousing.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordhousing.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension" + }, + { + "id": "Extension:canaffordhousing.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json new file mode 100755 index 0000000..f95a0ba --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordHousing.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordHousing", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordHousing Profile

\n

How often can the subject afford housing?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordHousing maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordHousing" + } + ], + "name": "SHR CanAffordHousing Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.129Z", + "description": "How often can the subject afford housing?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordHousing", + "path": "Observation", + "short": "SHR CanAffordHousing Profile", + "definition": "How often can the subject afford housing?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordHousing.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.extension", + "path": "Observation.extension", + "slicing": { + "id": "126", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "127", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "125", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordHousing.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordHousing", + "path": "Observation", + "short": "SHR CanAffordHousing Profile", + "definition": "How often can the subject afford housing?" + }, + { + "id": "Observation:shr-environment-CanAffordHousing.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordHousing.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordHousing.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordHousing.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordHousing.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "125", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordHousing.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordHousing.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json new file mode 100755 index 0000000..b05ea5b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordMedication-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordMedication Extension

\n

How often can the subject afford medications?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordMedication" + } + ], + "name": "SHR CanAffordMedication Extension", + "title": "SHR CanAffordMedication Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford medications?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordmedication", + "path": "Extension", + "short": "SHR CanAffordMedication Extension", + "definition": "How often can the subject afford medications?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordmedication.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordmedication.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordmedication.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordmedication.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordmedication", + "path": "Extension", + "short": "SHR CanAffordMedication Extension", + "definition": "How often can the subject afford medications?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordmedication.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordmedication.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension" + }, + { + "id": "Extension:canaffordmedication.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json new file mode 100755 index 0000000..f03a514 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordMedication.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordMedication", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordMedication Profile

\n

How often can the subject afford medications?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordMedication maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordMedication" + } + ], + "name": "SHR CanAffordMedication Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.157Z", + "description": "How often can the subject afford medications?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordMedication", + "path": "Observation", + "short": "SHR CanAffordMedication Profile", + "definition": "How often can the subject afford medications?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordMedication.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.extension", + "path": "Observation.extension", + "slicing": { + "id": "138", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "139", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "137", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordMedication.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordMedication", + "path": "Observation", + "short": "SHR CanAffordMedication Profile", + "definition": "How often can the subject afford medications?" + }, + { + "id": "Observation:shr-environment-CanAffordMedication.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordMedication.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordMedication.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordMedication.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordMedication.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "137", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordMedication.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordMedication.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json new file mode 100755 index 0000000..7f6e7ef --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordTransportation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordTransportation Extension

\n

How often can the subject afford transportation?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordTransportation" + } + ], + "name": "SHR CanAffordTransportation Extension", + "title": "SHR CanAffordTransportation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford transportation?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordtransportation", + "path": "Extension", + "short": "SHR CanAffordTransportation Extension", + "definition": "How often can the subject afford transportation?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordtransportation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordtransportation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordtransportation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordtransportation.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordtransportation", + "path": "Extension", + "short": "SHR CanAffordTransportation Extension", + "definition": "How often can the subject afford transportation?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordtransportation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordtransportation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension" + }, + { + "id": "Extension:canaffordtransportation.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json new file mode 100755 index 0000000..ff98b5f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordTransportation.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordTransportation", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordTransportation Profile

\n

How often can the subject afford transportation?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordTransportation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordTransportation" + } + ], + "name": "SHR CanAffordTransportation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.151Z", + "description": "How often can the subject afford transportation?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordTransportation", + "path": "Observation", + "short": "SHR CanAffordTransportation Profile", + "definition": "How often can the subject afford transportation?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.extension", + "path": "Observation.extension", + "slicing": { + "id": "135", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "136", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "134", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordTransportation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordTransportation", + "path": "Observation", + "short": "SHR CanAffordTransportation Profile", + "definition": "How often can the subject afford transportation?" + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "134", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordTransportation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json new file mode 100755 index 0000000..c561726 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordUtilities-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordUtilities Extension

\n

How often can the subject afford utilities?

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordUtilities" + } + ], + "name": "SHR CanAffordUtilities Extension", + "title": "SHR CanAffordUtilities Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "How often can the subject afford utilities?", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:canaffordutilities", + "path": "Extension", + "short": "SHR CanAffordUtilities Extension", + "definition": "How often can the subject afford utilities?", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:canaffordutilities.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordutilities.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:canaffordutilities.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:canaffordutilities.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:canaffordutilities", + "path": "Extension", + "short": "SHR CanAffordUtilities Extension", + "definition": "How often can the subject afford utilities?", + "min": 0, + "max": "*" + }, + { + "id": "Extension:canaffordutilities.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:canaffordutilities.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension" + }, + { + "id": "Extension:canaffordutilities.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json new file mode 100755 index 0000000..7ca2380 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-CanAffordUtilities.json @@ -0,0 +1,2004 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-CanAffordUtilities", + "text": { + "status": "generated", + "div": "
\n

SHR CanAffordUtilities Profile

\n

How often can the subject afford utilities?

\n

SHR Mapping Summary

\n

shr.environment.CanAffordUtilities maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CanAffordUtilities" + } + ], + "name": "SHR CanAffordUtilities Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.144Z", + "description": "How often can the subject afford utilities?", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordUtilities", + "path": "Observation", + "short": "SHR CanAffordUtilities Profile", + "definition": "How often can the subject afford utilities?", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.extension", + "path": "Observation.extension", + "slicing": { + "id": "132", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "133", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "131", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-CanAffordUtilities.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-CanAffordUtilities", + "path": "Observation", + "short": "SHR CanAffordUtilities Profile", + "definition": "How often can the subject afford utilities?" + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "131", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-CanAffordUtilities.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json new file mode 100755 index 0000000..84a45af --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-Coinhabitant-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Coinhabitant Extension

\n

A person living with the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.Coinhabitant" + } + ], + "name": "SHR Coinhabitant Extension", + "title": "SHR Coinhabitant Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.184Z", + "description": "A person living with the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:coinhabitant", + "path": "Extension", + "short": "SHR Coinhabitant Extension", + "definition": "A person living with the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:coinhabitant.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:coinhabitant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:coinhabitant.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:coinhabitant.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:coinhabitant", + "path": "Extension", + "short": "SHR Coinhabitant Extension", + "definition": "A person living with the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:coinhabitant.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:coinhabitant.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension" + }, + { + "id": "Extension:coinhabitant.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json new file mode 100755 index 0000000..b549fbb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-Coinhabitant.json @@ -0,0 +1,2024 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-Coinhabitant", + "text": { + "status": "generated", + "div": "
\n

SHR Coinhabitant Profile

\n

A person living with the subject.

\n

SHR Mapping Summary

\n

shr.environment.Coinhabitant maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.Coinhabitant" + } + ], + "name": "SHR Coinhabitant Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.197Z", + "description": "A person living with the subject.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-Coinhabitant", + "path": "Observation", + "short": "SHR Coinhabitant Profile", + "definition": "A person living with the subject.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-Coinhabitant.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-Coinhabitant.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-Coinhabitant.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension", + "path": "Observation.extension", + "slicing": { + "id": "152", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-CoinhabitantVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "153", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-Coinhabitant.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-Coinhabitant", + "path": "Observation", + "short": "SHR Coinhabitant Profile", + "definition": "A person living with the subject." + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-CoinhabitantVS" + } + } + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-Coinhabitant.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-Coinhabitant.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-Coinhabitant.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-Coinhabitant.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-Coinhabitant.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json new file mode 100755 index 0000000..e3c09e7 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-DomesticViolence-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DomesticViolence Extension

\n

Whether the subject experiences domestic violence.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.DomesticViolence" + } + ], + "name": "SHR DomesticViolence Extension", + "title": "SHR DomesticViolence Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.222Z", + "description": "Whether the subject experiences domestic violence.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:domesticviolence", + "path": "Extension", + "short": "SHR DomesticViolence Extension", + "definition": "Whether the subject experiences domestic violence.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:domesticviolence.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:domesticviolence.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:domesticviolence.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:domesticviolence.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:domesticviolence", + "path": "Extension", + "short": "SHR DomesticViolence Extension", + "definition": "Whether the subject experiences domestic violence.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:domesticviolence.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:domesticviolence.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension" + }, + { + "id": "Extension:domesticviolence.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json new file mode 100755 index 0000000..23b328d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-DomesticViolence.json @@ -0,0 +1,2116 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-DomesticViolence", + "text": { + "status": "generated", + "div": "
\n

SHR DomesticViolence Profile

\n

Whether the subject experiences domestic violence.

\n

SHR Mapping Summary

\n

shr.environment.DomesticViolence maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.DomesticViolence" + } + ], + "name": "SHR DomesticViolence Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.257Z", + "description": "Whether the subject experiences domestic violence.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-DomesticViolence", + "path": "Observation", + "short": "SHR DomesticViolence Profile", + "definition": "Whether the subject experiences domestic violence.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-DomesticViolence.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-DomesticViolence.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-DomesticViolence.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension", + "path": "Observation.extension", + "slicing": { + "id": "174", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:occurrencetime", + "path": "Observation.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "175", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0206073" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "173", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-DomesticViolence.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-DomesticViolence", + "path": "Observation", + "short": "SHR DomesticViolence Profile", + "definition": "Whether the subject experiences domestic violence." + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:occurrencetime", + "path": "Observation.extension", + "sliceName": "occurrencetime", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-DomesticViolence.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-DomesticViolence.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-DomesticViolence.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0206073" + } + ] + } + }, + { + "id": "Observation:shr-environment-DomesticViolence.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-DomesticViolence.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "173", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-DomesticViolence.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-DomesticViolence.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json new file mode 100755 index 0000000..22c61e5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-EmotionalSafety-extension", + "text": { + "status": "generated", + "div": "
\n

SHR EmotionalSafety Extension

\n

Whether the subject feels physically safe in the subject's home environment.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.EmotionalSafety" + } + ], + "name": "SHR EmotionalSafety Extension", + "title": "SHR EmotionalSafety Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.222Z", + "description": "Whether the subject feels physically safe in the subject's home environment.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:emotionalsafety", + "path": "Extension", + "short": "SHR EmotionalSafety Extension", + "definition": "Whether the subject feels physically safe in the subject's home environment.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:emotionalsafety.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:emotionalsafety.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:emotionalsafety.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:emotionalsafety.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:emotionalsafety", + "path": "Extension", + "short": "SHR EmotionalSafety Extension", + "definition": "Whether the subject feels physically safe in the subject's home environment.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:emotionalsafety.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:emotionalsafety.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension" + }, + { + "id": "Extension:emotionalsafety.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json new file mode 100755 index 0000000..fb311a8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EmotionalSafety.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-EmotionalSafety", + "text": { + "status": "generated", + "div": "
\n

SHR EmotionalSafety Profile

\n

Whether the subject feels physically safe in the subject's home environment.

\n

SHR Mapping Summary

\n

shr.environment.EmotionalSafety maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.EmotionalSafety" + } + ], + "name": "SHR EmotionalSafety Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.250Z", + "description": "Whether the subject feels physically safe in the subject's home environment.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-EmotionalSafety", + "path": "Observation", + "short": "SHR EmotionalSafety Profile", + "definition": "Whether the subject feels physically safe in the subject's home environment.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-EmotionalSafety.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension", + "path": "Observation.extension", + "slicing": { + "id": "171", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "172", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "170", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-EmotionalSafety.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-EmotionalSafety", + "path": "Observation", + "short": "SHR EmotionalSafety Profile", + "definition": "Whether the subject feels physically safe in the subject's home environment." + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-EmotionalSafety.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-EmotionalSafety.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-EmotionalSafety.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-EmotionalSafety.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "170", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-EmotionalSafety.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-EmotionalSafety.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json new file mode 100755 index 0000000..5280628 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json @@ -0,0 +1,1242 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-EnvironmentalExposuresPanel", + "text": { + "status": "generated", + "div": "
\n

SHR EnvironmentalExposuresPanel Profile

\n

\n

SHR Mapping Summary

\n

shr.environment.EnvironmentalExposuresPanel maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EnvironmentalExposuresPanel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.EnvironmentalExposuresPanel" + } + ], + "name": "SHR EnvironmentalExposuresPanel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.209Z", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel", + "path": "DiagnosticReport", + "short": "SHR EnvironmentalExposuresPanel Profile", + "definition": "The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "156", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.extension:animalexposure", + "path": "DiagnosticReport.extension", + "sliceName": "animalexposure", + "definition": "The type of animals or pets the subject is exposed to.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-EnvironmentalExposuresPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-environment-EnvironmentalExposuresPanel.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel", + "path": "DiagnosticReport", + "short": "SHR EnvironmentalExposuresPanel Profile", + "definition": "The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports." + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.extension:animalexposure", + "path": "DiagnosticReport.extension", + "sliceName": "animalexposure", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-EnvironmentalExposuresPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json new file mode 100755 index 0000000..19ababe --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureMethod-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-ExposureMethod-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ExposureMethod Extension

\n

How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ExposureMethod" + } + ], + "name": "SHR ExposureMethod Extension", + "title": "SHR ExposureMethod Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.006Z", + "description": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:exposuremethod", + "path": "Extension", + "short": "SHR ExposureMethod Extension", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:exposuremethod.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposuremethod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:exposuremethod.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposuremethod.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:exposuremethod", + "path": "Extension", + "short": "SHR ExposureMethod Extension", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:exposuremethod.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:exposuremethod.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + }, + { + "id": "Extension:exposuremethod.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json new file mode 100755 index 0000000..3995453 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureReason-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-ExposureReason-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ExposureReason Extension

\n

Why the exposure occurred.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ExposureReason" + } + ], + "name": "SHR ExposureReason Extension", + "title": "SHR ExposureReason Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.006Z", + "description": "Why the exposure occurred.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:exposurereason", + "path": "Extension", + "short": "SHR ExposureReason Extension", + "definition": "Why the exposure occurred.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:exposurereason.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposurereason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:exposurereason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposurereason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ExposureReasonVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:exposurereason", + "path": "Extension", + "short": "SHR ExposureReason Extension", + "definition": "Why the exposure occurred.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:exposurereason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:exposurereason.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + }, + { + "id": "Extension:exposurereason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ExposureReasonVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json new file mode 100755 index 0000000..9fc0fe6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-ExposureSourceOrVector-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ExposureSourceOrVector Extension

\n

Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ExposureSourceOrVector" + } + ], + "name": "SHR ExposureSourceOrVector Extension", + "title": "SHR ExposureSourceOrVector Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.006Z", + "description": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:exposuresourceorvector", + "path": "Extension", + "short": "SHR ExposureSourceOrVector Extension", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:exposuresourceorvector.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposuresourceorvector.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:exposuresourceorvector.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:exposuresourceorvector.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:exposuresourceorvector", + "path": "Extension", + "short": "SHR ExposureSourceOrVector Extension", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:exposuresourceorvector.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:exposuresourceorvector.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + }, + { + "id": "Extension:exposuresourceorvector.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json new file mode 100755 index 0000000..63d0092 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-ExposureToSubstance.json @@ -0,0 +1,2546 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-ExposureToSubstance", + "text": { + "status": "generated", + "div": "
\n

SHR ExposureToSubstance Profile

\n

A statement about exposure to a substance, type of substance, or disease vector potentially affecting health, including pollutants, blood products, pets, recreational drugs, sexual transmitted diseases, foods, toxins, pathogens, or prenatal exposures to teratogens. Can be used to assert or deny such exposures.

\n

SHR Mapping Summary

\n

shr.environment.ExposureToSubstance maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ExposureToSubstance" + } + ], + "name": "SHR ExposureToSubstance Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.086Z", + "description": "A statement about exposure to a substance, type of substance, or disease vector potentially affecting health, including pollutants, blood products, pets, recreational drugs, sexual transmitted diseases, foods, toxins, pathogens, or prenatal exposures to teratogens. Can be used to assert or deny such exposures.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-ExposureToSubstance", + "path": "Observation", + "short": "SHR ExposureToSubstance Profile", + "definition": "A statement about exposure to a substance, type of substance, or disease vector potentially affecting health, including pollutants, blood products, pets, recreational drugs, sexual transmitted diseases, foods, toxins, pathogens, or prenatal exposures to teratogens. Can be used to assert or deny such exposures.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension", + "path": "Observation.extension", + "slicing": { + "id": "111", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "112", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category", + "path": "Observation.category", + "slicing": { + "id": "110", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-ExposureToSubstance.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-ExposureToSubstance", + "path": "Observation", + "short": "SHR ExposureToSubstance Profile", + "definition": "A statement about exposure to a substance, type of substance, or disease vector potentially affecting health, including pollutants, blood products, pets, recreational drugs, sexual transmitted diseases, foods, toxins, pathogens, or prenatal exposures to teratogens. Can be used to assert or deny such exposures." + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category", + "path": "Observation.category", + "slicing": { + "id": "110", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-ExposureToSubstance.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json new file mode 100755 index 0000000..319e486 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-FinancialSituationPanel.json @@ -0,0 +1,1789 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-FinancialSituationPanel", + "text": { + "status": "generated", + "div": "
\n

SHR FinancialSituationPanel Profile

\n

Measures of the ability of the subject to obtain and pay for the necessities of life.

\n

SHR Mapping Summary

\n

shr.environment.FinancialSituationPanel maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.FinancialSituationPanel" + } + ], + "name": "SHR FinancialSituationPanel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.090Z", + "description": "Measures of the ability of the subject to obtain and pay for the necessities of life.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel", + "path": "DiagnosticReport", + "short": "SHR FinancialSituationPanel Profile", + "definition": "Measures of the ability of the subject to obtain and pay for the necessities of life.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "113", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:annualincome", + "path": "DiagnosticReport.extension", + "sliceName": "annualincome", + "definition": "The amount of earnings made by a family unit in one year, estimated or self-reported.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:incomesource", + "path": "DiagnosticReport.extension", + "sliceName": "incomesource", + "definition": "Where the household income comes from.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:incomestability", + "path": "DiagnosticReport.extension", + "sliceName": "incomestability", + "definition": "Whether the subject regards his or her source of income as dependable.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordfood", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordfood", + "definition": "How often can the subject afford food?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordhousing", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordhousing", + "definition": "How often can the subject afford housing?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordclothing", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordclothing", + "definition": "How often can the subject afford clothing?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordutilities", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordutilities", + "definition": "How often can the subject afford utilities?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordtransportation", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordtransportation", + "definition": "How often can the subject afford transportation?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordmedication", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordmedication", + "definition": "How often can the subject afford medications?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canafforddentalcare", + "path": "DiagnosticReport.extension", + "sliceName": "canafforddentalcare", + "definition": "How often can the subject afford dental care?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordchildcare", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordchildcare", + "definition": "How often can the subject afford child care?", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:noncashbenefit", + "path": "DiagnosticReport.extension", + "sliceName": "noncashbenefit", + "definition": "Government benefits received by the focal subject, other than cash benefits.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-FinancialSituationPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0516918" + } + ] + }, + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-environment-FinancialSituationPanel.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel", + "path": "DiagnosticReport", + "short": "SHR FinancialSituationPanel Profile", + "definition": "Measures of the ability of the subject to obtain and pay for the necessities of life." + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:annualincome", + "path": "DiagnosticReport.extension", + "sliceName": "annualincome", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:incomesource", + "path": "DiagnosticReport.extension", + "sliceName": "incomesource", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:incomestability", + "path": "DiagnosticReport.extension", + "sliceName": "incomestability", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordfood", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordfood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordhousing", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordhousing", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordclothing", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordclothing", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordutilities", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordutilities", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordtransportation", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordtransportation", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordmedication", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordmedication", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canafforddentalcare", + "path": "DiagnosticReport.extension", + "sliceName": "canafforddentalcare", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:canaffordchildcare", + "path": "DiagnosticReport.extension", + "sliceName": "canaffordchildcare", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.extension:noncashbenefit", + "path": "DiagnosticReport.extension", + "sliceName": "noncashbenefit", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-FinancialSituationPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0516918" + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json new file mode 100755 index 0000000..a3f5664 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HomeEnvironmentRisk-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HomeEnvironmentRisk Extension

\n

A risk experienced in the home environment.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HomeEnvironmentRisk" + } + ], + "name": "SHR HomeEnvironmentRisk Extension", + "title": "SHR HomeEnvironmentRisk Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.222Z", + "description": "A risk experienced in the home environment.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:homeenvironmentrisk", + "path": "Extension", + "short": "SHR HomeEnvironmentRisk Extension", + "definition": "A risk experienced in the home environment.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:homeenvironmentrisk.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:homeenvironmentrisk.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:homeenvironmentrisk.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:homeenvironmentrisk.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:homeenvironmentrisk", + "path": "Extension", + "short": "SHR HomeEnvironmentRisk Extension", + "definition": "A risk experienced in the home environment.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:homeenvironmentrisk.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:homeenvironmentrisk.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension" + }, + { + "id": "Extension:homeenvironmentrisk.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json new file mode 100755 index 0000000..3cb0108 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HomeEnvironmentRisk.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HomeEnvironmentRisk", + "text": { + "status": "generated", + "div": "
\n

SHR HomeEnvironmentRisk Profile

\n

A risk experienced in the home environment.

\n

SHR Mapping Summary

\n

shr.environment.HomeEnvironmentRisk maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HomeEnvironmentRisk" + } + ], + "name": "SHR HomeEnvironmentRisk Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.264Z", + "description": "A risk experienced in the home environment.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-HomeEnvironmentRisk", + "path": "Observation", + "short": "SHR HomeEnvironmentRisk Profile", + "definition": "A risk experienced in the home environment.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension", + "path": "Observation.extension", + "slicing": { + "id": "177", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "178", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "176", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-HomeEnvironmentRiskVS" + } + } + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-HomeEnvironmentRisk.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-HomeEnvironmentRisk", + "path": "Observation", + "short": "SHR HomeEnvironmentRisk Profile", + "definition": "A risk experienced in the home environment." + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "176", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-HomeEnvironmentRiskVS" + } + } + }, + { + "id": "Observation:shr-environment-HomeEnvironmentRisk.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json new file mode 100755 index 0000000..c1b094b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSituationPanel.json @@ -0,0 +1,1339 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HouseholdSituationPanel", + "text": { + "status": "generated", + "div": "
\n

SHR HouseholdSituationPanel Profile

\n

Information about the makeup of the household of the subject.

\n

SHR Mapping Summary

\n

shr.environment.HouseholdSituationPanel maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSituationPanel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HouseholdSituationPanel" + } + ], + "name": "SHR HouseholdSituationPanel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.184Z", + "description": "Information about the makeup of the household of the subject.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel", + "path": "DiagnosticReport", + "short": "SHR HouseholdSituationPanel Profile", + "definition": "Information about the makeup of the household of the subject.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "149", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:householdsize", + "path": "DiagnosticReport.extension", + "sliceName": "householdsize", + "definition": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:coinhabitant", + "path": "DiagnosticReport.extension", + "sliceName": "coinhabitant", + "definition": "A person living with the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:numberofdependents", + "path": "DiagnosticReport.extension", + "sliceName": "numberofdependents", + "definition": "The number of dependents supported by the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-HouseholdSituationPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-environment-HouseholdSituationPanel.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel", + "path": "DiagnosticReport", + "short": "SHR HouseholdSituationPanel Profile", + "definition": "Information about the makeup of the household of the subject." + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:householdsize", + "path": "DiagnosticReport.extension", + "sliceName": "householdsize", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:coinhabitant", + "path": "DiagnosticReport.extension", + "sliceName": "coinhabitant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.extension:numberofdependents", + "path": "DiagnosticReport.extension", + "sliceName": "numberofdependents", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-HouseholdSituationPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json new file mode 100755 index 0000000..4dfc0e2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HouseholdSize-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HouseholdSize Extension

\n

The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HouseholdSize" + } + ], + "name": "SHR HouseholdSize Extension", + "title": "SHR HouseholdSize Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.184Z", + "description": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:householdsize", + "path": "Extension", + "short": "SHR HouseholdSize Extension", + "definition": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:householdsize.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:householdsize.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:householdsize.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:householdsize.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:householdsize", + "path": "Extension", + "short": "SHR HouseholdSize Extension", + "definition": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:householdsize.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:householdsize.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension" + }, + { + "id": "Extension:householdsize.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json new file mode 100755 index 0000000..6ea8eaf --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HouseholdSize.json @@ -0,0 +1,2028 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HouseholdSize", + "text": { + "status": "generated", + "div": "
\n

SHR HouseholdSize Profile

\n

The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.

\n

SHR Mapping Summary

\n

shr.environment.HouseholdSize maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HouseholdSize" + } + ], + "name": "SHR HouseholdSize Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.190Z", + "description": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-HouseholdSize", + "path": "Observation", + "short": "SHR HouseholdSize Profile", + "definition": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HouseholdSize.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-HouseholdSize.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-HouseholdSize.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension", + "path": "Observation.extension", + "slicing": { + "id": "150", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:positiveint", + "path": "Observation.extension", + "sliceName": "positiveint", + "definition": "SHR positiveInt Extension", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "151", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-HouseholdSize.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-HouseholdSize", + "path": "Observation", + "short": "SHR HouseholdSize Profile", + "definition": "The number of people living together with mutual financial dependency. Besides the subject, the household size may include spouse or partner, dependent children including adopted and foster children, dependent parents, dependent siblings and other relatives, but not roommates, ex-spouses, non-dependent children, and unborn children. If the subject lives alone, the household size is 1." + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:positiveint", + "path": "Observation.extension", + "sliceName": "positiveint", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HouseholdSize.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HouseholdSize.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HouseholdSize.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + } + }, + { + "id": "Observation:shr-environment-HouseholdSize.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-HouseholdSize.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-HouseholdSize.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json new file mode 100755 index 0000000..6943c48 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HousingSecurity-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HousingSecurity Extension

\n

Whether the subject is at-risk of losing their housing or in a stable housing situation.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HousingSecurity" + } + ], + "name": "SHR HousingSecurity Extension", + "title": "SHR HousingSecurity Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.221Z", + "description": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:housingsecurity", + "path": "Extension", + "short": "SHR HousingSecurity Extension", + "definition": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:housingsecurity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:housingsecurity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:housingsecurity.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:housingsecurity.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:housingsecurity", + "path": "Extension", + "short": "SHR HousingSecurity Extension", + "definition": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:housingsecurity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:housingsecurity.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension" + }, + { + "id": "Extension:housingsecurity.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json new file mode 100755 index 0000000..276564b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-HousingSecurity.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-HousingSecurity", + "text": { + "status": "generated", + "div": "
\n

SHR HousingSecurity Profile

\n

Whether the subject is at-risk of losing their housing or in a stable housing situation.

\n

SHR Mapping Summary

\n

shr.environment.HousingSecurity maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HousingSecurity" + } + ], + "name": "SHR HousingSecurity Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.235Z", + "description": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-HousingSecurity", + "path": "Observation", + "short": "SHR HousingSecurity Profile", + "definition": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HousingSecurity.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-HousingSecurity.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-HousingSecurity.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension", + "path": "Observation.extension", + "slicing": { + "id": "165", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "166", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "164", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS" + } + } + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-HousingSecurity.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-HousingSecurity", + "path": "Observation", + "short": "SHR HousingSecurity Profile", + "definition": "Whether the subject is at-risk of losing their housing or in a stable housing situation." + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HousingSecurity.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HousingSecurity.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-HousingSecurity.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-HousingSecurity.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "164", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-HousingSecurity.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS" + } + } + }, + { + "id": "Observation:shr-environment-HousingSecurity.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json new file mode 100755 index 0000000..e3a51fa --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-IncomeSource-extension", + "text": { + "status": "generated", + "div": "
\n

SHR IncomeSource Extension

\n

Where the household income comes from.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeSource" + } + ], + "name": "SHR IncomeSource Extension", + "title": "SHR IncomeSource Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.091Z", + "description": "Where the household income comes from.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:incomesource", + "path": "Extension", + "short": "SHR IncomeSource Extension", + "definition": "Where the household income comes from.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:incomesource.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:incomesource.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:incomesource.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:incomesource.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:incomesource", + "path": "Extension", + "short": "SHR IncomeSource Extension", + "definition": "Where the household income comes from.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:incomesource.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:incomesource.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension" + }, + { + "id": "Extension:incomesource.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json new file mode 100755 index 0000000..1381eca --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeSource.json @@ -0,0 +1,2020 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-IncomeSource", + "text": { + "status": "generated", + "div": "
\n

SHR IncomeSource Profile

\n

Where the household income comes from.

\n

SHR Mapping Summary

\n

shr.environment.IncomeSource maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeSource" + } + ], + "name": "SHR IncomeSource Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.106Z", + "description": "Where the household income comes from.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-IncomeSource", + "path": "Observation", + "short": "SHR IncomeSource Profile", + "definition": "Where the household income comes from.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeSource.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeSource.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-IncomeSource.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.extension", + "path": "Observation.extension", + "slicing": { + "id": "117", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "118", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557162" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "116", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-IncomeSourceVS" + } + } + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-IncomeSource.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-IncomeSource", + "path": "Observation", + "short": "SHR IncomeSource Profile", + "definition": "Where the household income comes from." + }, + { + "id": "Observation:shr-environment-IncomeSource.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeSource.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeSource.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeSource.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557162" + } + ] + } + }, + { + "id": "Observation:shr-environment-IncomeSource.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-IncomeSource.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "116", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeSource.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-IncomeSourceVS" + } + } + }, + { + "id": "Observation:shr-environment-IncomeSource.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json new file mode 100755 index 0000000..9134d67 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-IncomeStability-extension", + "text": { + "status": "generated", + "div": "
\n

SHR IncomeStability Extension

\n

Whether the subject regards his or her source of income as dependable.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeStability" + } + ], + "name": "SHR IncomeStability Extension", + "title": "SHR IncomeStability Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.091Z", + "description": "Whether the subject regards his or her source of income as dependable.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:incomestability", + "path": "Extension", + "short": "SHR IncomeStability Extension", + "definition": "Whether the subject regards his or her source of income as dependable.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:incomestability.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:incomestability.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:incomestability.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:incomestability.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:incomestability", + "path": "Extension", + "short": "SHR IncomeStability Extension", + "definition": "Whether the subject regards his or her source of income as dependable.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:incomestability.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:incomestability.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension" + }, + { + "id": "Extension:incomestability.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json new file mode 100755 index 0000000..5aec58a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-IncomeStability.json @@ -0,0 +1,2020 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-IncomeStability", + "text": { + "status": "generated", + "div": "
\n

SHR IncomeStability Profile

\n

Whether the subject regards his or her source of income as dependable.

\n

SHR Mapping Summary

\n

shr.environment.IncomeStability maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeStability" + } + ], + "name": "SHR IncomeStability Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.113Z", + "description": "Whether the subject regards his or her source of income as dependable.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-IncomeStability", + "path": "Observation", + "short": "SHR IncomeStability Profile", + "definition": "Whether the subject regards his or her source of income as dependable.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeStability.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-IncomeStability.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-IncomeStability.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.extension", + "path": "Observation.extension", + "slicing": { + "id": "120", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "121", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1820459" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "119", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS" + } + } + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-IncomeStability.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-IncomeStability", + "path": "Observation", + "short": "SHR IncomeStability Profile", + "definition": "Whether the subject regards his or her source of income as dependable." + }, + { + "id": "Observation:shr-environment-IncomeStability.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeStability.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeStability.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-IncomeStability.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1820459" + } + ] + } + }, + { + "id": "Observation:shr-environment-IncomeStability.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-IncomeStability.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "119", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-IncomeStability.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS" + } + } + }, + { + "id": "Observation:shr-environment-IncomeStability.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json new file mode 100755 index 0000000..c5f32f3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-NonCashBenefit-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NonCashBenefit Extension

\n

Government benefits received by the focal subject, other than cash benefits.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NonCashBenefit" + } + ], + "name": "SHR NonCashBenefit Extension", + "title": "SHR NonCashBenefit Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.092Z", + "description": "Government benefits received by the focal subject, other than cash benefits.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:noncashbenefit", + "path": "Extension", + "short": "SHR NonCashBenefit Extension", + "definition": "Government benefits received by the focal subject, other than cash benefits.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:noncashbenefit.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:noncashbenefit.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:noncashbenefit.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:noncashbenefit.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:noncashbenefit", + "path": "Extension", + "short": "SHR NonCashBenefit Extension", + "definition": "Government benefits received by the focal subject, other than cash benefits.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:noncashbenefit.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:noncashbenefit.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension" + }, + { + "id": "Extension:noncashbenefit.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json new file mode 100755 index 0000000..760cac9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NonCashBenefit.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-NonCashBenefit", + "text": { + "status": "generated", + "div": "
\n

SHR NonCashBenefit Profile

\n

Government benefits received by the focal subject, other than cash benefits.

\n

SHR Mapping Summary

\n

shr.environment.NonCashBenefit maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NonCashBenefit" + } + ], + "name": "SHR NonCashBenefit Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.180Z", + "description": "Government benefits received by the focal subject, other than cash benefits.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-NonCashBenefit", + "path": "Observation", + "short": "SHR NonCashBenefit Profile", + "definition": "Government benefits received by the focal subject, other than cash benefits.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-NonCashBenefit.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension", + "path": "Observation.extension", + "slicing": { + "id": "147", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:effectivetimeperiod", + "path": "Observation.extension", + "sliceName": "effectivetimeperiod", + "definition": "The date and time span for which something is active, valid, or in force.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "148", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "146", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-NonCashBenefitVS" + } + } + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-NonCashBenefit.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-NonCashBenefit", + "path": "Observation", + "short": "SHR NonCashBenefit Profile", + "definition": "Government benefits received by the focal subject, other than cash benefits." + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NonCashBenefit.extension:effectivetimeperiod", + "path": "Observation.extension", + "sliceName": "effectivetimeperiod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NonCashBenefit.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NonCashBenefit.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-NonCashBenefit.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "146", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-NonCashBenefit.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-NonCashBenefitVS" + } + } + }, + { + "id": "Observation:shr-environment-NonCashBenefit.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json new file mode 100755 index 0000000..a7854f3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-NumberOfDependents-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NumberOfDependents Extension

\n

The number of dependents supported by the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NumberOfDependents" + } + ], + "name": "SHR NumberOfDependents Extension", + "title": "SHR NumberOfDependents Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.185Z", + "description": "The number of dependents supported by the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:numberofdependents", + "path": "Extension", + "short": "SHR NumberOfDependents Extension", + "definition": "The number of dependents supported by the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:numberofdependents.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofdependents.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:numberofdependents.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofdependents.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:numberofdependents", + "path": "Extension", + "short": "SHR NumberOfDependents Extension", + "definition": "The number of dependents supported by the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:numberofdependents.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:numberofdependents.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension" + }, + { + "id": "Extension:numberofdependents.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json new file mode 100755 index 0000000..4194c76 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-NumberOfDependents.json @@ -0,0 +1,2028 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-NumberOfDependents", + "text": { + "status": "generated", + "div": "
\n

SHR NumberOfDependents Profile

\n

The number of dependents supported by the subject.

\n

SHR Mapping Summary

\n

shr.environment.NumberOfDependents maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NumberOfDependents" + } + ], + "name": "SHR NumberOfDependents Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.206Z", + "description": "The number of dependents supported by the subject.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-NumberOfDependents", + "path": "Observation", + "short": "SHR NumberOfDependents Profile", + "definition": "The number of dependents supported by the subject.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-NumberOfDependents.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension", + "path": "Observation.extension", + "slicing": { + "id": "154", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:unsignedint", + "path": "Observation.extension", + "sliceName": "unsignedint", + "definition": "SHR unsignedInt Extension", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "155", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557509" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-NumberOfDependents.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-NumberOfDependents", + "path": "Observation", + "short": "SHR NumberOfDependents Profile", + "definition": "The number of dependents supported by the subject." + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:unsignedint", + "path": "Observation.extension", + "sliceName": "unsignedint", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NumberOfDependents.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NumberOfDependents.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-NumberOfDependents.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0557509" + } + ] + } + }, + { + "id": "Observation:shr-environment-NumberOfDependents.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-NumberOfDependents.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-NumberOfDependents.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json new file mode 100755 index 0000000..a331cfa --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-PhysicalSafety-extension", + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalSafety Extension

\n

How often the subject feels physically safe in the subject's home environment.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.PhysicalSafety" + } + ], + "name": "SHR PhysicalSafety Extension", + "title": "SHR PhysicalSafety Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.222Z", + "description": "How often the subject feels physically safe in the subject's home environment.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:physicalsafety", + "path": "Extension", + "short": "SHR PhysicalSafety Extension", + "definition": "How often the subject feels physically safe in the subject's home environment.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:physicalsafety.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:physicalsafety.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:physicalsafety.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:physicalsafety.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:physicalsafety", + "path": "Extension", + "short": "SHR PhysicalSafety Extension", + "definition": "How often the subject feels physically safe in the subject's home environment.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:physicalsafety.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:physicalsafety.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension" + }, + { + "id": "Extension:physicalsafety.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json new file mode 100755 index 0000000..54fbc2f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-PhysicalSafety.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-PhysicalSafety", + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalSafety Profile

\n

How often the subject feels physically safe in the subject's home environment.

\n

SHR Mapping Summary

\n

shr.environment.PhysicalSafety maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.PhysicalSafety" + } + ], + "name": "SHR PhysicalSafety Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.242Z", + "description": "How often the subject feels physically safe in the subject's home environment.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-PhysicalSafety", + "path": "Observation", + "short": "SHR PhysicalSafety Profile", + "definition": "How often the subject feels physically safe in the subject's home environment.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-PhysicalSafety.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension", + "path": "Observation.extension", + "slicing": { + "id": "168", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "169", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "167", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-PhysicalSafety.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-PhysicalSafety", + "path": "Observation", + "short": "SHR PhysicalSafety Profile", + "definition": "How often the subject feels physically safe in the subject's home environment." + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-PhysicalSafety.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-PhysicalSafety.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-PhysicalSafety.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-PhysicalSafety.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "167", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-PhysicalSafety.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-PhysicalSafety.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json new file mode 100755 index 0000000..662e1ea --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-SocialEnvironmentPanel.json @@ -0,0 +1,1483 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-SocialEnvironmentPanel", + "text": { + "status": "generated", + "div": "
\n

SHR SocialEnvironmentPanel Profile

\n

Factors affecting the health of the subject in their daily living environment.

\n

SHR Mapping Summary

\n

shr.environment.SocialEnvironmentPanel maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-SocialEnvironmentPanel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.SocialEnvironmentPanel" + } + ], + "name": "SHR SocialEnvironmentPanel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.221Z", + "description": "Factors affecting the health of the subject in their daily living environment.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel", + "path": "DiagnosticReport", + "short": "SHR SocialEnvironmentPanel Profile", + "definition": "Factors affecting the health of the subject in their daily living environment.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "160", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:transportationavailability", + "path": "DiagnosticReport.extension", + "sliceName": "transportationavailability", + "definition": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:housingsecurity", + "path": "DiagnosticReport.extension", + "sliceName": "housingsecurity", + "definition": "Whether the subject is at-risk of losing their housing or in a stable housing situation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:physicalsafety", + "path": "DiagnosticReport.extension", + "sliceName": "physicalsafety", + "definition": "How often the subject feels physically safe in the subject's home environment.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:emotionalsafety", + "path": "DiagnosticReport.extension", + "sliceName": "emotionalsafety", + "definition": "Whether the subject feels physically safe in the subject's home environment.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:domesticviolence", + "path": "DiagnosticReport.extension", + "sliceName": "domesticviolence", + "definition": "Whether the subject experiences domestic violence.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:homeenvironmentrisk", + "path": "DiagnosticReport.extension", + "sliceName": "homeenvironmentrisk", + "definition": "A risk experienced in the home environment.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-SocialEnvironmentPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-environment-SocialEnvironmentPanel.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel", + "path": "DiagnosticReport", + "short": "SHR SocialEnvironmentPanel Profile", + "definition": "Factors affecting the health of the subject in their daily living environment." + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:transportationavailability", + "path": "DiagnosticReport.extension", + "sliceName": "transportationavailability", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:housingsecurity", + "path": "DiagnosticReport.extension", + "sliceName": "housingsecurity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:physicalsafety", + "path": "DiagnosticReport.extension", + "sliceName": "physicalsafety", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:emotionalsafety", + "path": "DiagnosticReport.extension", + "sliceName": "emotionalsafety", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:domesticviolence", + "path": "DiagnosticReport.extension", + "sliceName": "domesticviolence", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.extension:homeenvironmentrisk", + "path": "DiagnosticReport.extension", + "sliceName": "homeenvironmentrisk", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-environment-SocialEnvironmentPanel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json new file mode 100755 index 0000000..97998c8 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-TransportationAvailability-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TransportationAvailability Extension

\n

Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.TransportationAvailability" + } + ], + "name": "SHR TransportationAvailability Extension", + "title": "SHR TransportationAvailability Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.221Z", + "description": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:transportationavailability", + "path": "Extension", + "short": "SHR TransportationAvailability Extension", + "definition": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:transportationavailability.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:transportationavailability.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:transportationavailability.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:transportationavailability.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:transportationavailability", + "path": "Extension", + "short": "SHR TransportationAvailability Extension", + "definition": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:transportationavailability.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:transportationavailability.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension" + }, + { + "id": "Extension:transportationavailability.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json b/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json new file mode 100755 index 0000000..21bbc93 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-environment-TransportationAvailability.json @@ -0,0 +1,2052 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-environment-TransportationAvailability", + "text": { + "status": "generated", + "div": "
\n

SHR TransportationAvailability Profile

\n

Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.

\n

SHR Mapping Summary

\n

shr.environment.TransportationAvailability maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.TransportationAvailability" + } + ], + "name": "SHR TransportationAvailability Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.228Z", + "description": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-environment-TransportationAvailability", + "path": "Observation", + "short": "SHR TransportationAvailability Profile", + "definition": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-environment-TransportationAvailability.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension", + "path": "Observation.extension", + "slicing": { + "id": "162", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "163", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "161", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-environment-TransportationAvailability.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-environment-TransportationAvailability", + "path": "Observation", + "short": "SHR TransportationAvailability Profile", + "definition": "Whether the subject has reliable transportation to bring him or her to medical appointments and to get medications." + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-TransportationAvailability.extension:details", + "path": "Observation.extension", + "sliceName": "details", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-environment-TransportationAvailability.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-environment-TransportationAvailability.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-environment-TransportationAvailability.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "161", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-environment-TransportationAvailability.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Observation.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + }, + { + "id": "Observation:shr-environment-TransportationAvailability.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json new file mode 100755 index 0000000..15a6865 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-Immunization.json @@ -0,0 +1,1657 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-immunization-Immunization", + "text": { + "status": "generated", + "div": "
\n

SHR Immunization Profile

\n

A statement relating to a vaccination that was or was not administered to the subject.

\n

SHR Mapping Summary

\n

shr.immunization.Immunization maps to Immunization:\n  Vaccine.CodeableConcept maps to vaccineCode\n  Vaccine.VaccineManufacturer maps to manufacturer\n  ImmunizationNotGivenModifier maps to wasNotGiven\n  explanation is 0..1\n  ImmunizationNotGivenModifier.Reason maps to explanation.reasonNotGiven\n  BodySite maps to site\n  RouteIntoBody maps to route\n  AmountOfMedication maps to doseQuantity\n  TBD "DoseSequenceNumber" maps to vaccinationProtocol.doseSequence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.immunization.Immunization" + } + ], + "name": "SHR Immunization Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.354Z", + "description": "A statement relating to a vaccination that was or was not administered to the subject.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-immunization-Immunization", + "path": "Immunization", + "short": "SHR Immunization Profile", + "definition": "A statement relating to a vaccination that was or was not administered to the subject.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "imm-2", + "severity": "error", + "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", + "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", + "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))" + }, + { + "key": "imm-1", + "severity": "error", + "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", + "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", + "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-Immunization.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Immunization:shr-immunization-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.identifier", + "path": "Immunization.identifier", + "short": "Business identifier", + "definition": "A unique identifier assigned to this immunization record.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.status", + "path": "Immunization.status", + "short": "completed | entered-in-error", + "definition": "Indicates the current status of the vaccination event.", + "comments": "Will generally be set to show that the immunization has been completed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A set of codes indicating the current status of an Immunization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.date", + "path": "Immunization.date", + "short": "Vaccination administration date", + "definition": "Date vaccine administered or was to be administered.", + "comments": "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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine product administered", + "definition": "Vaccine that was administered or was to be administered.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The code for vaccine product administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.wasNotGiven", + "path": "Immunization.wasNotGiven", + "short": "Flag for whether immunization was given", + "definition": "Indicates if the vaccination was or was not given.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "Should not be populated if primarySource = True, will not be required even if primarySource = False.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported)\n.participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional)\n.participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.performer", + "path": "Immunization.performer", + "short": "Who administered vaccine", + "definition": "Clinician who administered the vaccine.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].COCT_MT090102UV" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.requester", + "path": "Immunization.requester", + "short": "Who ordered vaccination", + "definition": "Clinician who ordered the vaccination.", + "comments": "Other participants - delegate to Provenance resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-12" + }, + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV" + }, + { + "identity": "w5", + "map": "who.cause" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.encounter", + "path": "Immunization.encounter", + "short": "Encounter administered as 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.manufacturer", + "path": "Immunization.manufacturer", + "short": "Vaccine manufacturer", + "definition": "Name of vaccine manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "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:shr-immunization-Immunization.location", + "path": "Immunization.location", + "short": "Where vaccination occurred", + "definition": "The service delivery location where the vaccine administration occurred.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.lotNumber", + "path": "Immunization.lotNumber", + "short": "Vaccine lot number", + "definition": "Lot number of the vaccine product.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-immunization-Immunization.expirationDate", + "path": "Immunization.expirationDate", + "short": "Vaccine expiration date", + "definition": "Date vaccine batch expires.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.site", + "path": "Immunization.site", + "short": "Body site vaccine was administered", + "definition": "Body site where vaccine was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "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:shr-immunization-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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.doseQuantity", + "path": "Immunization.doseQuantity", + "short": "Amount of vaccine administered", + "definition": "The quantity of vaccine product that was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7.1" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.note", + "path": "Immunization.note", + "short": "Vaccination notes", + "definition": "Extra information about the immunization that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation", + "path": "Immunization.explanation", + "short": "Administration/non-administration reasons", + "definition": "Reasons why a vaccine was or was not administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.id", + "path": "Immunization.explanation.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.extension", + "path": "Immunization.explanation.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.modifierExtension", + "path": "Immunization.explanation.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.reason", + "path": "Immunization.explanation.reason", + "short": "Why immunization occurred", + "definition": "Reasons why a vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "short": "Why immunization did not occur", + "definition": "Reason why a vaccine was not administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was not administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-18" + }, + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-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.", + "comments": "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](allergyintolerance.html) resource instance as most systems will not query against past Immunization.reaction elements.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.reaction.modifierExtension", + "path": "Immunization.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.reaction.date", + "path": "Immunization.reaction.date", + "short": "When reaction started", + "definition": "Date of reaction to the immunization.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "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:shr-immunization-Immunization.reaction.detail", + "path": "Immunization.reaction.detail", + "short": "Additional information on reaction", + "definition": "Details of the reaction.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.reaction.reported", + "path": "Immunization.reaction.reported", + "short": "Indicates self-reported reaction", + "definition": "Self-reported indicator.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(no such concept seems to exist for allergy/adverse reaction in HL7 v2)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol", + "path": "Immunization.vaccinationProtocol", + "short": "What protocol was followed", + "definition": "Contains information about the protocol(s) under which the vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.id", + "path": "Immunization.vaccinationProtocol.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.extension", + "path": "Immunization.vaccinationProtocol.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.modifierExtension", + "path": "Immunization.vaccinationProtocol.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.doseSequence", + "path": "Immunization.vaccinationProtocol.doseSequence", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.description", + "path": "Immunization.vaccinationProtocol.description", + "short": "Details of vaccine protocol", + "definition": "Contains the description about the protocol under which the vaccine was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.authority", + "path": "Immunization.vaccinationProtocol.authority", + "short": "Who is responsible for protocol", + "definition": "Indicates the authority who published the protocol. E.g. ACIP.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.series", + "path": "Immunization.vaccinationProtocol.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.seriesDoses", + "path": "Immunization.vaccinationProtocol.seriesDoses", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.targetDisease", + "path": "Immunization.vaccinationProtocol.targetDisease", + "short": "Disease immunized against", + "definition": "The targeted disease.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The disease target of the vaccination protocol", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=OBS].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.doseStatus", + "path": "Immunization.vaccinationProtocol.doseStatus", + "short": "Indicates if dose counts towards immunity", + "definition": "Indicates if the immunization event should \"count\" against the protocol.", + "comments": "May need to differentiate between status declarations by a provider vs. a CDS engine.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The status of the vaccination protocol (i.e. should this count)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccinationProtocol.doseStatusReason", + "path": "Immunization.vaccinationProtocol.doseStatusReason", + "short": "Why dose does (not) count", + "definition": "Provides an explanation as to why an immunization event should or should not count against the protocol.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization:shr-immunization-Immunization", + "path": "Immunization", + "short": "SHR Immunization Profile", + "definition": "A statement relating to a vaccination that was or was not administered to the subject." + }, + { + "id": "Immunization:shr-immunization-Immunization.vaccineCode", + "path": "Immunization.vaccineCode", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.manufacturer", + "path": "Immunization.manufacturer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.site", + "path": "Immunization.site", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Immunization:shr-immunization-Immunization.route", + "path": "Immunization.route", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + } + }, + { + "id": "Immunization:shr-immunization-Immunization.doseQuantity", + "path": "Immunization.doseQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation", + "path": "Immunization.explanation" + }, + { + "id": "Immunization:shr-immunization-Immunization.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json new file mode 100755 index 0000000..3dce553 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationAdministered.json @@ -0,0 +1,1659 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-immunization-ImmunizationAdministered", + "text": { + "status": "generated", + "div": "
\n

SHR ImmunizationAdministered Profile

\n

Represents an immunization that was administered to the subject.

\n

SHR Mapping Summary

\n

shr.immunization.ImmunizationAdministered maps to Immunization:\n  Vaccine.CodeableConcept maps to vaccineCode\n  Vaccine.VaccineManufacturer maps to manufacturer\n  ImmunizationNotGivenModifier maps to wasNotGiven\n  explanation is 0..1\n  ImmunizationNotGivenModifier.Reason maps to explanation.reasonNotGiven\n  BodySite maps to site\n  RouteIntoBody maps to route\n  AmountOfMedication maps to doseQuantity\n  TBD "DoseSequenceNumber" maps to vaccinationProtocol.doseSequence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationAdministered", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.immunization.ImmunizationAdministered" + } + ], + "name": "SHR ImmunizationAdministered Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.359Z", + "description": "Represents an immunization that was administered to the subject.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-immunization-ImmunizationAdministered", + "path": "Immunization", + "short": "SHR ImmunizationAdministered Profile", + "definition": "Represents an immunization that was administered to the subject.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "imm-2", + "severity": "error", + "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", + "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", + "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))" + }, + { + "key": "imm-1", + "severity": "error", + "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", + "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", + "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.identifier", + "path": "Immunization.identifier", + "short": "Business identifier", + "definition": "A unique identifier assigned to this immunization record.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.status", + "path": "Immunization.status", + "short": "completed | entered-in-error", + "definition": "Indicates the current status of the vaccination event.", + "comments": "Will generally be set to show that the immunization has been completed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A set of codes indicating the current status of an Immunization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.date", + "path": "Immunization.date", + "short": "Vaccination administration date", + "definition": "Date vaccine administered or was to be administered.", + "comments": "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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine product administered", + "definition": "Vaccine that was administered or was to be administered.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The code for vaccine product administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.wasNotGiven", + "path": "Immunization.wasNotGiven", + "short": "Flag for whether immunization was given", + "definition": "Indicates if the vaccination was or was not given.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "Should not be populated if primarySource = True, will not be required even if primarySource = False.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported)\n.participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional)\n.participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.performer", + "path": "Immunization.performer", + "short": "Who administered vaccine", + "definition": "Clinician who administered the vaccine.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].COCT_MT090102UV" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.requester", + "path": "Immunization.requester", + "short": "Who ordered vaccination", + "definition": "Clinician who ordered the vaccination.", + "comments": "Other participants - delegate to Provenance resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-12" + }, + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV" + }, + { + "identity": "w5", + "map": "who.cause" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.encounter", + "path": "Immunization.encounter", + "short": "Encounter administered as 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.manufacturer", + "path": "Immunization.manufacturer", + "short": "Vaccine manufacturer", + "definition": "Name of vaccine manufacturer.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "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:shr-immunization-ImmunizationAdministered.location", + "path": "Immunization.location", + "short": "Where vaccination occurred", + "definition": "The service delivery location where the vaccine administration occurred.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.lotNumber", + "path": "Immunization.lotNumber", + "short": "Vaccine lot number", + "definition": "Lot number of the vaccine product.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-immunization-ImmunizationAdministered.expirationDate", + "path": "Immunization.expirationDate", + "short": "Vaccine expiration date", + "definition": "Date vaccine batch expires.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.site", + "path": "Immunization.site", + "short": "Body site vaccine was administered", + "definition": "Body site where vaccine was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "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:shr-immunization-ImmunizationAdministered.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.doseQuantity", + "path": "Immunization.doseQuantity", + "short": "Amount of vaccine administered", + "definition": "The quantity of vaccine product that was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7.1" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.note", + "path": "Immunization.note", + "short": "Vaccination notes", + "definition": "Extra information about the immunization that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation", + "path": "Immunization.explanation", + "short": "Administration/non-administration reasons", + "definition": "Reasons why a vaccine was or was not administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.id", + "path": "Immunization.explanation.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.extension", + "path": "Immunization.explanation.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.modifierExtension", + "path": "Immunization.explanation.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.reason", + "path": "Immunization.explanation.reason", + "short": "Why immunization occurred", + "definition": "Reasons why a vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "short": "Why immunization did not occur", + "definition": "Reason why a vaccine was not administered.", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was not administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-18" + }, + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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.", + "comments": "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](allergyintolerance.html) resource instance as most systems will not query against past Immunization.reaction elements.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.reaction.modifierExtension", + "path": "Immunization.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.reaction.date", + "path": "Immunization.reaction.date", + "short": "When reaction started", + "definition": "Date of reaction to the immunization.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "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:shr-immunization-ImmunizationAdministered.reaction.detail", + "path": "Immunization.reaction.detail", + "short": "Additional information on reaction", + "definition": "Details of the reaction.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.reaction.reported", + "path": "Immunization.reaction.reported", + "short": "Indicates self-reported reaction", + "definition": "Self-reported indicator.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(no such concept seems to exist for allergy/adverse reaction in HL7 v2)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol", + "path": "Immunization.vaccinationProtocol", + "short": "What protocol was followed", + "definition": "Contains information about the protocol(s) under which the vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.id", + "path": "Immunization.vaccinationProtocol.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.extension", + "path": "Immunization.vaccinationProtocol.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.modifierExtension", + "path": "Immunization.vaccinationProtocol.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.doseSequence", + "path": "Immunization.vaccinationProtocol.doseSequence", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.description", + "path": "Immunization.vaccinationProtocol.description", + "short": "Details of vaccine protocol", + "definition": "Contains the description about the protocol under which the vaccine was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.authority", + "path": "Immunization.vaccinationProtocol.authority", + "short": "Who is responsible for protocol", + "definition": "Indicates the authority who published the protocol. E.g. ACIP.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.series", + "path": "Immunization.vaccinationProtocol.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.seriesDoses", + "path": "Immunization.vaccinationProtocol.seriesDoses", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.targetDisease", + "path": "Immunization.vaccinationProtocol.targetDisease", + "short": "Disease immunized against", + "definition": "The targeted disease.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The disease target of the vaccination protocol", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=OBS].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.doseStatus", + "path": "Immunization.vaccinationProtocol.doseStatus", + "short": "Indicates if dose counts towards immunity", + "definition": "Indicates if the immunization event should \"count\" against the protocol.", + "comments": "May need to differentiate between status declarations by a provider vs. a CDS engine.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The status of the vaccination protocol (i.e. should this count)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccinationProtocol.doseStatusReason", + "path": "Immunization.vaccinationProtocol.doseStatusReason", + "short": "Why dose does (not) count", + "definition": "Provides an explanation as to why an immunization event should or should not count against the protocol.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization:shr-immunization-ImmunizationAdministered", + "path": "Immunization", + "short": "SHR ImmunizationAdministered Profile", + "definition": "Represents an immunization that was administered to the subject." + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.vaccineCode", + "path": "Immunization.vaccineCode", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.manufacturer", + "path": "Immunization.manufacturer", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.site", + "path": "Immunization.site", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.route", + "path": "Immunization.route", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.doseQuantity", + "path": "Immunization.doseQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation", + "path": "Immunization.explanation" + }, + { + "id": "Immunization:shr-immunization-ImmunizationAdministered.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json new file mode 100755 index 0000000..d41f5d2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-immunization-ImmunizationNotGiven.json @@ -0,0 +1,1669 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-immunization-ImmunizationNotGiven", + "text": { + "status": "generated", + "div": "
\n

SHR ImmunizationNotGiven Profile

\n

Represents an immunization that was not given.

\n

SHR Mapping Summary

\n

shr.immunization.ImmunizationNotGiven maps to Immunization:\n  Vaccine.CodeableConcept maps to vaccineCode\n  Vaccine.VaccineManufacturer maps to manufacturer\n  ImmunizationNotGivenModifier maps to wasNotGiven\n  explanation is 0..1\n  ImmunizationNotGivenModifier.Reason maps to explanation.reasonNotGiven\n  BodySite maps to site\n  RouteIntoBody maps to route\n  AmountOfMedication maps to doseQuantity\n  TBD "DoseSequenceNumber" maps to vaccinationProtocol.doseSequence\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.immunization.ImmunizationNotGiven" + } + ], + "name": "SHR ImmunizationNotGiven Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.366Z", + "description": "Represents an immunization that was not given.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-immunization-ImmunizationNotGiven", + "path": "Immunization", + "short": "SHR ImmunizationNotGiven Profile", + "definition": "Represents an immunization that was not given.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "imm-2", + "severity": "error", + "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", + "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", + "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))" + }, + { + "key": "imm-1", + "severity": "error", + "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", + "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", + "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.identifier", + "path": "Immunization.identifier", + "short": "Business identifier", + "definition": "A unique identifier assigned to this immunization record.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.status", + "path": "Immunization.status", + "short": "completed | entered-in-error", + "definition": "Indicates the current status of the vaccination event.", + "comments": "Will generally be set to show that the immunization has been completed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A set of codes indicating the current status of an Immunization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.date", + "path": "Immunization.date", + "short": "Vaccination administration date", + "definition": "Date vaccine administered or was to be administered.", + "comments": "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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine product administered", + "definition": "Vaccine that was administered or was to be administered.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The code for vaccine product administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.patient", + "path": "Immunization.patient", + "short": "Who was immunized", + "definition": "The patient who either received or did not receive the immunization.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.wasNotGiven", + "path": "Immunization.wasNotGiven", + "short": "Flag for whether immunization was given", + "definition": "Indicates if the vaccination was or was not given.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "Should not be populated if primarySource = True, will not be required even if primarySource = False.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported)\n.participation[typeCode=INF].role[classCode=LIC] (this syntax for health care professional)\n.participation[typeCode=INF].role[classCode=PRS] (this syntax for family member)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.performer", + "path": "Immunization.performer", + "short": "Who administered vaccine", + "definition": "Clinician who administered the vaccine.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].COCT_MT090102UV" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.requester", + "path": "Immunization.requester", + "short": "Who ordered vaccination", + "definition": "Clinician who ordered the vaccination.", + "comments": "Other participants - delegate to Provenance resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-12" + }, + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV" + }, + { + "identity": "w5", + "map": "who.cause" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.encounter", + "path": "Immunization.encounter", + "short": "Encounter administered as 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.manufacturer", + "path": "Immunization.manufacturer", + "short": "Vaccine manufacturer", + "definition": "Name of vaccine manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "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:shr-immunization-ImmunizationNotGiven.location", + "path": "Immunization.location", + "short": "Where vaccination occurred", + "definition": "The service delivery location where the vaccine administration occurred.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.lotNumber", + "path": "Immunization.lotNumber", + "short": "Vaccine lot number", + "definition": "Lot number of the vaccine product.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-immunization-ImmunizationNotGiven.expirationDate", + "path": "Immunization.expirationDate", + "short": "Vaccine expiration date", + "definition": "Date vaccine batch expires.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.site", + "path": "Immunization.site", + "short": "Body site vaccine was administered", + "definition": "Body site where vaccine was administered.", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "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:shr-immunization-ImmunizationNotGiven.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": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXR-1" + }, + { + "identity": "rim", + "map": ".routeCode" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/routeCode/code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.doseQuantity", + "path": "Immunization.doseQuantity", + "short": "Amount of vaccine administered", + "definition": "The quantity of vaccine product that was administered.", + "min": 0, + "max": "0", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7.1" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.note", + "path": "Immunization.note", + "short": "Vaccination notes", + "definition": "Extra information about the immunization that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation", + "path": "Immunization.explanation", + "short": "Administration/non-administration reasons", + "definition": "Reasons why a vaccine was or was not administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.id", + "path": "Immunization.explanation.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.extension", + "path": "Immunization.explanation.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.modifierExtension", + "path": "Immunization.explanation.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.reason", + "path": "Immunization.explanation.reason", + "short": "Why immunization occurred", + "definition": "Reasons why a vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "short": "Why immunization did not occur", + "definition": "Reason why a vaccine was not administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was not administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-18" + }, + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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.", + "comments": "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](allergyintolerance.html) resource instance as most systems will not query against past Immunization.reaction elements.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.reaction.modifierExtension", + "path": "Immunization.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.reaction.date", + "path": "Immunization.reaction.date", + "short": "When reaction started", + "definition": "Date of reaction to the immunization.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "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:shr-immunization-ImmunizationNotGiven.reaction.detail", + "path": "Immunization.reaction.detail", + "short": "Additional information on reaction", + "definition": "Details of the reaction.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.reaction.reported", + "path": "Immunization.reaction.reported", + "short": "Indicates self-reported reaction", + "definition": "Self-reported indicator.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(no such concept seems to exist for allergy/adverse reaction in HL7 v2)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol", + "path": "Immunization.vaccinationProtocol", + "short": "What protocol was followed", + "definition": "Contains information about the protocol(s) under which the vaccine was administered.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.id", + "path": "Immunization.vaccinationProtocol.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.extension", + "path": "Immunization.vaccinationProtocol.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.modifierExtension", + "path": "Immunization.vaccinationProtocol.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.doseSequence", + "path": "Immunization.vaccinationProtocol.doseSequence", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.description", + "path": "Immunization.vaccinationProtocol.description", + "short": "Details of vaccine protocol", + "definition": "Contains the description about the protocol under which the vaccine was administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.authority", + "path": "Immunization.vaccinationProtocol.authority", + "short": "Who is responsible for protocol", + "definition": "Indicates the authority who published the protocol. E.g. ACIP.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.series", + "path": "Immunization.vaccinationProtocol.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.seriesDoses", + "path": "Immunization.vaccinationProtocol.seriesDoses", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.targetDisease", + "path": "Immunization.vaccinationProtocol.targetDisease", + "short": "Disease immunized against", + "definition": "The targeted disease.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The disease target of the vaccination protocol", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=OBS].code" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.doseStatus", + "path": "Immunization.vaccinationProtocol.doseStatus", + "short": "Indicates if dose counts towards immunity", + "definition": "Indicates if the immunization event should \"count\" against the protocol.", + "comments": "May need to differentiate between status declarations by a provider vs. a CDS engine.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The status of the vaccination protocol (i.e. should this count)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccinationProtocol.doseStatusReason", + "path": "Immunization.vaccinationProtocol.doseStatusReason", + "short": "Why dose does (not) count", + "definition": "Provides an explanation as to why an immunization event should or should not count against the protocol.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven", + "path": "Immunization", + "short": "SHR ImmunizationNotGiven Profile", + "definition": "Represents an immunization that was not given." + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.vaccineCode", + "path": "Immunization.vaccineCode", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.wasNotGiven", + "path": "Immunization.wasNotGiven", + "fixedBoolean": true + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.manufacturer", + "path": "Immunization.manufacturer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.site", + "path": "Immunization.site", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.route", + "path": "Immunization.route", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + } + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.doseQuantity", + "path": "Immunization.doseQuantity", + "min": 0, + "max": "0", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation", + "path": "Immunization.explanation" + }, + { + "id": "Immunization:shr-immunization-ImmunizationNotGiven.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json new file mode 100755 index 0000000..0172f80 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-ChangeFlag-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-ChangeFlag-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ChangeFlag Extension

\n

Indicator of significant change (delta) from the last or previous measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.ChangeFlag" + } + ], + "name": "SHR ChangeFlag Extension", + "title": "SHR ChangeFlag Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "Indicator of significant change (delta) from the last or previous measurement.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:changeflag", + "path": "Extension", + "short": "SHR ChangeFlag Extension", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:changeflag.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:changeflag.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:changeflag.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:changeflag.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-ChangeFlagVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:changeflag", + "path": "Extension", + "short": "SHR ChangeFlag Extension", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:changeflag.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:changeflag.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension" + }, + { + "id": "Extension:changeflag.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-ChangeFlagVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json new file mode 100755 index 0000000..f97ab12 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTest.json @@ -0,0 +1,2225 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-HIVScreeningTest", + "text": { + "status": "generated", + "div": "
\n

SHR HIVScreeningTest Profile

\n

The result of an HIV Screening Test.

\n

SHR Mapping Summary

\n

shr.lab.HIVScreeningTest maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVScreeningTest", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVScreeningTest" + } + ], + "name": "SHR HIVScreeningTest Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.383Z", + "description": "The result of an HIV Screening Test.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lab-HIVScreeningTest", + "path": "Observation", + "short": "SHR HIVScreeningTest Profile", + "definition": "The result of an HIV Screening Test.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension", + "path": "Observation.extension", + "slicing": { + "id": "218", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestResultVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "219", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lab-HIVScreeningTest.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lab-HIVScreeningTest", + "path": "Observation", + "short": "SHR HIVScreeningTest Profile", + "definition": "The result of an HIV Screening Test." + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestResultVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-lab-HIVScreeningTest.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json new file mode 100755 index 0000000..72c94cd --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVScreeningTestRequest.json @@ -0,0 +1,1129 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-HIVScreeningTestRequest", + "text": { + "status": "generated", + "div": "
\n

SHR HIVScreeningTestRequest Profile

\n

A request for a rapid HIV screening test.

\n

SHR Mapping Summary

\n

shr.lab.HIVScreeningTestRequest maps to ProcedureRequest:\n  Entry.Author maps to orderer\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Reason maps to reason[x].CodeableConcept\n  OccurrenceTime maps to orderedOn   // could potentially map Entry.DateEntered to authoredOn\n  ActionCode maps to code\n  RequestStatus maps to status\n  RequestedPerformanceTime maps to scheduled[x]\n  PriorityOfRequest maps to priority\n  RequestedPerformer maps to performer\n  BodySite maps to bodySite\n  TBD "Specimen" maps to specimen\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVScreeningTestRequest", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVScreeningTestRequest" + } + ], + "name": "SHR HIVScreeningTestRequest Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.394Z", + "description": "A request for a rapid HIV screening test.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "ProcedureRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest", + "path": "ProcedureRequest", + "short": "SHR HIVScreeningTestRequest Profile", + "definition": "A request for a rapid HIV screening test.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.id", + "path": "ProcedureRequest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.meta", + "path": "ProcedureRequest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.implicitRules", + "path": "ProcedureRequest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.language", + "path": "ProcedureRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.text", + "path": "ProcedureRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.contained", + "path": "ProcedureRequest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension", + "path": "ProcedureRequest.extension", + "slicing": { + "id": "222", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "definition": "Information for the performer of the test, if needed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.modifierExtension", + "path": "ProcedureRequest.modifierExtension", + "slicing": { + "id": "223", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.identifier", + "path": "ProcedureRequest.identifier", + "short": "Unique identifier for the request", + "definition": "Identifiers assigned to this order by the order or by the receiver.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.subject", + "path": "ProcedureRequest.subject", + "short": "Who the procedure should be done to", + "definition": "The person, animal or group that should receive the procedure.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.code", + "path": "ProcedureRequest.code", + "short": "What procedure to perform", + "definition": "The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "short": "What part of body to perform on", + "definition": "Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).", + "comments": "Only used if not implicit in the code found in ProcedureRequest.type.", + "requirements": "Knowing where the procedure is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "quick", + "map": "Procedure.targetBodySite" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "short": "Why procedure should occur", + "definition": "The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that explains the reason why a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.indication.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.scheduled[x]", + "path": "ProcedureRequest.scheduled[x]", + "short": "When procedure should occur", + "definition": "The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. \"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\".", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureSchedule" + }, + { + "identity": "w5", + "map": "when.planned" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.encounter", + "path": "ProcedureRequest.encounter", + "short": "Encounter request created during", + "definition": "The encounter within which the procedure proposal or request was created.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.encounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.performer", + "path": "ProcedureRequest.performer", + "short": "Who should perform the procedure", + "definition": "For example, the surgeon, anaethetist, endoscopist, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.status", + "path": "ProcedureRequest.status", + "short": "proposed | draft | requested | received | accepted | in-progress | completed | suspended | rejected | aborted", + "definition": "The status of the order.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.currentStatus" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.supportingInfo", + "path": "ProcedureRequest.supportingInfo", + "short": "Extra information to use in performing request", + "definition": "Information that may be needed by/relevant to the performer in their execution of this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.notes", + "path": "ProcedureRequest.notes", + "short": "Additional information about desired procedure", + "definition": "Any other notes associated with this proposal or order - e.g. provider instructions.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.asNeeded[x]", + "path": "ProcedureRequest.asNeeded[x]", + "short": "Preconditions for procedure", + "definition": "If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc." + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.prnReason.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.orderedOn", + "path": "ProcedureRequest.orderedOn", + "short": "When request was created", + "definition": "The time when the request was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.proposedAtTime" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.orderer", + "path": "ProcedureRequest.orderer", + "short": "Who made request", + "definition": "The healthcare professional responsible for proposing or ordering the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.statementAuthor" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.priority", + "path": "ProcedureRequest.priority", + "short": "routine | urgent | stat | asap", + "definition": "The clinical priority associated with this order.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The priority of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.urgency" + }, + { + "identity": "w5", + "map": "grade" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest", + "path": "ProcedureRequest", + "short": "SHR HIVScreeningTestRequest Profile", + "definition": "A request for a rapid HIV screening test." + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.subject", + "path": "ProcedureRequest.subject", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.code", + "path": "ProcedureRequest.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.encounter", + "path": "ProcedureRequest.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.performer", + "path": "ProcedureRequest.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.status", + "path": "ProcedureRequest.status", + "min": 1, + "max": "1" + }, + { + "id": "ProcedureRequest:shr-lab-HIVScreeningTestRequest.orderer", + "path": "ProcedureRequest.orderer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json new file mode 100755 index 0000000..063f8db --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTest.json @@ -0,0 +1,2225 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-HIVSupplementalTest", + "text": { + "status": "generated", + "div": "
\n

SHR HIVSupplementalTest Profile

\n

The result of a supplement HIV test, following up an initial screening.

\n

SHR Mapping Summary

\n

shr.lab.HIVSupplementalTest maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVSupplementalTest", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVSupplementalTest" + } + ], + "name": "SHR HIVSupplementalTest Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.391Z", + "description": "The result of a supplement HIV test, following up an initial screening.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lab-HIVSupplementalTest", + "path": "Observation", + "short": "SHR HIVSupplementalTest Profile", + "definition": "The result of a supplement HIV test, following up an initial screening.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension", + "path": "Observation.extension", + "slicing": { + "id": "220", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestResultVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "221", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lab-HIVSupplementalTest.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lab-HIVSupplementalTest", + "path": "Observation", + "short": "SHR HIVSupplementalTest Profile", + "definition": "The result of a supplement HIV test, following up an initial screening." + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestResultVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-lab-HIVSupplementalTest.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json new file mode 100755 index 0000000..186d5aa --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-HIVSupplementalTestRequest.json @@ -0,0 +1,1129 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-HIVSupplementalTestRequest", + "text": { + "status": "generated", + "div": "
\n

SHR HIVSupplementalTestRequest Profile

\n

A request for a confirmatory or additional test for HIV infection.

\n

SHR Mapping Summary

\n

shr.lab.HIVSupplementalTestRequest maps to ProcedureRequest:\n  Entry.Author maps to orderer\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Reason maps to reason[x].CodeableConcept\n  OccurrenceTime maps to orderedOn   // could potentially map Entry.DateEntered to authoredOn\n  ActionCode maps to code\n  RequestStatus maps to status\n  RequestedPerformanceTime maps to scheduled[x]\n  PriorityOfRequest maps to priority\n  RequestedPerformer maps to performer\n  BodySite maps to bodySite\n  TBD "Specimen" maps to specimen\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVSupplementalTestRequest", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVSupplementalTestRequest" + } + ], + "name": "SHR HIVSupplementalTestRequest Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.399Z", + "description": "A request for a confirmatory or additional test for HIV infection.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "ProcedureRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest", + "path": "ProcedureRequest", + "short": "SHR HIVSupplementalTestRequest Profile", + "definition": "A request for a confirmatory or additional test for HIV infection.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.id", + "path": "ProcedureRequest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.meta", + "path": "ProcedureRequest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.implicitRules", + "path": "ProcedureRequest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.language", + "path": "ProcedureRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.text", + "path": "ProcedureRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.contained", + "path": "ProcedureRequest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension", + "path": "ProcedureRequest.extension", + "slicing": { + "id": "224", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "definition": "Information for the performer of the test, if needed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.modifierExtension", + "path": "ProcedureRequest.modifierExtension", + "slicing": { + "id": "225", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.identifier", + "path": "ProcedureRequest.identifier", + "short": "Unique identifier for the request", + "definition": "Identifiers assigned to this order by the order or by the receiver.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.subject", + "path": "ProcedureRequest.subject", + "short": "Who the procedure should be done to", + "definition": "The person, animal or group that should receive the procedure.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.code", + "path": "ProcedureRequest.code", + "short": "What procedure to perform", + "definition": "The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "short": "What part of body to perform on", + "definition": "Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).", + "comments": "Only used if not implicit in the code found in ProcedureRequest.type.", + "requirements": "Knowing where the procedure is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "quick", + "map": "Procedure.targetBodySite" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "short": "Why procedure should occur", + "definition": "The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that explains the reason why a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.indication.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.scheduled[x]", + "path": "ProcedureRequest.scheduled[x]", + "short": "When procedure should occur", + "definition": "The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. \"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\".", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureSchedule" + }, + { + "identity": "w5", + "map": "when.planned" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.encounter", + "path": "ProcedureRequest.encounter", + "short": "Encounter request created during", + "definition": "The encounter within which the procedure proposal or request was created.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.encounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.performer", + "path": "ProcedureRequest.performer", + "short": "Who should perform the procedure", + "definition": "For example, the surgeon, anaethetist, endoscopist, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.status", + "path": "ProcedureRequest.status", + "short": "proposed | draft | requested | received | accepted | in-progress | completed | suspended | rejected | aborted", + "definition": "The status of the order.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.currentStatus" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.supportingInfo", + "path": "ProcedureRequest.supportingInfo", + "short": "Extra information to use in performing request", + "definition": "Information that may be needed by/relevant to the performer in their execution of this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.notes", + "path": "ProcedureRequest.notes", + "short": "Additional information about desired procedure", + "definition": "Any other notes associated with this proposal or order - e.g. provider instructions.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.asNeeded[x]", + "path": "ProcedureRequest.asNeeded[x]", + "short": "Preconditions for procedure", + "definition": "If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc." + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.prnReason.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.orderedOn", + "path": "ProcedureRequest.orderedOn", + "short": "When request was created", + "definition": "The time when the request was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.proposedAtTime" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.orderer", + "path": "ProcedureRequest.orderer", + "short": "Who made request", + "definition": "The healthcare professional responsible for proposing or ordering the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.statementAuthor" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.priority", + "path": "ProcedureRequest.priority", + "short": "routine | urgent | stat | asap", + "definition": "The clinical priority associated with this order.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The priority of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.urgency" + }, + { + "identity": "w5", + "map": "grade" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest", + "path": "ProcedureRequest", + "short": "SHR HIVSupplementalTestRequest Profile", + "definition": "A request for a confirmatory or additional test for HIV infection." + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.subject", + "path": "ProcedureRequest.subject", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.code", + "path": "ProcedureRequest.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.encounter", + "path": "ProcedureRequest.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.performer", + "path": "ProcedureRequest.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.status", + "path": "ProcedureRequest.status", + "min": 1, + "max": "1" + }, + { + "id": "ProcedureRequest:shr-lab-HIVSupplementalTestRequest.orderer", + "path": "ProcedureRequest.orderer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json new file mode 100755 index 0000000..8971fa0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-Test-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Test Extension

\n

A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.Test" + } + ], + "name": "SHR Test Extension", + "title": "SHR Test Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.006Z", + "description": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:test", + "path": "Extension", + "short": "SHR Test Extension", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:test.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:test.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:test.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:test.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:test", + "path": "Extension", + "short": "SHR Test Extension", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:test.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:test.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + }, + { + "id": "Extension:test.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json new file mode 100755 index 0000000..7374ee6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-Test.json @@ -0,0 +1,2160 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-Test", + "text": { + "status": "generated", + "div": "
\n

SHR Test Profile

\n

A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.

\n

SHR Mapping Summary

\n

shr.lab.Test maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.Test" + } + ], + "name": "SHR Test Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.373Z", + "description": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lab-Test", + "path": "Observation", + "short": "SHR Test Profile", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-Test.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lab-Test.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lab-Test.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension", + "path": "Observation.extension", + "slicing": { + "id": "213", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "214", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lab-Test.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lab-Test.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-Test.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lab-Test.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lab-Test.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-Test.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lab-Test.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lab-Test.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lab-Test.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lab-Test.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lab-Test.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lab-Test.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lab-Test.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lab-Test.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lab-Test", + "path": "Observation", + "short": "SHR Test Profile", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings." + }, + { + "id": "Observation:shr-lab-Test.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lab-Test.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-Test.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-Test.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lab-Test.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lab-Test.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lab-Test.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lab-Test.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lab-Test.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-lab-Test.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-lab-Test.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lab-Test.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-lab-Test.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest-extension.json new file mode 100755 index 0000000..a3556ae --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-TestRequest-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TestRequest Extension

\n

A record of a request (order) for a test to be performed.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.TestRequest" + } + ], + "name": "SHR TestRequest Extension", + "title": "SHR TestRequest Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.374Z", + "description": "A record of a request (order) for a test to be performed.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:testrequest", + "path": "Extension", + "short": "SHR TestRequest Extension", + "definition": "A record of a request (order) for a test to be performed.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:testrequest.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:testrequest.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:testrequest.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:testrequest.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:testrequest", + "path": "Extension", + "short": "SHR TestRequest Extension", + "definition": "A record of a request (order) for a test to be performed.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:testrequest.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:testrequest.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + }, + { + "id": "Extension:testrequest.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json b/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json new file mode 100755 index 0000000..9c1a5c5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lab-TestRequest.json @@ -0,0 +1,1129 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lab-TestRequest", + "text": { + "status": "generated", + "div": "
\n

SHR TestRequest Profile

\n

A record of a request (order) for a test to be performed.

\n

SHR Mapping Summary

\n

shr.lab.TestRequest maps to ProcedureRequest:\n  Entry.Author maps to orderer\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Reason maps to reason[x].CodeableConcept\n  OccurrenceTime maps to orderedOn   // could potentially map Entry.DateEntered to authoredOn\n  ActionCode maps to code\n  RequestStatus maps to status\n  RequestedPerformanceTime maps to scheduled[x]\n  PriorityOfRequest maps to priority\n  RequestedPerformer maps to performer\n  BodySite maps to bodySite\n  TBD "Specimen" maps to specimen\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.TestRequest" + } + ], + "name": "SHR TestRequest Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.376Z", + "description": "A record of a request (order) for a test to be performed.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "ProcedureRequest", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-TestRequest", + "path": "ProcedureRequest", + "short": "SHR TestRequest Profile", + "definition": "A record of a request (order) for a test to be performed.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.id", + "path": "ProcedureRequest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.meta", + "path": "ProcedureRequest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.implicitRules", + "path": "ProcedureRequest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.language", + "path": "ProcedureRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.text", + "path": "ProcedureRequest.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.contained", + "path": "ProcedureRequest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension", + "path": "ProcedureRequest.extension", + "slicing": { + "id": "216", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "definition": "Information for the performer of the test, if needed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.modifierExtension", + "path": "ProcedureRequest.modifierExtension", + "slicing": { + "id": "217", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "definition": "If true, the thing requested should not take place. For example, a request to NOT elevate the head of a bed using the code for elevating the bed, and setting RequestNotToPerformActionModifier to true. Other examples include do not ambulate, do not flush NG tube, do not take blood pressure on a certain arm, etc. If the Request.code and RequestAgainstModifier both contain negation, that will reinforce the prohibition, and should not be interpreted as a double negative that equals a positive.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.identifier", + "path": "ProcedureRequest.identifier", + "short": "Unique identifier for the request", + "definition": "Identifiers assigned to this order by the order or by the receiver.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.subject", + "path": "ProcedureRequest.subject", + "short": "Who the procedure should be done to", + "definition": "The person, animal or group that should receive the procedure.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.code", + "path": "ProcedureRequest.code", + "short": "What procedure to perform", + "definition": "The specific procedure that is ordered. Use text if the exact nature of the procedure cannot be coded.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "short": "What part of body to perform on", + "definition": "Indicates the sites on the subject's body where the procedure should be performed (I.e. the target sites).", + "comments": "Only used if not implicit in the code found in ProcedureRequest.type.", + "requirements": "Knowing where the procedure is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "targetSiteCode" + }, + { + "identity": "quick", + "map": "Procedure.targetBodySite" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "short": "Why procedure should occur", + "definition": "The reason why the procedure is being proposed or ordered. This procedure request may be motivated by a Condition for instance.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that explains the reason why a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.indication.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.scheduled[x]", + "path": "ProcedureRequest.scheduled[x]", + "short": "When procedure should occur", + "definition": "The timing schedule for the proposed or ordered procedure. The Schedule data type allows many different expressions. E.g. \"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\".", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + }, + { + "code": "Timing" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Procedure.procedureSchedule" + }, + { + "identity": "w5", + "map": "when.planned" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.encounter", + "path": "ProcedureRequest.encounter", + "short": "Encounter request created during", + "definition": "The encounter within which the procedure proposal or request was created.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.encounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.performer", + "path": "ProcedureRequest.performer", + "short": "Who should perform the procedure", + "definition": "For example, the surgeon, anaethetist, endoscopist, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.status", + "path": "ProcedureRequest.status", + "short": "proposed | draft | requested | received | accepted | in-progress | completed | suspended | rejected | aborted", + "definition": "The status of the order.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-status" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Action.currentStatus" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.supportingInfo", + "path": "ProcedureRequest.supportingInfo", + "short": "Extra information to use in performing request", + "definition": "Information that may be needed by/relevant to the performer in their execution of this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.notes", + "path": "ProcedureRequest.notes", + "short": "Additional information about desired procedure", + "definition": "Any other notes associated with this proposal or order - e.g. provider instructions.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.asNeeded[x]", + "path": "ProcedureRequest.asNeeded[x]", + "short": "Preconditions for procedure", + "definition": "If a CodeableConcept is present, it indicates the pre-condition for performing the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + }, + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying the pre-condition that should hold prior to performing a procedure. For example \"pain\", \"on flare-up\", etc." + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.prnReason.reason" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.orderedOn", + "path": "ProcedureRequest.orderedOn", + "short": "When request was created", + "definition": "The time when the request was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.proposedAtTime" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.orderer", + "path": "ProcedureRequest.orderer", + "short": "Who made request", + "definition": "The healthcare professional responsible for proposing or ordering the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.statementAuthor" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.priority", + "path": "ProcedureRequest.priority", + "short": "routine | urgent | stat | asap", + "definition": "The clinical priority associated with this order.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The priority of the request.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-request-priority" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "Proposal.urgency" + }, + { + "identity": "w5", + "map": "grade" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "ProcedureRequest:shr-lab-TestRequest", + "path": "ProcedureRequest", + "short": "SHR TestRequest Profile", + "definition": "A record of a request (order) for a test to be performed." + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:participant", + "path": "ProcedureRequest.extension", + "sliceName": "participant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:performerinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "performerinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.extension:patientinstructions", + "path": "ProcedureRequest.extension", + "sliceName": "patientinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.modifierExtension:nonoccurrencemodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.modifierExtension:requestnottoperformactionmodifier", + "path": "ProcedureRequest.modifierExtension", + "sliceName": "requestnottoperformactionmodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.subject", + "path": "ProcedureRequest.subject", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.code", + "path": "ProcedureRequest.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.bodySite", + "path": "ProcedureRequest.bodySite", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.reason[x]", + "path": "ProcedureRequest.reason[x]", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.encounter", + "path": "ProcedureRequest.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.performer", + "path": "ProcedureRequest.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.status", + "path": "ProcedureRequest.status", + "min": 1, + "max": "1" + }, + { + "id": "ProcedureRequest:shr-lab-TestRequest.orderer", + "path": "ProcedureRequest.orderer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json new file mode 100755 index 0000000..0cd7d42 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json @@ -0,0 +1,2040 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-CongenitalAbnormalities", + "text": { + "status": "generated", + "div": "
\n

SHR CongenitalAbnormalities Profile

\n

Any abnormality, genetic, anatomical, biochemical, evident at birth or during the neonatal period. Includes malformations, deformations, and chromosomal abnormalities.

\n

SHR Mapping Summary

\n

shr.lifehistory.CongenitalAbnormalities maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.CongenitalAbnormalities" + } + ], + "name": "SHR CongenitalAbnormalities Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.414Z", + "description": "Any abnormality, genetic, anatomical, biochemical, evident at birth or during the neonatal period. Includes malformations, deformations, and chromosomal abnormalities.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities", + "path": "Observation", + "short": "SHR CongenitalAbnormalities Profile", + "definition": "Any abnormality, genetic, anatomical, biochemical, evident at birth or during the neonatal period. Includes malformations, deformations, and chromosomal abnormalities.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension", + "path": "Observation.extension", + "slicing": { + "id": "229", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-CongenitalAbnormalitiesVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "230", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-CongenitalAbnormalities.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities", + "path": "Observation", + "short": "SHR CongenitalAbnormalities Profile", + "definition": "Any abnormality, genetic, anatomical, biochemical, evident at birth or during the neonatal period. Includes malformations, deformations, and chromosomal abnormalities." + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-CongenitalAbnormalitiesVS" + } + } + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0000768" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-CongenitalAbnormalities.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json new file mode 100755 index 0000000..b4e5e1e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EducationalAttainment.json @@ -0,0 +1,2040 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-EducationalAttainment", + "text": { + "status": "generated", + "div": "
\n

SHR EducationalAttainment Profile

\n

Educational attainment or level of education of individuals.

\n

SHR Mapping Summary

\n

shr.lifehistory.EducationalAttainment maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EducationalAttainment" + } + ], + "name": "SHR EducationalAttainment Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.421Z", + "description": "Educational attainment or level of education of individuals.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-EducationalAttainment", + "path": "Observation", + "short": "SHR EducationalAttainment Profile", + "definition": "Educational attainment or level of education of individuals.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension", + "path": "Observation.extension", + "slicing": { + "id": "231", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EducationalAttainmentVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "232", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "63504-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-EducationalAttainment.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-EducationalAttainment", + "path": "Observation", + "short": "SHR EducationalAttainment Profile", + "definition": "Educational attainment or level of education of individuals." + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EducationalAttainmentVS" + } + } + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "63504-5" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-EducationalAttainment.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json new file mode 100755 index 0000000..251b792 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employer-extension.json @@ -0,0 +1,242 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-Employer-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Employer Extension

\n

A person or entity which hires the services of another.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.Employer" + } + ], + "name": "SHR Employer Extension", + "title": "SHR Employer Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.436Z", + "description": "A person or entity which hires the services of another.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:employer", + "path": "Extension", + "short": "SHR Employer Extension", + "definition": "A person or entity which hires the services of another.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:employer.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:employer.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:employer.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:employer.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:employer", + "path": "Extension", + "short": "SHR Employer Extension", + "definition": "A person or entity which hires the services of another.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:employer.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:employer.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension" + }, + { + "id": "Extension:employer.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json new file mode 100755 index 0000000..0801aad --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Employment.json @@ -0,0 +1,2124 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-Employment", + "text": { + "status": "generated", + "div": "
\n

SHR Employment Profile

\n

Engagement in an activity or service for profit, wages, salary, or as a service to others.

\n

SHR Mapping Summary

\n

shr.lifehistory.Employment maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.Employment" + } + ], + "name": "SHR Employment Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.434Z", + "description": "Engagement in an activity or service for profit, wages, salary, or as a service to others.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-Employment", + "path": "Observation", + "short": "SHR Employment Profile", + "definition": "Engagement in an activity or service for profit, wages, salary, or as a service to others.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Employment.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Employment.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-Employment.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension", + "path": "Observation.extension", + "slicing": { + "id": "235", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:employmentstatus", + "path": "Observation.extension", + "sliceName": "employmentstatus", + "definition": "Condition of employment including full- or part-time, temporary or permanent, and unemployment.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:employer", + "path": "Observation.extension", + "sliceName": "employer", + "definition": "A person or entity which hires the services of another.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:occurrencetime", + "path": "Observation.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "236", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74165-2" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-Employment.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-Employment", + "path": "Observation", + "short": "SHR Employment Profile", + "definition": "Engagement in an activity or service for profit, wages, salary, or as a service to others." + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:employmentstatus", + "path": "Observation.extension", + "sliceName": "employmentstatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:employer", + "path": "Observation.extension", + "sliceName": "employer", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.extension:occurrencetime", + "path": "Observation.extension", + "sliceName": "occurrencetime", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Employment.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74165-2" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-Employment.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-Employment.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Employment.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json new file mode 100755 index 0000000..11ff55c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-EmploymentStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR EmploymentStatus Extension

\n

Condition of employment including full- or part-time, temporary or permanent, and unemployment.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EmploymentStatus" + } + ], + "name": "SHR EmploymentStatus Extension", + "title": "SHR EmploymentStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.435Z", + "description": "Condition of employment including full- or part-time, temporary or permanent, and unemployment.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:employmentstatus", + "path": "Extension", + "short": "SHR EmploymentStatus Extension", + "definition": "Condition of employment including full- or part-time, temporary or permanent, and unemployment.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:employmentstatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:employmentstatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:employmentstatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:employmentstatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EmploymentStatusVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:employmentstatus", + "path": "Extension", + "short": "SHR EmploymentStatus Extension", + "definition": "Condition of employment including full- or part-time, temporary or permanent, and unemployment.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:employmentstatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:employmentstatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension" + }, + { + "id": "Extension:employmentstatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EmploymentStatusVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json new file mode 100755 index 0000000..34f226e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryBranch-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryBranch Extension

\n

The branch of the US military that the subject has served.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryBranch" + } + ], + "name": "SHR MilitaryBranch Extension", + "title": "SHR MilitaryBranch Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "The branch of the US military that the subject has served.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:militarybranch", + "path": "Extension", + "short": "SHR MilitaryBranch Extension", + "definition": "The branch of the US military that the subject has served.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:militarybranch.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militarybranch.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:militarybranch.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militarybranch.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-USMilitaryBranchVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:militarybranch", + "path": "Extension", + "short": "SHR MilitaryBranch Extension", + "definition": "The branch of the US military that the subject has served.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:militarybranch.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:militarybranch.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension" + }, + { + "id": "Extension:militarybranch.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-USMilitaryBranchVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json new file mode 100755 index 0000000..3ebc319 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryService.json @@ -0,0 +1,1599 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryService", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryService Profile

\n

History of service in the US military.

\n

SHR Mapping Summary

\n

shr.lifehistory.MilitaryService maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryService" + } + ], + "name": "SHR MilitaryService Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.439Z", + "description": "History of service in the US military.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService", + "path": "DiagnosticReport", + "short": "SHR MilitaryService Profile", + "definition": "History of service in the US military.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "238", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode.id", + "path": "DiagnosticReport.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode.extension:extension", + "path": "DiagnosticReport.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode.url", + "path": "DiagnosticReport.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode.valueCodeableConcept", + "path": "DiagnosticReport.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3714797" + } + ] + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militarystatus", + "path": "DiagnosticReport.extension", + "sliceName": "militarystatus", + "definition": "The current connection to the US military.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militaryservicedischargestatus", + "path": "DiagnosticReport.extension", + "sliceName": "militaryservicedischargestatus", + "definition": "How the subject was formally discharged from the US Military.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militarybranch", + "path": "DiagnosticReport.extension", + "sliceName": "militarybranch", + "definition": "The branch of the US military that the subject has served.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militaryserviceera", + "path": "DiagnosticReport.extension", + "sliceName": "militaryserviceera", + "definition": "The time period of US military service.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:serviceconnecteddisability", + "path": "DiagnosticReport.extension", + "sliceName": "serviceconnecteddisability", + "definition": "Percentage disability resulting from US Military Service.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-MilitaryService.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-lifehistory-MilitaryService.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService", + "path": "DiagnosticReport", + "short": "SHR MilitaryService Profile", + "definition": "History of service in the US military." + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3714797" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militarystatus", + "path": "DiagnosticReport.extension", + "sliceName": "militarystatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militaryservicedischargestatus", + "path": "DiagnosticReport.extension", + "sliceName": "militaryservicedischargestatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militarybranch", + "path": "DiagnosticReport.extension", + "sliceName": "militarybranch", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:militaryserviceera", + "path": "DiagnosticReport.extension", + "sliceName": "militaryserviceera", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.extension:serviceconnecteddisability", + "path": "DiagnosticReport.extension", + "sliceName": "serviceconnecteddisability", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-lifehistory-MilitaryService.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json new file mode 100755 index 0000000..ce9817c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryServiceDischargeStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceDischargeStatus Extension

\n

How the subject was formally discharged from the US Military.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceDischargeStatus" + } + ], + "name": "SHR MilitaryServiceDischargeStatus Extension", + "title": "SHR MilitaryServiceDischargeStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "How the subject was formally discharged from the US Military.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:militaryservicedischargestatus", + "path": "Extension", + "short": "SHR MilitaryServiceDischargeStatus Extension", + "definition": "How the subject was formally discharged from the US Military.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:militaryservicedischargestatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militaryservicedischargestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:militaryservicedischargestatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militaryservicedischargestatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceDischargeStatusVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:militaryservicedischargestatus", + "path": "Extension", + "short": "SHR MilitaryServiceDischargeStatus Extension", + "definition": "How the subject was formally discharged from the US Military.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:militaryservicedischargestatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:militaryservicedischargestatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension" + }, + { + "id": "Extension:militaryservicedischargestatus.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceDischargeStatusVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json new file mode 100755 index 0000000..6a78b95 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryServiceEra-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceEra Extension

\n

The time period of US military service.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceEra" + } + ], + "name": "SHR MilitaryServiceEra Extension", + "title": "SHR MilitaryServiceEra Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "The time period of US military service.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:militaryserviceera", + "path": "Extension", + "short": "SHR MilitaryServiceEra Extension", + "definition": "The time period of US military service.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:militaryserviceera.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militaryserviceera.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:militaryserviceera.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militaryserviceera.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceEraVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:militaryserviceera", + "path": "Extension", + "short": "SHR MilitaryServiceEra Extension", + "definition": "The time period of US military service.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:militaryserviceera.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:militaryserviceera.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension" + }, + { + "id": "Extension:militaryserviceera.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceEraVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json new file mode 100755 index 0000000..221a543 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryStatus Extension

\n

The current connection to the US military.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryStatus" + } + ], + "name": "SHR MilitaryStatus Extension", + "title": "SHR MilitaryStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "The current connection to the US military.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:militarystatus", + "path": "Extension", + "short": "SHR MilitaryStatus Extension", + "definition": "The current connection to the US military.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:militarystatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militarystatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:militarystatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:militarystatus.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:militarystatus", + "path": "Extension", + "short": "SHR MilitaryStatus Extension", + "definition": "The current connection to the US military.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:militarystatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:militarystatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension" + }, + { + "id": "Extension:militarystatus.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json new file mode 100755 index 0000000..a0c6bec --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-MilitaryStatus.json @@ -0,0 +1,2024 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-MilitaryStatus", + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryStatus Profile

\n

The current connection to the US military.

\n

SHR Mapping Summary

\n

shr.lifehistory.MilitaryStatus maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryStatus" + } + ], + "name": "SHR MilitaryStatus Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.448Z", + "description": "The current connection to the US military.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-MilitaryStatus", + "path": "Observation", + "short": "SHR MilitaryStatus Profile", + "definition": "The current connection to the US military.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension", + "path": "Observation.extension", + "slicing": { + "id": "239", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryStatusVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "240", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-MilitaryStatus.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-MilitaryStatus", + "path": "Observation", + "short": "SHR MilitaryStatus Profile", + "definition": "The current connection to the US military." + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryStatusVS" + } + } + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-MilitaryStatus.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json new file mode 100755 index 0000000..9db377e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Occupation.json @@ -0,0 +1,2040 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-Occupation", + "text": { + "status": "generated", + "div": "
\n

SHR Occupation Profile

\n

The principal activity that a person does to earn money, specifying the job performed by the subject, for example, accountant, programmer analyst, patient care associate, staff nurse, etc.

\n

SHR Mapping Summary

\n

shr.lifehistory.Occupation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.Occupation" + } + ], + "name": "SHR Occupation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.428Z", + "description": "The principal activity that a person does to earn money, specifying the job performed by the subject, for example, accountant, programmer analyst, patient care associate, staff nurse, etc.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-Occupation", + "path": "Observation", + "short": "SHR Occupation Profile", + "definition": "The principal activity that a person does to earn money, specifying the job performed by the subject, for example, accountant, programmer analyst, patient care associate, staff nurse, etc.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Occupation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Occupation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-Occupation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension", + "path": "Observation.extension", + "slicing": { + "id": "233", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://www.bls.gov/soc/" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "234", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74287-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-Occupation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-Occupation", + "path": "Observation", + "short": "SHR Occupation Profile", + "definition": "The principal activity that a person does to earn money, specifying the job performed by the subject, for example, accountant, programmer analyst, patient care associate, staff nurse, etc." + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://www.bls.gov/soc/" + } + } + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Occupation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Occupation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Occupation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "74287-4" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-Occupation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-Occupation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Occupation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json new file mode 100755 index 0000000..4783718 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-PrenatalExposure.json @@ -0,0 +1,2722 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-PrenatalExposure", + "text": { + "status": "generated", + "div": "
\n

SHR PrenatalExposure Profile

\n

Fetal contact with a dangerous substance via the mother.

\n

SHR Mapping Summary

\n

shr.lifehistory.PrenatalExposure maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.PrenatalExposure" + } + ], + "name": "SHR PrenatalExposure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.406Z", + "description": "Fetal contact with a dangerous substance via the mother.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-PrenatalExposure", + "path": "Observation", + "short": "SHR PrenatalExposure Profile", + "definition": "Fetal contact with a dangerous substance via the mother.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension", + "path": "Observation.extension", + "slicing": { + "id": "227", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "definition": "Any matter of defined composition that has discrete existence, whose origin may be biological, mineral or chemical.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-TeratogenVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "definition": "Quantitative or qualitative measure of likelihood.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "definition": "Where the substance originated. Vectors include animals (e.g., tick, mosquito, cats, livestock) capable of transmitting an infectious agent among vertebrates. Sources could include food, contaminated drinking water, air, radon gas in the home, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "definition": "Why the exposure occurred.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "definition": "How the exposure occurred, e.g. cutaneous contact, injection, ingestion, sexual contact, inhalation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "definition": "A laboratory, radiologic, or other clinical test or measurement used to determine the presence, absence, or degree of a condition, or assess the function or health of an individual. This includes patient-generated data, such as pedometer readings.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:gestationaltemporalcontext", + "path": "Observation.extension", + "sliceName": "gestationaltemporalcontext", + "definition": "A named gestational time period, or a gestational age.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "228", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category", + "path": "Observation.category", + "slicing": { + "id": "226", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0871747" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-PrenatalExposure.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-PrenatalExposure", + "path": "Observation", + "short": "SHR PrenatalExposure Profile", + "definition": "Fetal contact with a dangerous substance via the mother." + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:substance", + "path": "Observation.extension", + "sliceName": "substance", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-TeratogenVS" + } + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:generalizedlikelihood", + "path": "Observation.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposuresourceorvector", + "path": "Observation.extension", + "sliceName": "exposuresourceorvector", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposurereason", + "path": "Observation.extension", + "sliceName": "exposurereason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:exposuremethod", + "path": "Observation.extension", + "sliceName": "exposuremethod", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:routeintobody", + "path": "Observation.extension", + "sliceName": "routeintobody", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:test", + "path": "Observation.extension", + "sliceName": "test", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.extension:gestationaltemporalcontext", + "path": "Observation.extension", + "sliceName": "gestationaltemporalcontext", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category", + "path": "Observation.category", + "slicing": { + "id": "226", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category:C0332157", + "path": "Observation.category", + "sliceName": "C0332157", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0332157" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0871747" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-PrenatalExposure.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json new file mode 100755 index 0000000..52db941 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-ServiceConnectedDisability-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ServiceConnectedDisability Extension

\n

Percentage disability resulting from US Military Service.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.ServiceConnectedDisability" + } + ], + "name": "SHR ServiceConnectedDisability Extension", + "title": "SHR ServiceConnectedDisability Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.440Z", + "description": "Percentage disability resulting from US Military Service.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:serviceconnecteddisability", + "path": "Extension", + "short": "SHR ServiceConnectedDisability Extension", + "definition": "Percentage disability resulting from US Military Service.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.extension", + "path": "Extension.extension", + "slicing": { + "id": "237", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.extension:percentage", + "path": "Extension.extension", + "sliceName": "percentage", + "definition": "A percentage value where 100.0 represents 100%.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:serviceconnecteddisability", + "path": "Extension", + "short": "SHR ServiceConnectedDisability Extension", + "definition": "Percentage disability resulting from US Military Service.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:serviceconnecteddisability.extension:percentage", + "path": "Extension.extension", + "sliceName": "percentage", + "definition": "A percentage value where 100.0 represents 100%.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension" + } + ] + }, + { + "id": "Extension:serviceconnecteddisability.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension" + }, + { + "id": "Extension:serviceconnecteddisability.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json new file mode 100755 index 0000000..1f8ace5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-lifehistory-Travel.json @@ -0,0 +1,2184 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-lifehistory-Travel", + "text": { + "status": "generated", + "div": "
\n

SHR Travel Profile

\n

Trip to a foreign country or an area, particularly when a health risk is involved.

\n

SHR Mapping Summary

\n

shr.lifehistory.Travel maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.Travel" + } + ], + "name": "SHR Travel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.456Z", + "description": "Trip to a foreign country or an area, particularly when a health risk is involved.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-lifehistory-Travel", + "path": "Observation", + "short": "SHR Travel Profile", + "definition": "Trip to a foreign country or an area, particularly when a health risk is involved.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Travel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-lifehistory-Travel.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-lifehistory-Travel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension", + "path": "Observation.extension", + "slicing": { + "id": "242", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "243", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.category", + "path": "Observation.category", + "slicing": { + "id": "241", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-Travel.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0040802" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-lifehistory-Travel.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-lifehistory-Travel", + "path": "Observation", + "short": "SHR Travel Profile", + "definition": "Trip to a foreign country or an area, particularly when a health risk is involved." + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-lifehistory-Travel.category", + "path": "Observation.category", + "slicing": { + "id": "241", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-Travel.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0040802" + } + ] + } + }, + { + "id": "Observation:shr-lifehistory-Travel.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-lifehistory-Travel.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-lifehistory-Travel.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json new file mode 100755 index 0000000..6f2fc89 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-Adherence-extension.json @@ -0,0 +1,444 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-Adherence-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Adherence Extension

\n

A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.Adherence" + } + ], + "name": "SHR Adherence Extension", + "title": "SHR Adherence Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.271Z", + "description": "A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:adherence", + "path": "Extension", + "short": "SHR Adherence Extension", + "definition": "A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:adherence.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherence.extension", + "path": "Extension.extension", + "slicing": { + "id": "181", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:adherence.extension:adherencelevel", + "path": "Extension.extension", + "sliceName": "adherencelevel", + "definition": "The frequency that the stated treatment plan, prescription, or protocol is followed.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherence.extension:nonadherencereason", + "path": "Extension.extension", + "sliceName": "nonadherencereason", + "definition": "Reason for not following the stated treatment plan, prescription, or protocol.", + "min": 0, + "max": "*", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherence.extension:details", + "path": "Extension.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherence.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherence.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:adherence", + "path": "Extension", + "short": "SHR Adherence Extension", + "definition": "A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:adherence.extension:adherencelevel", + "path": "Extension.extension", + "sliceName": "adherencelevel", + "definition": "The frequency that the stated treatment plan, prescription, or protocol is followed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension" + } + ] + }, + { + "id": "Extension:adherence.extension:nonadherencereason", + "path": "Extension.extension", + "sliceName": "nonadherencereason", + "definition": "Reason for not following the stated treatment plan, prescription, or protocol.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension" + } + ] + }, + { + "id": "Extension:adherence.extension:details", + "path": "Extension.extension", + "sliceName": "details", + "definition": "Particulars considered individually and in relation to a whole.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension" + } + ] + }, + { + "id": "Extension:adherence.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension" + }, + { + "id": "Extension:adherence.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json new file mode 100755 index 0000000..e6cec73 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-AdherenceLevel-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-AdherenceLevel-extension", + "text": { + "status": "generated", + "div": "
\n

SHR AdherenceLevel Extension

\n

The frequency that the stated treatment plan, prescription, or protocol is followed.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.AdherenceLevel" + } + ], + "name": "SHR AdherenceLevel Extension", + "title": "SHR AdherenceLevel Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.271Z", + "description": "The frequency that the stated treatment plan, prescription, or protocol is followed.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:adherencelevel", + "path": "Extension", + "short": "SHR AdherenceLevel Extension", + "definition": "The frequency that the stated treatment plan, prescription, or protocol is followed.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:adherencelevel.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherencelevel.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:adherencelevel.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:adherencelevel.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:adherencelevel", + "path": "Extension", + "short": "SHR AdherenceLevel Extension", + "definition": "The frequency that the stated treatment plan, prescription, or protocol is followed.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:adherencelevel.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:adherencelevel.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension" + }, + { + "id": "Extension:adherencelevel.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json new file mode 100755 index 0000000..d61d9c2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-Medication.json @@ -0,0 +1,1416 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-Medication", + "text": { + "status": "generated", + "div": "
\n

SHR Medication Profile

\n

A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.

\n

SHR Mapping Summary

\n

shr.medication.Medication maps to Medication:\n  CodeableConcept maps to code\n  DoseForm maps to product.form\n  Ingredient maps to product.ingredient.item[x].CodeableConcept\n  Ingredient.IngredientAmount maps to product.ingredient.amount.numerator\n  Ingredient.AmountOfMedication maps to product.ingredient.amount.denominator\n  Brand maps to isBrand\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.Medication" + } + ], + "name": "SHR Medication Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.267Z", + "description": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-medication-Medication", + "path": "Medication", + "short": "SHR Medication Profile", + "definition": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "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": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "Medication:shr-medication-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Medication:shr-medication-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Medication:shr-medication-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Medication:shr-medication-Medication.language", + "path": "Medication.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Medication:shr-medication-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Medication:shr-medication-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.extension", + "path": "Medication.extension", + "slicing": { + "id": "180", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.extension:overthecounter", + "path": "Medication.extension", + "sliceName": "overthecounter", + "definition": "True if the medication is available to consumers without a prescription.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-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.", + "comments": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) should be marked as \"primary\". 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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept that defines the type of a medication", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/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": "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": "w5", + "map": "class" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.isBrand", + "path": "Medication.isBrand", + "short": "True if a brand", + "definition": "Set to true if the item is attributable to a specific manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "true if .player.scopingRole[typeCode=MANU] exists" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.manufacturer", + "path": "Medication.manufacturer", + "short": "Manufacturer of the item", + "definition": "Describes the details of the manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "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" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product", + "path": "Medication.product", + "short": "Administrable medication details", + "definition": "Information that only applies to products (not packages).", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "//element(*,DrugCodedType)/" + }, + { + "identity": "rim", + "map": ".player [classCode != CONT]" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.id", + "path": "Medication.product.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.extension", + "path": "Medication.product.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.modifierExtension", + "path": "Medication.product.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.form", + "path": "Medication.product.form", + "short": "powder | tablets | capsule +", + "definition": "Describes the form of the item. Powder; tablets; capsule.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept defining the form of a medication", + "valueSetReference": { + "reference": "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:shr-medication-Medication.product.ingredient", + "path": "Medication.product.ingredient", + "short": "Active or inactive ingredient", + "definition": "Identifies a particular constituent of interest in the product.", + "comments": "The ingredients need not be a complete list; usually only active ingredients are listed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".scopesRole[typeCode=INGR]" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.id", + "path": "Medication.product.ingredient.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.extension", + "path": "Medication.product.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.modifierExtension", + "path": "Medication.product.ingredient.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.item[x]", + "path": "Medication.product.ingredient.item[x]", + "slicing": { + "id": "179", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "The product contained", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "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:shr-medication-Medication.product.ingredient.itemCodeableConcept:shr-core-CodeableConcept", + "path": "Medication.product.ingredient.itemCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "The product contained", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.amount", + "path": "Medication.product.ingredient.amount", + "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", + "type": [ + { + "code": "Ratio" + } + ], + "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:shr-medication-Medication.product.batch", + "path": "Medication.product.batch", + "short": "Identifies a single production run", + "definition": "Information about a group of medication produced or packaged from one production run.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.batch.id", + "path": "Medication.product.batch.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.batch.extension", + "path": "Medication.product.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.batch.modifierExtension", + "path": "Medication.product.batch.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.batch.lotNumber", + "path": "Medication.product.batch.lotNumber", + "short": "Identifier assigned to batch", + "definition": "The assigned lot number of a batch of the specified product.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" + }, + { + "identity": "rim", + "map": "Not Mapped" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.batch.expirationDate", + "path": "Medication.product.batch.expirationDate", + "short": "When batch will expire", + "definition": "When this specific batch of product will expire.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "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" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package", + "path": "Medication.package", + "short": "Details about packaged medications", + "definition": "Information that only applies to packages (not products).", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player[classCode=CONT]" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.id", + "path": "Medication.package.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.extension", + "path": "Medication.package.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.modifierExtension", + "path": "Medication.package.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.container", + "path": "Medication.package.container", + "short": "E.g. box, vial, blister-pack", + "definition": "The kind of container that this package comes as.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept defining the kind of container a medication package is packaged in", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-package-form-codes" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content", + "path": "Medication.package.content", + "short": "What is in the package", + "definition": "A set of components that go to make up the described item.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".scopesRole[typeCode=CONT]" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content.id", + "path": "Medication.package.content.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content.extension", + "path": "Medication.package.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content.modifierExtension", + "path": "Medication.package.content.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content.item[x]", + "path": "Medication.package.content.item[x]", + "short": "The item in the package", + "definition": "Identifies one of the items in the package.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.package.content.amount", + "path": "Medication.package.content.amount", + "short": "Quantity present in the package", + "definition": "The amount of the product that is in the package.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Medication:shr-medication-Medication", + "path": "Medication", + "short": "SHR Medication Profile", + "definition": "A type of prescription drug or over-the-counter drug that is used to prevent, treat, or relieve symptoms of a disease or abnormal condition, but excluding vaccines." + }, + { + "id": "Medication:shr-medication-Medication.extension:overthecounter", + "path": "Medication.extension", + "sliceName": "overthecounter", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Medication:shr-medication-Medication.code", + "path": "Medication.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product", + "path": "Medication.product" + }, + { + "id": "Medication:shr-medication-Medication.product.form", + "path": "Medication.product.form", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient", + "path": "Medication.product.ingredient" + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.item[x]", + "path": "Medication.product.ingredient.item[x]", + "slicing": { + "id": "179", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Medication:shr-medication-Medication.product.ingredient.itemCodeableConcept:shr-core-CodeableConcept", + "path": "Medication.product.ingredient.itemCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json new file mode 100755 index 0000000..ee3aebf --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationAfterChange-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationAfterChange-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationAfterChange Extension

\n

A medication taken, after the change.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationAfterChange" + } + ], + "name": "SHR MedicationAfterChange Extension", + "title": "SHR MedicationAfterChange Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.291Z", + "description": "A medication taken, after the change.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:medicationafterchange", + "path": "Extension", + "short": "SHR MedicationAfterChange Extension", + "definition": "A medication taken, after the change.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:medicationafterchange.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationafterchange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:medicationafterchange.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationafterchange.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:medicationafterchange", + "path": "Extension", + "short": "SHR MedicationAfterChange Extension", + "definition": "A medication taken, after the change.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:medicationafterchange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:medicationafterchange.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension" + }, + { + "id": "Extension:medicationafterchange.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json new file mode 100755 index 0000000..46c6dda --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationBeforeChange-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationBeforeChange-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationBeforeChange Extension

\n

The medication taken, prior to the change.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationBeforeChange" + } + ], + "name": "SHR MedicationBeforeChange Extension", + "title": "SHR MedicationBeforeChange Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.291Z", + "description": "The medication taken, prior to the change.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:medicationbeforechange", + "path": "Extension", + "short": "SHR MedicationBeforeChange Extension", + "definition": "The medication taken, prior to the change.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:medicationbeforechange.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationbeforechange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:medicationbeforechange.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationbeforechange.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:medicationbeforechange", + "path": "Extension", + "short": "SHR MedicationBeforeChange Extension", + "definition": "The medication taken, prior to the change.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:medicationbeforechange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:medicationbeforechange.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension" + }, + { + "id": "Extension:medicationbeforechange.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json new file mode 100755 index 0000000..4a3184b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationChange.json @@ -0,0 +1,693 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationChange", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationChange Profile

\n

Description of a modification or change of a medication or dosage.

\n

SHR Mapping Summary

\n

shr.medication.MedicationChange maps to Basic:\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationChange" + } + ], + "name": "SHR MedicationChange Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.291Z", + "description": "Description of a modification or change of a medication or dosage.", + "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Basic", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Basic:shr-medication-MedicationChange", + "path": "Basic", + "short": "SHR MedicationChange Profile", + "definition": "Description of a modification or change of a medication or dosage.", + "alias": [ + "Z-resource", + "Extension-resource", + "Custom-resource" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Act, Entity or Role" + }, + { + "identity": "w5", + "map": "infrastructure.structure" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.id", + "path": "Basic.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-medication-MedicationChange.meta", + "path": "Basic.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-medication-MedicationChange.implicitRules", + "path": "Basic.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Basic:shr-medication-MedicationChange.language", + "path": "Basic.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Basic:shr-medication-MedicationChange.text", + "path": "Basic.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.contained", + "path": "Basic.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.extension", + "path": "Basic.extension", + "slicing": { + "id": "189", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:effectivedate", + "path": "Basic.extension", + "sliceName": "effectivedate", + "definition": "The date when something is to take effect.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:typeofchange", + "path": "Basic.extension", + "sliceName": "typeofchange", + "definition": "Whether the change is a dose change, switch to a new medication, or discontinuation.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:medicationbeforechange", + "path": "Basic.extension", + "sliceName": "medicationbeforechange", + "definition": "The medication taken, prior to the change.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:medicationafterchange", + "path": "Basic.extension", + "sliceName": "medicationafterchange", + "definition": "A medication taken, after the change.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.modifierExtension", + "path": "Basic.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.identifier", + "path": "Basic.identifier", + "short": "Business identifier", + "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.code", + "path": "Basic.code", + "short": "Kind of Resource", + "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", + "comments": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.", + "requirements": "Must be able to distinguish different types of \"basic\" resources.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-medication-MedicationChange" + } + ] + }, + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes for identifying types of resources not yet defined by FHIR", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.subject", + "path": "Basic.subject", + "short": "Identifies the focus of this resource", + "definition": "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", + "comments": "Optional as not all resources potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.", + "requirements": "Needed for partitioning the resource by Patient.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.created", + "path": "Basic.created", + "short": "When created", + "definition": "Identifies when the resource was first created.", + "requirements": "Allows ordering resource instances by time.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Basic:shr-medication-MedicationChange.author", + "path": "Basic.author", + "short": "Who created", + "definition": "Indicates who was responsible for creating the resource instance.", + "requirements": "Needed for partitioning the resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SUB'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Basic:shr-medication-MedicationChange", + "path": "Basic", + "short": "SHR MedicationChange Profile", + "definition": "Description of a modification or change of a medication or dosage." + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:effectivedate", + "path": "Basic.extension", + "sliceName": "effectivedate", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:typeofchange", + "path": "Basic.extension", + "sliceName": "typeofchange", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:medicationbeforechange", + "path": "Basic.extension", + "sliceName": "medicationbeforechange", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Basic:shr-medication-MedicationChange.extension:medicationafterchange", + "path": "Basic.extension", + "sliceName": "medicationafterchange", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json new file mode 100755 index 0000000..56fe62d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotAdministered.json @@ -0,0 +1,799 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationNotAdministered", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationNotAdministered Profile

\n

A record of a medication NOT administered. Recorded when deviating from the care plan.

\n

SHR Mapping Summary

\n

shr.medication.MedicationNotAdministered maps to MedicationStatement:\n  Medication maps to medication[x].Reference\n  PeriodOfUse maps to effective[x].Period\n  Reason maps to reasonForUseCodeableConcept\n  MedicationNotUsedModifier maps to notTaken\n  MedicationNotUsedModifier.Reason maps to reasonNotTaken\n  Dosage.AmountPerDose.Quantity maps to dosage.dose[x].SimpleQuantity\n  Dosage.AmountPerDose.TBD "Range" maps to dosage.dose[x].Range\n  Dosage.TimingOfDoses maps to dosage.timing\n  Dosage.DoseAsNeededIndicator maps to dosage.asNeeded[x].boolean\n  Dosage.DoseInstructionsText maps to dosage.text\n  Dosage.AdditionalDoseInstruction maps to dosage.additionalInstructions\n  Dosage.RouteIntoBody maps to dosage.route\n  Dosage.AdministrationMethod maps to dosage.method\n  Dosage.AdministrationBodySite maps to dosage.site\n  Dosage.MaximumDosePerTimePeriod maps to dosage.maxDosePerPeriod\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotAdministered", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationNotAdministered" + } + ], + "name": "SHR MedicationNotAdministered Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.273Z", + "description": "A record of a medication NOT administered. Recorded when deviating from the care plan.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationStatement", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered", + "path": "MedicationStatement", + "short": "SHR MedicationNotAdministered Profile", + "definition": "A record of a medication NOT administered. Recorded when deviating from the care plan.", + "comments": "When interpreting a medicationStatement, the value of the status and NotTaken needed to be considered:\rMedicationStatement.status + MedicationStatement.wasNotTaken\rStatus=Active + NotTaken=T = Not currently taking\rStatus=Completed + NotTaken=T = Not taken in the past\rStatus=Intended + NotTaken=T = No intention of taking\rStatus=Active + NotTaken=F = Taking, but not as prescribed\rStatus=Active + NotTaken=F = Taking\rStatus=Intended +NotTaken= F = Will be taking (not started)\rStatus=Completed + NotTaken=F = Taken in past\rStatus=In Error + NotTaken=N/A = In Error.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "mst-1", + "severity": "error", + "human": "Reason not taken is only permitted if notTaken is Yes", + "expression": "reasonNotTaken.empty() or notTaken='y'", + "xpath": "not(exists(f:reasonNotTaken) and (f:notTaken/@value='n' or f:notTaken/@value='unk'))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.id", + "path": "MedicationStatement.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.meta", + "path": "MedicationStatement.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.implicitRules", + "path": "MedicationStatement.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.language", + "path": "MedicationStatement.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.text", + "path": "MedicationStatement.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.contained", + "path": "MedicationStatement.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.extension", + "path": "MedicationStatement.extension", + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.modifierExtension", + "path": "MedicationStatement.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.identifier", + "path": "MedicationStatement.identifier", + "short": "External identifier", + "definition": "External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.status", + "path": "MedicationStatement.status", + "short": "active | completed | entered-in-error | intended | stopped | on-hold", + "definition": "A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally this will be active or completed.", + "comments": "MedicationStatement is a statement at a point in time. The status is only representative at the point when it was asserted. The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept indicating the current status of a MedicationStatement.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.medication[x]", + "path": "MedicationStatement.medication[x]", + "short": "What medication was taken", + "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", + "comments": "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. Note: do not use Medication.name to describe the medication this statement concerns. When the only available information is a text description of the medication, Medication.code.text should be used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying the substance or product being taken.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest.consumable" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.subject", + "path": "MedicationStatement.subject", + "short": "Who is/was taking the medication", + "definition": "The person, animal or group who is/was taking the medication.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "SubstanceAdministration->subject->Patient" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.effective[x]", + "path": "MedicationStatement.effective[x]", + "short": "Over what period was medication consumed?", + "definition": "The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the wasNotGiven element is true).", + "comments": "If the medication is still being taken at the time the statement is recorded, the \"end\" date will be omitted.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.informationSource", + "path": "MedicationStatement.informationSource", + "short": "Person or organization that provided the information about the taking of this medication", + "definition": "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g Claim or MedicationRequest.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.derivedFrom", + "path": "MedicationStatement.derivedFrom", + "short": "Additional supporting information", + "definition": "Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement.", + "comments": "Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.dateAsserted", + "path": "MedicationStatement.dateAsserted", + "short": "When the statement was asserted?", + "definition": "The date when the medication statement was asserted by the information source.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.notTaken", + "path": "MedicationStatement.notTaken", + "short": "y | n | unk", + "definition": "Indicator of the certainty of whether the medication was taken by the patient.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept identifying level of certainty if patient has taken or has not taken the medication", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-nottaken" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.reasonNotTaken", + "path": "MedicationStatement.reasonNotTaken", + "short": "True if asserting medication was not given", + "definition": "A code indicating why the medication was not taken.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "mst-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration->Reason->Observation->Value" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.reasonForUseCodeableConcept", + "path": "MedicationStatement.reasonForUseCodeableConcept", + "short": "Reason for why the medication is being/was taken", + "definition": "A reason for why the medication is being/was taken.", + "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying why the medication is being taken.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.reasonForUseReference", + "path": "MedicationStatement.reasonForUseReference", + "short": "Condition or observation that supports why the medication is being/was taken", + "definition": "Condition or observation that supports why the medication is being/was taken.", + "comments": "This is a reference to a condition that is the reason why the medication is being/was taken. If only a code exists, use reasonForUseCode.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.note", + "path": "MedicationStatement.note", + "short": "Further information about the statement", + "definition": "Provides extra information about the medication statement that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.category", + "path": "MedicationStatement.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication statement and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.dosage", + "path": "MedicationStatement.dosage", + "short": "Details of how medication was taken", + "definition": "Indicates how the medication is/was used by the patient.", + "min": 0, + "max": "*", + "type": [ + { + "code": "DosageInstruction" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered", + "path": "MedicationStatement", + "short": "SHR MedicationNotAdministered Profile", + "definition": "A record of a medication NOT administered. Recorded when deviating from the care plan." + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.medication[x]", + "path": "MedicationStatement.medication[x]", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.effective[x]", + "path": "MedicationStatement.effective[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.notTaken", + "path": "MedicationStatement.notTaken", + "min": 1, + "max": "1" + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.reasonNotTaken", + "path": "MedicationStatement.reasonNotTaken", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationNotAdministered.reasonForUseCodeableConcept", + "path": "MedicationStatement.reasonForUseCodeableConcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json new file mode 100755 index 0000000..6a795ed --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribed.json @@ -0,0 +1,2239 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationNotPrescribed", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationNotPrescribed Profile

\n

A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care.

\n

SHR Mapping Summary

\n

shr.medication.MedicationNotPrescribed maps to MedicationRequest:\n  Medication maps to medication[x].Reference\n  Reason maps to reasonCode\n  RequestStatus maps to status\n  RequestedPerformanceTime maps to dispenseRequest.validityPeriod\n  RequestedPerformer.Organization maps to dispenseRequest.performer\n  PerformerInstructions maps to note.text\n  NumberOfRepeatsAllowed maps to dispenseRequest.numberOfRepeatsAllowed\n  QuantityPerDispense maps to dispenseRequest.quantity\n  SupplyDuration maps to dispenseRequest.expectedSupplyDuration\n  Dosage.AmountPerDose.Quantity maps to dosageInstruction.dose[x].SimpleQuantity\n  Dosage.AmountPerDose.TBD "Range" maps to dosageInstruction.dose[x].Range\n  Dosage.TimingOfDoses maps to dosageInstruction.timing\n  Dosage.DoseAsNeededIndicator maps to dosageInstruction.asNeeded[x].boolean\n  Dosage.DoseInstructionsText maps to dosageInstruction.text\n  Dosage.AdditionalDoseInstruction maps to dosageInstruction.additionalInstructions\n  Dosage.RouteIntoBody maps to dosageInstruction.route\n  Dosage.AdministrationMethod maps to dosageInstruction.method\n  Dosage.AdministrationBodySite maps to dosageInstruction.site\n  Dosage.MaximumDosePerTimePeriod maps to dosageInstruction.maxDosePerPeriod\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationNotPrescribed" + } + ], + "name": "SHR MedicationNotPrescribed Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.286Z", + "description": "A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-medication-MedicationNotPrescribed", + "path": "MedicationRequest", + "short": "SHR MedicationNotPrescribed Profile", + "definition": "A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care.", + "alias": [ + "Prescription", + "Order" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension", + "path": "MedicationRequest.extension", + "slicing": { + "id": "187", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:actioncode", + "path": "MedicationRequest.extension", + "sliceName": "actioncode", + "definition": "The code for the action, such as an intervention or test, to be carried out.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:occurrencetime", + "path": "MedicationRequest.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:participant", + "path": "MedicationRequest.extension", + "sliceName": "participant", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:priorityofrequest", + "path": "MedicationRequest.extension", + "sliceName": "priorityofrequest", + "definition": "Urgency level for which results must be reported to the requestor or responsible individual.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:patientinstructions", + "path": "MedicationRequest.extension", + "sliceName": "patientinstructions", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension", + "path": "MedicationRequest.modifierExtension", + "slicing": { + "id": "188", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:nonoccurrencemodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "medicationnotprescribedmodifier", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.id", + "path": "MedicationRequest.modifierExtension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension", + "path": "MedicationRequest.modifierExtension.extension", + "slicing": { + "id": "184", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:boolean", + "path": "MedicationRequest.modifierExtension.extension", + "sliceName": "boolean", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:boolean.id", + "path": "MedicationRequest.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:boolean.extension:extension", + "path": "MedicationRequest.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:boolean.url", + "path": "MedicationRequest.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:boolean.valueBoolean", + "path": "MedicationRequest.modifierExtension.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:reason", + "path": "MedicationRequest.modifierExtension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:reason.id", + "path": "MedicationRequest.modifierExtension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:reason.extension:extension", + "path": "MedicationRequest.modifierExtension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:reason.url", + "path": "MedicationRequest.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.extension:reason.value[x]", + "path": "MedicationRequest.modifierExtension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.url", + "path": "MedicationRequest.modifierExtension.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier.value[x]", + "path": "MedicationRequest.modifierExtension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.identifier", + "path": "MedicationRequest.identifier", + "short": "External identifier", + "definition": "External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.definition", + "path": "MedicationRequest.definition", + "short": "Protocol or definition", + "definition": "Protocol or definition followed by this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "Plan/proposal/order fulfilled by this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.requisition", + "path": "MedicationRequest.requisition", + "short": "Identifier of composite", + "definition": "Composite request this is part of.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft", + "definition": "A code specifying the state of the order. Generally this will be active or completed state.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-status" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.stage", + "path": "MedicationRequest.stage", + "short": "proposal | plan | original-order", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comments": "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.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "The kind of medication order", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-stage" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being administered. 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.", + "comments": "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. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying substance or product that can be ordered.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-codes" + } + }, + "mapping": [ + { + "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": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.patient", + "path": "MedicationRequest.patient", + "short": "Who prescription is for", + "definition": "A link to a resource representing the person to whom the medication will be given.", + "comments": "The patient on a medicationRequest is mandatory. For the secondary use case where the actual patient is not provided, there still must be an anonymyzed patient specified.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "subject.role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.context", + "path": "MedicationRequest.context", + "short": "Created during encounter/admission/stay", + "definition": "A link to a resource that identifies the particular occurrence or set oc occurences of contact between patient and health care provider.", + "comments": "SubstanceAdministration->component->EncounterEvent.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": "componentOf.patientEncounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dateWritten", + "path": "MedicationRequest.dateWritten", + "short": "When prescription was initially authorized", + "definition": "The date (and perhaps time) when the prescription was initially written.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.requester", + "path": "MedicationRequest.requester", + "short": "Who ordered the initial medication(s)", + "definition": "The healthcare professional responsible for authorizing the initial prescription.", + "comments": "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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Prescriber\r\r(need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)" + }, + { + "identity": "rim", + "map": "author.role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for writing the prescription", + "definition": "Can be the reason or the indication for writing the prescription.", + "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "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" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or Observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the prescription is being written.", + "comments": "This is a reference to a condition that is the reason for the medication order. If only a code exists, use reasonCode.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-medication-MedicationNotPrescribed.category", + "path": "MedicationRequest.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication order and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-category" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "min": 0, + "max": "*", + "type": [ + { + "code": "DosageInstruction" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). 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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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).", + "comments": "It reflects the prescriber 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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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.", + "comments": "If displaying \"number of authorized fills\", add 1 to this number.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "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:shr-medication-MedicationNotPrescribed.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.", + "comments": "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", + "type": [ + { + "code": "Duration", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "short": "Intended dispenser", + "definition": "Indicates the intended dispensing Organization specified by the prescriber.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "who" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.substitution.modifierExtension", + "path": "MedicationRequest.substitution.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.substitution.allowed", + "path": "MedicationRequest.substitution.allowed", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "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:shr-medication-MedicationNotPrescribed.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that this supersedes", + "definition": "A link to a resource representing an earlier order related order or prescription.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "A summary of the events of interest that have occurred as the request is processed; e.g. when the order was verified or when it was completed.", + "comments": "See usage notes in Request pattern in request history.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed", + "path": "MedicationRequest", + "short": "SHR MedicationNotPrescribed Profile", + "definition": "A record of a medication NOT prescribed. Recorded only when deviating from the normal expectation, care plan, or standard of care." + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:actioncode", + "path": "MedicationRequest.extension", + "sliceName": "actioncode", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:occurrencetime", + "path": "MedicationRequest.extension", + "sliceName": "occurrencetime", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:participant", + "path": "MedicationRequest.extension", + "sliceName": "participant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:priorityofrequest", + "path": "MedicationRequest.extension", + "sliceName": "priorityofrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.extension:patientinstructions", + "path": "MedicationRequest.extension", + "sliceName": "patientinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:nonoccurrencemodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.modifierExtension:medicationnotprescribedmodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "medicationnotprescribedmodifier", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.status", + "path": "MedicationRequest.status", + "min": 1, + "max": "1" + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.medication[x]", + "path": "MedicationRequest.medication[x]", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.reasonCode", + "path": "MedicationRequest.reasonCode", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest", + "path": "MedicationRequest.dispenseRequest" + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.validityPeriod", + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.quantity", + "path": "MedicationRequest.dispenseRequest.quantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.expectedSupplyDuration", + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "type": [ + { + "code": "Duration", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationNotPrescribed.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json new file mode 100755 index 0000000..835e556 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json @@ -0,0 +1,519 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationNotPrescribedModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationNotPrescribedModifier Extension

\n

True, if the medication should not, or was not prescribed for a particular reason.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationNotPrescribedModifier" + } + ], + "name": "SHR MedicationNotPrescribedModifier Extension", + "title": "SHR MedicationNotPrescribedModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.282Z", + "description": "True, if the medication should not, or was not prescribed for a particular reason.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:medicationnotprescribedmodifier", + "path": "Extension", + "short": "SHR MedicationNotPrescribedModifier Extension", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension", + "path": "Extension.extension", + "slicing": { + "id": "184", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason.extension:extension", + "path": "Extension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:medicationnotprescribedmodifier", + "path": "Extension", + "short": "SHR MedicationNotPrescribedModifier Extension", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:medicationnotprescribedmodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + } + }, + { + "id": "Extension:medicationnotprescribedmodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension" + }, + { + "id": "Extension:medicationnotprescribedmodifier.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json new file mode 100755 index 0000000..59991d0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationPrescription.json @@ -0,0 +1,1760 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationPrescription", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationPrescription Profile

\n

Report of a medication prescription.

\n

SHR Mapping Summary

\n

shr.medication.MedicationPrescription maps to MedicationRequest:\n  Medication maps to medication[x].Reference\n  Reason maps to reasonCode\n  RequestStatus maps to status\n  RequestedPerformanceTime maps to dispenseRequest.validityPeriod\n  RequestedPerformer.Organization maps to dispenseRequest.performer\n  PerformerInstructions maps to note.text\n  NumberOfRepeatsAllowed maps to dispenseRequest.numberOfRepeatsAllowed\n  QuantityPerDispense maps to dispenseRequest.quantity\n  SupplyDuration maps to dispenseRequest.expectedSupplyDuration\n  Dosage.AmountPerDose.Quantity maps to dosageInstruction.dose[x].SimpleQuantity\n  Dosage.AmountPerDose.TBD "Range" maps to dosageInstruction.dose[x].Range\n  Dosage.TimingOfDoses maps to dosageInstruction.timing\n  Dosage.DoseAsNeededIndicator maps to dosageInstruction.asNeeded[x].boolean\n  Dosage.DoseInstructionsText maps to dosageInstruction.text\n  Dosage.AdditionalDoseInstruction maps to dosageInstruction.additionalInstructions\n  Dosage.RouteIntoBody maps to dosageInstruction.route\n  Dosage.AdministrationMethod maps to dosageInstruction.method\n  Dosage.AdministrationBodySite maps to dosageInstruction.site\n  Dosage.MaximumDosePerTimePeriod maps to dosageInstruction.maxDosePerPeriod\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationPrescription", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationPrescription" + } + ], + "name": "SHR MedicationPrescription Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.279Z", + "description": "Report of a medication prescription.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 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:shr-medication-MedicationPrescription", + "path": "MedicationRequest", + "short": "SHR MedicationPrescription Profile", + "definition": "Report of a medication prescription.", + "alias": [ + "Prescription", + "Order" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension", + "path": "MedicationRequest.extension", + "slicing": { + "id": "185", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:actioncode", + "path": "MedicationRequest.extension", + "sliceName": "actioncode", + "definition": "The code for the action, such as an intervention or test, to be carried out.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:occurrencetime", + "path": "MedicationRequest.extension", + "sliceName": "occurrencetime", + "definition": "The point in time or span of time in which something happens.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:participant", + "path": "MedicationRequest.extension", + "sliceName": "participant", + "definition": "A statement about an actor who did (or did not) participate in a certain task or activity. Unlike a HealthcareInvolvement which continues over period of time, the participant is associated with doing or not doing a specific task, such admitting a patient, performing a procedure, or taking a measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:priorityofrequest", + "path": "MedicationRequest.extension", + "sliceName": "priorityofrequest", + "definition": "Urgency level for which results must be reported to the requestor or responsible individual.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:patientinstructions", + "path": "MedicationRequest.extension", + "sliceName": "patientinstructions", + "definition": "Information for the patient, such as, where to get the test, how to prepare for the test, etc.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension", + "path": "MedicationRequest.modifierExtension", + "slicing": { + "id": "186", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:nonoccurrencemodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:medicationnotprescribedmodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "medicationnotprescribedmodifier", + "definition": "True, if the medication should not, or was not prescribed for a particular reason.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.identifier", + "path": "MedicationRequest.identifier", + "short": "External identifier", + "definition": "External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.definition", + "path": "MedicationRequest.definition", + "short": "Protocol or definition", + "definition": "Protocol or definition followed by this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "Plan/proposal/order fulfilled by this request.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.requisition", + "path": "MedicationRequest.requisition", + "short": "Identifier of composite", + "definition": "Composite request this is part of.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft", + "definition": "A code specifying the state of the order. Generally this will be active or completed state.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept specifying the state of the prescribing event. Describes the lifecycle of the prescription", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-status" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.stage", + "path": "MedicationRequest.stage", + "short": "proposal | plan | original-order", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comments": "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.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "The kind of medication order", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-stage" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being administered. 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.", + "comments": "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. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying substance or product that can be ordered.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-codes" + } + }, + "mapping": [ + { + "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": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.patient", + "path": "MedicationRequest.patient", + "short": "Who prescription is for", + "definition": "A link to a resource representing the person to whom the medication will be given.", + "comments": "The patient on a medicationRequest is mandatory. For the secondary use case where the actual patient is not provided, there still must be an anonymyzed patient specified.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient\r\r(need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "subject.role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.context", + "path": "MedicationRequest.context", + "short": "Created during encounter/admission/stay", + "definition": "A link to a resource that identifies the particular occurrence or set oc occurences of contact between patient and health care provider.", + "comments": "SubstanceAdministration->component->EncounterEvent.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": "componentOf.patientEncounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dateWritten", + "path": "MedicationRequest.dateWritten", + "short": "When prescription was initially authorized", + "definition": "The date (and perhaps time) when the prescription was initially written.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.requester", + "path": "MedicationRequest.requester", + "short": "Who ordered the initial medication(s)", + "definition": "The healthcare professional responsible for authorizing the initial prescription.", + "comments": "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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Prescriber\r\r(need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)" + }, + { + "identity": "rim", + "map": "author.role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for writing the prescription", + "definition": "Can be the reason or the indication for writing the prescription.", + "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonReference.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "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" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or Observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the prescription is being written.", + "comments": "This is a reference to a condition that is the reason for the medication order. If only a code exists, use reasonCode.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-medication-MedicationPrescription.category", + "path": "MedicationRequest.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication order and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-category" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions\r\ror \r\rMessage/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "min": 0, + "max": "*", + "type": [ + { + "code": "DosageInstruction" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). 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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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).", + "comments": "It reflects the prescriber 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", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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.", + "comments": "If displaying \"number of authorized fills\", add 1 to this number.", + "min": 0, + "max": "1", + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "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:shr-medication-MedicationPrescription.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.", + "comments": "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", + "type": [ + { + "code": "Duration", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "short": "Intended dispenser", + "definition": "Indicates the intended dispensing Organization specified by the prescriber.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "who" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.", + "min": 0, + "max": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.modifierExtension", + "path": "MedicationRequest.substitution.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.substitution.allowed", + "path": "MedicationRequest.substitution.allowed", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "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:shr-medication-MedicationPrescription.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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that this supersedes", + "definition": "A link to a resource representing an earlier order related order or prescription.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "A summary of the events of interest that have occurred as the request is processed; e.g. when the order was verified or when it was completed.", + "comments": "See usage notes in Request pattern in request history.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest:shr-medication-MedicationPrescription", + "path": "MedicationRequest", + "short": "SHR MedicationPrescription Profile", + "definition": "Report of a medication prescription." + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:actioncode", + "path": "MedicationRequest.extension", + "sliceName": "actioncode", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:occurrencetime", + "path": "MedicationRequest.extension", + "sliceName": "occurrencetime", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:participant", + "path": "MedicationRequest.extension", + "sliceName": "participant", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:priorityofrequest", + "path": "MedicationRequest.extension", + "sliceName": "priorityofrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.extension:patientinstructions", + "path": "MedicationRequest.extension", + "sliceName": "patientinstructions", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:nonoccurrencemodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.modifierExtension:medicationnotprescribedmodifier", + "path": "MedicationRequest.modifierExtension", + "sliceName": "medicationnotprescribedmodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.status", + "path": "MedicationRequest.status", + "min": 1, + "max": "1" + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.medication[x]", + "path": "MedicationRequest.medication[x]", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.reasonCode", + "path": "MedicationRequest.reasonCode", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest", + "path": "MedicationRequest.dispenseRequest" + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.validityPeriod", + "path": "MedicationRequest.dispenseRequest.validityPeriod", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.quantity", + "path": "MedicationRequest.dispenseRequest.quantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.expectedSupplyDuration", + "path": "MedicationRequest.dispenseRequest.expectedSupplyDuration", + "type": [ + { + "code": "Duration", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration" + } + ] + }, + { + "id": "MedicationRequest:shr-medication-MedicationPrescription.dispenseRequest.performer", + "path": "MedicationRequest.dispenseRequest.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json new file mode 100755 index 0000000..f0feed0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-MedicationUse.json @@ -0,0 +1,849 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-MedicationUse", + "text": { + "status": "generated", + "div": "
\n

SHR MedicationUse Profile

\n

Report of a medication used (or not used). Medication use is either reported, directly observed, or inferred from clinical events associated with orders, prescriptions written, pharmacy dispensings, procedural administrations, and other patient-reported information.

\n

SHR Mapping Summary

\n

shr.medication.MedicationUse maps to MedicationStatement:\n  Medication maps to medication[x].Reference\n  PeriodOfUse maps to effective[x].Period\n  Reason maps to reasonForUseCodeableConcept\n  MedicationNotUsedModifier maps to notTaken\n  MedicationNotUsedModifier.Reason maps to reasonNotTaken\n  Dosage.AmountPerDose.Quantity maps to dosage.dose[x].SimpleQuantity\n  Dosage.AmountPerDose.TBD "Range" maps to dosage.dose[x].Range\n  Dosage.TimingOfDoses maps to dosage.timing\n  Dosage.DoseAsNeededIndicator maps to dosage.asNeeded[x].boolean\n  Dosage.DoseInstructionsText maps to dosage.text\n  Dosage.AdditionalDoseInstruction maps to dosage.additionalInstructions\n  Dosage.RouteIntoBody maps to dosage.route\n  Dosage.AdministrationMethod maps to dosage.method\n  Dosage.AdministrationBodySite maps to dosage.site\n  Dosage.MaximumDosePerTimePeriod maps to dosage.maxDosePerPeriod\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationUse" + } + ], + "name": "SHR MedicationUse Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.270Z", + "description": "Report of a medication used (or not used). Medication use is either reported, directly observed, or inferred from clinical events associated with orders, prescriptions written, pharmacy dispensings, procedural administrations, and other patient-reported information.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationStatement", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationStatement:shr-medication-MedicationUse", + "path": "MedicationStatement", + "short": "SHR MedicationUse Profile", + "definition": "Report of a medication used (or not used). Medication use is either reported, directly observed, or inferred from clinical events associated with orders, prescriptions written, pharmacy dispensings, procedural administrations, and other patient-reported information.", + "comments": "When interpreting a medicationStatement, the value of the status and NotTaken needed to be considered:\rMedicationStatement.status + MedicationStatement.wasNotTaken\rStatus=Active + NotTaken=T = Not currently taking\rStatus=Completed + NotTaken=T = Not taken in the past\rStatus=Intended + NotTaken=T = No intention of taking\rStatus=Active + NotTaken=F = Taking, but not as prescribed\rStatus=Active + NotTaken=F = Taking\rStatus=Intended +NotTaken= F = Will be taking (not started)\rStatus=Completed + NotTaken=F = Taken in past\rStatus=In Error + NotTaken=N/A = In Error.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "mst-1", + "severity": "error", + "human": "Reason not taken is only permitted if notTaken is Yes", + "expression": "reasonNotTaken.empty() or notTaken='y'", + "xpath": "not(exists(f:reasonNotTaken) and (f:notTaken/@value='n' or f:notTaken/@value='unk'))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.id", + "path": "MedicationStatement.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.meta", + "path": "MedicationStatement.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.implicitRules", + "path": "MedicationStatement.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.language", + "path": "MedicationStatement.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.text", + "path": "MedicationStatement.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.contained", + "path": "MedicationStatement.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.extension", + "path": "MedicationStatement.extension", + "slicing": { + "id": "182", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.extension:adherence", + "path": "MedicationStatement.extension", + "sliceName": "adherence", + "definition": "A statement of the ability and cooperation of the patient in taking medicine or supplement as recommended or prescribed. This includes correct timing, dosage, and frequency.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.modifierExtension", + "path": "MedicationStatement.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.identifier", + "path": "MedicationStatement.identifier", + "short": "External identifier", + "definition": "External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.status", + "path": "MedicationStatement.status", + "short": "active | completed | entered-in-error | intended | stopped | on-hold", + "definition": "A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally this will be active or completed.", + "comments": "MedicationStatement is a statement at a point in time. The status is only representative at the point when it was asserted. The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept indicating the current status of a MedicationStatement.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.medication[x]", + "path": "MedicationStatement.medication[x]", + "short": "What medication was taken", + "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", + "comments": "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. Note: do not use Medication.name to describe the medication this statement concerns. When the only available information is a text description of the medication, Medication.code.text should be used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A coded concept identifying the substance or product being taken.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest.consumable" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.subject", + "path": "MedicationStatement.subject", + "short": "Who is/was taking the medication", + "definition": "The person, animal or group who is/was taking the medication.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "SubstanceAdministration->subject->Patient" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.effective[x]", + "path": "MedicationStatement.effective[x]", + "short": "Over what period was medication consumed?", + "definition": "The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the wasNotGiven element is true).", + "comments": "If the medication is still being taken at the time the statement is recorded, the \"end\" date will be omitted.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.informationSource", + "path": "MedicationStatement.informationSource", + "short": "Person or organization that provided the information about the taking of this medication", + "definition": "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g Claim or MedicationRequest.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.derivedFrom", + "path": "MedicationStatement.derivedFrom", + "short": "Additional supporting information", + "definition": "Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement.", + "comments": "Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.dateAsserted", + "path": "MedicationStatement.dateAsserted", + "short": "When the statement was asserted?", + "definition": "The date when the medication statement was asserted by the information source.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.notTaken", + "path": "MedicationStatement.notTaken", + "short": "y | n | unk", + "definition": "Indicator of the certainty of whether the medication was taken by the patient.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept identifying level of certainty if patient has taken or has not taken the medication", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-nottaken" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.reasonNotTaken", + "path": "MedicationStatement.reasonNotTaken", + "short": "True if asserting medication was not given", + "definition": "A code indicating why the medication was not taken.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "mst-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration->Reason->Observation->Value" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.reasonForUseCodeableConcept", + "path": "MedicationStatement.reasonForUseCodeableConcept", + "short": "Reason for why the medication is being/was taken", + "definition": "A reason for why the medication is being/was taken.", + "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying why the medication is being taken.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.reasonForUseReference", + "path": "MedicationStatement.reasonForUseReference", + "short": "Condition or observation that supports why the medication is being/was taken", + "definition": "Condition or observation that supports why the medication is being/was taken.", + "comments": "This is a reference to a condition that is the reason why the medication is being/was taken. If only a code exists, use reasonForUseCode.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.note", + "path": "MedicationStatement.note", + "short": "Further information about the statement", + "definition": "Provides extra information about the medication statement that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.category", + "path": "MedicationStatement.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication statement and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.dosage", + "path": "MedicationStatement.dosage", + "short": "Details of how medication was taken", + "definition": "Indicates how the medication is/was used by the patient.", + "min": 0, + "max": "*", + "type": [ + { + "code": "DosageInstruction" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationStatement:shr-medication-MedicationUse", + "path": "MedicationStatement", + "short": "SHR MedicationUse Profile", + "definition": "Report of a medication used (or not used). Medication use is either reported, directly observed, or inferred from clinical events associated with orders, prescriptions written, pharmacy dispensings, procedural administrations, and other patient-reported information." + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.extension:adherence", + "path": "MedicationStatement.extension", + "sliceName": "adherence", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.medication[x]", + "path": "MedicationStatement.medication[x]", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.effective[x]", + "path": "MedicationStatement.effective[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ] + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.reasonNotTaken", + "path": "MedicationStatement.reasonNotTaken", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS" + } + } + }, + { + "id": "MedicationStatement:shr-medication-MedicationUse.reasonForUseCodeableConcept", + "path": "MedicationStatement.reasonForUseCodeableConcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json new file mode 100755 index 0000000..60bd955 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-NonAdherenceReason-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-NonAdherenceReason-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NonAdherenceReason Extension

\n

Reason for not following the stated treatment plan, prescription, or protocol.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.NonAdherenceReason" + } + ], + "name": "SHR NonAdherenceReason Extension", + "title": "SHR NonAdherenceReason Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.271Z", + "description": "Reason for not following the stated treatment plan, prescription, or protocol.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:nonadherencereason", + "path": "Extension", + "short": "SHR NonAdherenceReason Extension", + "definition": "Reason for not following the stated treatment plan, prescription, or protocol.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:nonadherencereason.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonadherencereason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:nonadherencereason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:nonadherencereason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationNonAdherenceReasonVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:nonadherencereason", + "path": "Extension", + "short": "SHR NonAdherenceReason Extension", + "definition": "Reason for not following the stated treatment plan, prescription, or protocol.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:nonadherencereason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:nonadherencereason.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension" + }, + { + "id": "Extension:nonadherencereason.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationNonAdherenceReasonVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-OverTheCounter-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-OverTheCounter-extension.json new file mode 100755 index 0000000..875f6b7 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-OverTheCounter-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-OverTheCounter-extension", + "text": { + "status": "generated", + "div": "
\n

SHR OverTheCounter Extension

\n

True if the medication is available to consumers without a prescription.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.OverTheCounter" + } + ], + "name": "SHR OverTheCounter Extension", + "title": "SHR OverTheCounter Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.268Z", + "description": "True if the medication is available to consumers without a prescription.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:overthecounter", + "path": "Extension", + "short": "SHR OverTheCounter Extension", + "definition": "True if the medication is available to consumers without a prescription.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:overthecounter.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:overthecounter.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:overthecounter.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:overthecounter.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:overthecounter", + "path": "Extension", + "short": "SHR OverTheCounter Extension", + "definition": "True if the medication is available to consumers without a prescription.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:overthecounter.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:overthecounter.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension" + }, + { + "id": "Extension:overthecounter.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json new file mode 100755 index 0000000..ee519f5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-RouteIntoBody-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-RouteIntoBody-extension", + "text": { + "status": "generated", + "div": "
\n

SHR RouteIntoBody Extension

\n

The way a substance enters an organism after contact, particularly, the route of drug administration.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.RouteIntoBody" + } + ], + "name": "SHR RouteIntoBody Extension", + "title": "SHR RouteIntoBody Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.006Z", + "description": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:routeintobody", + "path": "Extension", + "short": "SHR RouteIntoBody Extension", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:routeintobody.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:routeintobody.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:routeintobody.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:routeintobody.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:routeintobody", + "path": "Extension", + "short": "SHR RouteIntoBody Extension", + "definition": "The way a substance enters an organism after contact, particularly, the route of drug administration.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:routeintobody.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:routeintobody.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension" + }, + { + "id": "Extension:routeintobody.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json new file mode 100755 index 0000000..b7eb67c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-medication-TypeOfChange-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-medication-TypeOfChange-extension", + "text": { + "status": "generated", + "div": "
\n

SHR TypeOfChange Extension

\n

Whether the change is a dose change, switch to a new medication, or discontinuation.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.TypeOfChange" + } + ], + "name": "SHR TypeOfChange Extension", + "title": "SHR TypeOfChange Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.291Z", + "description": "Whether the change is a dose change, switch to a new medication, or discontinuation.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:typeofchange", + "path": "Extension", + "short": "SHR TypeOfChange Extension", + "definition": "Whether the change is a dose change, switch to a new medication, or discontinuation.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:typeofchange.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:typeofchange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:typeofchange.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:typeofchange.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeTypeVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:typeofchange", + "path": "Extension", + "short": "SHR TypeOfChange Extension", + "definition": "Whether the change is a dose change, switch to a new medication, or discontinuation.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:typeofchange.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:typeofchange.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension" + }, + { + "id": "Extension:typeofchange.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeTypeVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json new file mode 100755 index 0000000..43ff924 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-CodeableConceptObservation.json @@ -0,0 +1,1950 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-CodeableConceptObservation", + "text": { + "status": "generated", + "div": "
\n

SHR CodeableConceptObservation Profile

\n

An observation whose value is a codeable concept

\n

SHR Mapping Summary

\n

shr.observation.CodeableConceptObservation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  CodeableConcept maps to value[x].CodeableConcept\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-CodeableConceptObservation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.CodeableConceptObservation" + } + ], + "name": "SHR CodeableConceptObservation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.968Z", + "description": "An observation whose value is a codeable concept", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-observation-CodeableConceptObservation", + "path": "Observation", + "short": "SHR CodeableConceptObservation Profile", + "definition": "An observation whose value is a codeable concept", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.extension", + "path": "Observation.extension", + "slicing": { + "id": "59", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "60", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-observation-CodeableConceptObservation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-observation-CodeableConceptObservation", + "path": "Observation", + "short": "SHR CodeableConceptObservation Profile", + "definition": "An observation whose value is a codeable concept" + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.value[x]", + "path": "Observation.value[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-CodeableConceptObservation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json new file mode 100755 index 0000000..dbd5b23 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-HistoryObservation.json @@ -0,0 +1,2168 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-HistoryObservation", + "text": { + "status": "generated", + "div": "
\n

SHR HistoryObservation Profile

\n

Captures some aspect of the life, health, or medical history of a subject.

\n

SHR Mapping Summary

\n

shr.observation.HistoryObservation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.HistoryObservation" + } + ], + "name": "SHR HistoryObservation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.974Z", + "description": "Captures some aspect of the life, health, or medical history of a subject.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-observation-HistoryObservation", + "path": "Observation", + "short": "SHR HistoryObservation Profile", + "definition": "Captures some aspect of the life, health, or medical history of a subject.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-HistoryObservation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-observation-HistoryObservation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-observation-HistoryObservation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension", + "path": "Observation.extension", + "slicing": { + "id": "63", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "64", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.category", + "path": "Observation.category", + "slicing": { + "id": "61", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-observation-HistoryObservation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-observation-HistoryObservation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-observation-HistoryObservation", + "path": "Observation", + "short": "SHR HistoryObservation Profile", + "definition": "Captures some aspect of the life, health, or medical history of a subject." + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-observation-HistoryObservation.category", + "path": "Observation.category", + "slicing": { + "id": "61", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-observation-HistoryObservation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-observation-HistoryObservation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-observation-HistoryObservation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json new file mode 100755 index 0000000..fcf35bb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-Observation.json @@ -0,0 +1,1964 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-Observation", + "text": { + "status": "generated", + "div": "
\n

SHR Observation Profile

\n

An act that is intended to result in new information about a subject. The focus of an observation can include the subject's behavior, physiological state, functional status, environment, exposures to substances, etc. The method of observing can be via direct questions, formal assessment vehicle, laboratory test, or imaging procedure.

\n

SHR Mapping Summary

\n

shr.observation.Observation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.Observation" + } + ], + "name": "SHR Observation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.960Z", + "description": "An act that is intended to result in new information about a subject. The focus of an observation can include the subject's behavior, physiological state, functional status, environment, exposures to substances, etc. The method of observing can be via direct questions, formal assessment vehicle, laboratory test, or imaging procedure.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-observation-Observation", + "path": "Observation", + "short": "SHR Observation Profile", + "definition": "An act that is intended to result in new information about a subject. The focus of an observation can include the subject's behavior, physiological state, functional status, environment, exposures to substances, etc. The method of observing can be via direct questions, formal assessment vehicle, laboratory test, or imaging procedure.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-observation-Observation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-observation-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.extension", + "path": "Observation.extension", + "slicing": { + "id": "57", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "58", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-observation-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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-observation-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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-observation-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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-observation-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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-observation-Observation", + "path": "Observation", + "short": "SHR Observation Profile", + "definition": "An act that is intended to result in new information about a subject. The focus of an observation can include the subject's behavior, physiological state, functional status, environment, exposures to substances, etc. The method of observing can be via direct questions, formal assessment vehicle, laboratory test, or imaging procedure." + }, + { + "id": "Observation:shr-observation-Observation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-Observation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-Observation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-observation-Observation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-observation-Observation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-observation-Observation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json new file mode 100755 index 0000000..b8b2364 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationCode-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-ObservationCode-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ObservationCode Extension

\n

A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationCode" + } + ], + "name": "SHR ObservationCode Extension", + "title": "SHR ObservationCode Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.041Z", + "description": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:observationcode", + "path": "Extension", + "short": "SHR ObservationCode Extension", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:observationcode.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationcode.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:observationcode.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationcode.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:observationcode", + "path": "Extension", + "short": "SHR ObservationCode Extension", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:observationcode.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:observationcode.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + }, + { + "id": "Extension:observationcode.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json new file mode 100755 index 0000000..5c49b33 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json @@ -0,0 +1,519 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-ObservationNonOccurrenceModifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ObservationNonOccurrenceModifier Extension

\n

True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationNonOccurrenceModifier" + } + ], + "name": "SHR ObservationNonOccurrenceModifier Extension", + "title": "SHR ObservationNonOccurrenceModifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.883Z", + "description": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:observationnonoccurrencemodifier", + "path": "Extension", + "short": "SHR ObservationNonOccurrenceModifier Extension", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension", + "path": "Extension.extension", + "slicing": { + "id": "26", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason.extension:extension", + "path": "Extension.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason.value[x]", + "path": "Extension.extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ObservationNotMadeReasonVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:observationnonoccurrencemodifier", + "path": "Extension", + "short": "SHR ObservationNonOccurrenceModifier Extension", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:observationnonoccurrencemodifier.extension:reason", + "path": "Extension.extension", + "sliceName": "reason", + "definition": "The justification for an action or non-action, conclusion, opinion, etc.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ObservationNotMadeReasonVS" + } + } + }, + { + "id": "Extension:observationnonoccurrencemodifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + }, + { + "id": "Extension:observationnonoccurrencemodifier.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json new file mode 100755 index 0000000..90aa008 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationQualifier-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-ObservationQualifier-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ObservationQualifier Extension

\n

A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationQualifier" + } + ], + "name": "SHR ObservationQualifier Extension", + "title": "SHR ObservationQualifier Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.884Z", + "description": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:observationqualifier", + "path": "Extension", + "short": "SHR ObservationQualifier Extension", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:observationqualifier.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationqualifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:observationqualifier.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationqualifier.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:observationqualifier", + "path": "Extension", + "short": "SHR ObservationQualifier Extension", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:observationqualifier.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:observationqualifier.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + }, + { + "id": "Extension:observationqualifier.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json new file mode 100755 index 0000000..d5bc12b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-ObservationReason-extension.json @@ -0,0 +1,224 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-ObservationReason-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ObservationReason Extension

\n

The reason for making the observation.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationReason" + } + ], + "name": "SHR ObservationReason Extension", + "title": "SHR ObservationReason Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.883Z", + "description": "The reason for making the observation.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:observationreason", + "path": "Extension", + "short": "SHR ObservationReason Extension", + "definition": "The reason for making the observation.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:observationreason.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationreason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:observationreason.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:observationreason.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:observationreason", + "path": "Extension", + "short": "SHR ObservationReason Extension", + "definition": "The reason for making the observation.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:observationreason.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:observationreason.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + }, + { + "id": "Extension:observationreason.value[x]", + "path": "Extension.value[x]", + "min": 1, + "type": [ + { + "code": "string" + }, + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json new file mode 100755 index 0000000..d7b723b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-Panel.json @@ -0,0 +1,1195 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-Panel", + "text": { + "status": "generated", + "div": "
\n

SHR Panel Profile

\n

A group of related observations, usually taken together. Typically the ObservationCategory and ObservationReason are not given for panel observations, but rather given at the level of the panel itself.

\n

SHR Mapping Summary

\n

shr.observation.Panel maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Panel", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.Panel" + } + ], + "name": "SHR Panel Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.980Z", + "description": "A group of related observations, usually taken together. Typically the ObservationCategory and ObservationReason are not given for panel observations, but rather given at the level of the panel itself.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-observation-Panel", + "path": "DiagnosticReport", + "short": "SHR Panel Profile", + "definition": "A group of related observations, usually taken together. Typically the ObservationCategory and ObservationReason are not given for panel observations, but rather given at the level of the panel itself.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-observation-Panel.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "65", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-observation-Panel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-observation-Panel.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-observation-Panel", + "path": "DiagnosticReport", + "short": "SHR Panel Profile", + "definition": "A group of related observations, usually taken together. Typically the ObservationCategory and ObservationReason are not given for panel observations, but rather given at the level of the panel itself." + }, + { + "id": "DiagnosticReport:shr-observation-Panel.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-observation-Panel.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-observation-Panel.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-observation-Panel.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-observation-Panel.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json b/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json new file mode 100755 index 0000000..209c71e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-observation-SocialHistory.json @@ -0,0 +1,2210 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-observation-SocialHistory", + "text": { + "status": "generated", + "div": "
\n

SHR SocialHistory Profile

\n

The external elements and conditions which surround, influence, and affect the life and development of the subject. Includes social conditions such as poverty, violence, bullying.

\n

SHR Mapping Summary

\n

shr.observation.SocialHistory maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.SocialHistory" + } + ], + "name": "SHR SocialHistory Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.987Z", + "description": "The external elements and conditions which surround, influence, and affect the life and development of the subject. Includes social conditions such as poverty, violence, bullying.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-observation-SocialHistory", + "path": "Observation", + "short": "SHR SocialHistory Profile", + "definition": "The external elements and conditions which surround, influence, and affect the life and development of the subject. Includes social conditions such as poverty, violence, bullying.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-SocialHistory.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-observation-SocialHistory.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-observation-SocialHistory.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension", + "path": "Observation.extension", + "slicing": { + "id": "67", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "definition": "Description of the place or type of surroundings where something is positioned or where an event takes place.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "definition": "A position, site, or point in space where something can be found.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "definition": "How many occurrences of an event per unit of time.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "68", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.category", + "path": "Observation.category", + "slicing": { + "id": "66", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.category:social-history", + "path": "Observation.category", + "sliceName": "social-history", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "social-history" + } + ] + } + }, + { + "id": "Observation:shr-observation-SocialHistory.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-observation-SocialHistory.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-observation-SocialHistory.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-observation-SocialHistory", + "path": "Observation", + "short": "SHR SocialHistory Profile", + "definition": "The external elements and conditions which surround, influence, and affect the life and development of the subject. Includes social conditions such as poverty, violence, bullying." + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:setting", + "path": "Observation.extension", + "sliceName": "setting", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:location", + "path": "Observation.extension", + "sliceName": "location", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.extension:frequency", + "path": "Observation.extension", + "sliceName": "frequency", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-observation-SocialHistory.category", + "path": "Observation.category", + "slicing": { + "id": "66", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.category:social-history", + "path": "Observation.category", + "sliceName": "social-history", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "social-history" + } + ] + } + }, + { + "id": "Observation:shr-observation-SocialHistory.category:C2004062", + "path": "Observation.category", + "sliceName": "C2004062", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2004062" + } + ] + } + }, + { + "id": "Observation:shr-observation-SocialHistory.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-observation-SocialHistory.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-observation-SocialHistory.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json new file mode 100755 index 0000000..5f4bd51 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Abatement-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Abatement-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Abatement Extension

\n

The end, remission or resolution.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Abatement" + } + ], + "name": "SHR Abatement Extension", + "title": "SHR Abatement Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.919Z", + "description": "The end, remission or resolution.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:abatement", + "path": "Extension", + "short": "SHR Abatement Extension", + "definition": "The end, remission or resolution.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:abatement.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:abatement.extension", + "path": "Extension.extension", + "slicing": { + "id": "41", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:abatement.extension:generalizedtemporalcontext", + "path": "Extension.extension", + "sliceName": "generalizedtemporalcontext", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:abatement.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:abatement.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:abatement", + "path": "Extension", + "short": "SHR Abatement Extension", + "definition": "The end, remission or resolution.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:abatement.extension:generalizedtemporalcontext", + "path": "Extension.extension", + "sliceName": "generalizedtemporalcontext", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension" + } + ] + }, + { + "id": "Extension:abatement.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension" + }, + { + "id": "Extension:abatement.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json new file mode 100755 index 0000000..df5ccbb --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-AcademicProblem.json @@ -0,0 +1,1726 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-AcademicProblem", + "text": { + "status": "generated", + "div": "
\n

SHR AcademicProblem Profile

\n

A problem with learning or behavior in a learning environment.

\n

SHR Mapping Summary

\n

shr.problem.AcademicProblem maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-AcademicProblem", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.AcademicProblem" + } + ], + "name": "SHR AcademicProblem Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.888Z", + "description": "A problem with learning or behavior in a learning environment.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-problem-AcademicProblem", + "path": "Condition", + "short": "SHR AcademicProblem Profile", + "definition": "A problem with learning or behavior in a learning environment.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-problem-AcademicProblem", + "path": "Condition", + "short": "SHR AcademicProblem Profile", + "definition": "A problem with learning or behavior in a learning environment." + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-problem-AcademicProblem.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-AcademicProblem.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-problem-AcademicProblem.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.bodySite", + "path": "Condition.bodySite", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-problem-AcademicProblem.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-AcademicProblem.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-problem-AcademicProblem.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-problem-AcademicProblem.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-problem-AcademicProblem.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json new file mode 100755 index 0000000..b418b0c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Asplenia.json @@ -0,0 +1,1740 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Asplenia", + "text": { + "status": "generated", + "div": "
\n

SHR Asplenia Profile

\n

Congenital absence of spleen.

\n

SHR Mapping Summary

\n

shr.problem.Asplenia maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Asplenia" + } + ], + "name": "SHR Asplenia Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.906Z", + "description": "Congenital absence of spleen.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-problem-Asplenia", + "path": "Condition", + "short": "SHR Asplenia Profile", + "definition": "Congenital absence of spleen.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-problem-Asplenia", + "path": "Condition", + "short": "SHR Asplenia Profile", + "definition": "Congenital absence of spleen." + }, + { + "id": "Condition:shr-problem-Asplenia.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Asplenia.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Asplenia.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-problem-Asplenia.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "93030006" + } + ] + } + }, + { + "id": "Condition:shr-problem-Asplenia.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-problem-Asplenia.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Asplenia.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-problem-Asplenia.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-problem-Asplenia.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-problem-Asplenia.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-problem-Asplenia.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json new file mode 100755 index 0000000..20b2607 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Criticality-extension.json @@ -0,0 +1,228 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Criticality-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Criticality Extension

\n

A clinical judgment of potential clinical harm, or seriousness, of a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Criticality" + } + ], + "name": "SHR Criticality Extension", + "title": "SHR Criticality Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.866Z", + "description": "A clinical judgment of potential clinical harm, or seriousness, of a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:criticality", + "path": "Extension", + "short": "SHR Criticality Extension", + "definition": "A clinical judgment of potential clinical harm, or seriousness, of a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:criticality.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:criticality.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:criticality.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:criticality.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:criticality", + "path": "Extension", + "short": "SHR Criticality Extension", + "definition": "A clinical judgment of potential clinical harm, or seriousness, of a condition. When the worst case result is assessed to have a life-threatening or organ system threatening potential, it is considered to be of high criticality.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:criticality.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:criticality.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + }, + { + "id": "Extension:criticality.valueCode", + "path": "Extension.valueCode", + "min": 1, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json new file mode 100755 index 0000000..5784eb2 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-IncludeOnProblemList-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-IncludeOnProblemList-extension", + "text": { + "status": "generated", + "div": "
\n

SHR IncludeOnProblemList Extension

\n

Whether or not to include this problem on the subject's current problem list.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.IncludeOnProblemList" + } + ], + "name": "SHR IncludeOnProblemList Extension", + "title": "SHR IncludeOnProblemList Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "Whether or not to include this problem on the subject's current problem list.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:includeonproblemlist", + "path": "Extension", + "short": "SHR IncludeOnProblemList Extension", + "definition": "Whether or not to include this problem on the subject's current problem list.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:includeonproblemlist.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:includeonproblemlist.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:includeonproblemlist.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:includeonproblemlist.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:includeonproblemlist", + "path": "Extension", + "short": "SHR IncludeOnProblemList Extension", + "definition": "Whether or not to include this problem on the subject's current problem list.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:includeonproblemlist.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:includeonproblemlist.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + }, + { + "id": "Extension:includeonproblemlist.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json new file mode 100755 index 0000000..2eae2d6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Injury.json @@ -0,0 +1,1820 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Injury", + "text": { + "status": "generated", + "div": "
\n

SHR Injury Profile

\n

Damage inflicted on the body by an external force.

\n

SHR Mapping Summary

\n

shr.problem.Injury maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Injury", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Injury" + } + ], + "name": "SHR Injury Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.894Z", + "description": "Damage inflicted on the body by an external force.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-problem-Injury", + "path": "Condition", + "short": "SHR Injury Profile", + "definition": "Damage inflicted on the body by an external force.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-problem-Injury", + "path": "Condition", + "short": "SHR Injury Profile", + "definition": "Damage inflicted on the body by an external force." + }, + { + "id": "Condition:shr-problem-Injury.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:setting", + "path": "Condition.extension", + "sliceName": "setting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.extension:location", + "path": "Condition.extension", + "sliceName": "location", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Injury.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Injury.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-problem-Injury.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-problem-Injury.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Injury.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-problem-Injury.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-problem-Injury.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-problem-Injury.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-problem-Injury.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json new file mode 100755 index 0000000..c9cd884 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Manifestation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Manifestation Extension

\n

A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Manifestation" + } + ], + "name": "SHR Manifestation Extension", + "title": "SHR Manifestation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.919Z", + "description": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:manifestation", + "path": "Extension", + "short": "SHR Manifestation Extension", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:manifestation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:manifestation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:manifestation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:manifestation.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:manifestation", + "path": "Extension", + "short": "SHR Manifestation Extension", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:manifestation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:manifestation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension" + }, + { + "id": "Extension:manifestation.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json new file mode 100755 index 0000000..5649401 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Manifestation.json @@ -0,0 +1,2065 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Manifestation", + "text": { + "status": "generated", + "div": "
\n

SHR Manifestation Profile

\n

A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.

\n

SHR Mapping Summary

\n

shr.problem.Manifestation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Manifestation" + } + ], + "name": "SHR Manifestation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.882Z", + "description": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-problem-Manifestation", + "path": "Observation", + "short": "SHR Manifestation Profile", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-problem-Manifestation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-problem-Manifestation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-problem-Manifestation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.extension", + "path": "Observation.extension", + "slicing": { + "id": "27", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.extension:severity", + "path": "Observation.extension", + "sliceName": "severity", + "definition": "Degree of severity of a symptom, disorder, or problem.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.extension:bodysite", + "path": "Observation.extension", + "sliceName": "bodysite", + "definition": "Location on or in the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "28", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-problem-Manifestation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-problem-Manifestation", + "path": "Observation", + "short": "SHR Manifestation Profile", + "definition": "A complaint or observed (subjective) indication that a person has a condition or disease. Some examples of symptoms are headache, fever, fatigue, nausea, vomiting, and pain." + }, + { + "id": "Observation:shr-problem-Manifestation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-problem-Manifestation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-problem-Manifestation.extension:severity", + "path": "Observation.extension", + "sliceName": "severity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-problem-Manifestation.extension:bodysite", + "path": "Observation.extension", + "sliceName": "bodysite", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-problem-Manifestation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-problem-Manifestation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + }, + { + "id": "Observation:shr-problem-Manifestation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-problem-Manifestation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-problem-Manifestation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json new file mode 100755 index 0000000..8ceadcc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-MentalHealthProblem.json @@ -0,0 +1,1724 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-MentalHealthProblem", + "text": { + "status": "generated", + "div": "
\n

SHR MentalHealthProblem Profile

\n

A problem relating to a person’s psychological and emotional well-being.

\n

SHR Mapping Summary

\n

shr.problem.MentalHealthProblem maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-MentalHealthProblem", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.MentalHealthProblem" + } + ], + "name": "SHR MentalHealthProblem Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.901Z", + "description": "A problem relating to a person’s psychological and emotional well-being.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-problem-MentalHealthProblem", + "path": "Condition", + "short": "SHR MentalHealthProblem Profile", + "definition": "A problem relating to a person’s psychological and emotional well-being.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-problem-MentalHealthProblem", + "path": "Condition", + "short": "SHR MentalHealthProblem Profile", + "definition": "A problem relating to a person’s psychological and emotional well-being." + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-problem-MentalHealthProblem.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json new file mode 100755 index 0000000..e3a7e5e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Preexisting-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Preexisting-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Preexisting Extension

\n

If the problem or condition existed before the current episode of care.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Preexisting" + } + ], + "name": "SHR Preexisting Extension", + "title": "SHR Preexisting Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.866Z", + "description": "If the problem or condition existed before the current episode of care.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:preexisting", + "path": "Extension", + "short": "SHR Preexisting Extension", + "definition": "If the problem or condition existed before the current episode of care.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:preexisting.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:preexisting.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:preexisting.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:preexisting.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:preexisting", + "path": "Extension", + "short": "SHR Preexisting Extension", + "definition": "If the problem or condition existed before the current episode of care.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:preexisting.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:preexisting.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + }, + { + "id": "Extension:preexisting.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json new file mode 100755 index 0000000..37aefe1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Problem.json @@ -0,0 +1,1724 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Problem", + "text": { + "status": "generated", + "div": "
\n

SHR Problem Profile

\n

A statement about a disorder, abnormality, problem, injury, complaint, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, or trouble. May be used to state the existence or non-existence of a problem.

\n

SHR Mapping Summary

\n

shr.problem.Problem maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Problem", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Problem" + } + ], + "name": "SHR Problem Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.863Z", + "description": "A statement about a disorder, abnormality, problem, injury, complaint, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, or trouble. May be used to state the existence or non-existence of a problem.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-problem-Problem", + "path": "Condition", + "short": "SHR Problem Profile", + "definition": "A statement about a disorder, abnormality, problem, injury, complaint, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, or trouble. May be used to state the existence or non-existence of a problem.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-problem-Problem", + "path": "Condition", + "short": "SHR Problem Profile", + "definition": "A statement about a disorder, abnormality, problem, injury, complaint, functionality, concern, illness, disease, ailment, sickness, affliction, upset, difficulty, disorder, symptom, or trouble. May be used to state the existence or non-existence of a problem." + }, + { + "id": "Condition:shr-problem-Problem.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-problem-Problem.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Problem.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-problem-Problem.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Condition:shr-problem-Problem.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-problem-Problem.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-problem-Problem.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-problem-Problem.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-problem-Problem.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-problem-Problem.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json new file mode 100755 index 0000000..d58c28f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-Severity-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-Severity-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Severity Extension

\n

Degree of severity of a symptom, disorder, or problem.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.Severity" + } + ], + "name": "SHR Severity Extension", + "title": "SHR Severity Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.884Z", + "description": "Degree of severity of a symptom, disorder, or problem.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:severity", + "path": "Extension", + "short": "SHR Severity Extension", + "definition": "Degree of severity of a symptom, disorder, or problem.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:severity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:severity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:severity.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:severity.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:severity", + "path": "Extension", + "short": "SHR Severity Extension", + "definition": "Degree of severity of a symptom, disorder, or problem.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:severity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:severity.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension" + }, + { + "id": "Extension:severity.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-severity" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json new file mode 100755 index 0000000..b4fec0f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-SupportingEvidenceQuality-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SupportingEvidenceQuality Extension

\n

An assessment of the quality and/or quantity of the source information that supports judgment.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.SupportingEvidenceQuality" + } + ], + "name": "SHR SupportingEvidenceQuality Extension", + "title": "SHR SupportingEvidenceQuality Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "An assessment of the quality and/or quantity of the source information that supports judgment.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:supportingevidencequality", + "path": "Extension", + "short": "SHR SupportingEvidenceQuality Extension", + "definition": "An assessment of the quality and/or quantity of the source information that supports judgment.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:supportingevidencequality.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportingevidencequality.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:supportingevidencequality.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportingevidencequality.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-EvidenceQualityVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:supportingevidencequality", + "path": "Extension", + "short": "SHR SupportingEvidenceQuality Extension", + "definition": "An assessment of the quality and/or quantity of the source information that supports judgment.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:supportingevidencequality.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:supportingevidencequality.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + }, + { + "id": "Extension:supportingevidencequality.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-EvidenceQualityVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json new file mode 100755 index 0000000..d0d75bd --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-problem-WhenClinicallyRecognized-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WhenClinicallyRecognized Extension

\n

The time at which a condition or problem was first identified in a healthcare context.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.WhenClinicallyRecognized" + } + ], + "name": "SHR WhenClinicallyRecognized Extension", + "title": "SHR WhenClinicallyRecognized Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.865Z", + "description": "The time at which a condition or problem was first identified in a healthcare context.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:whenclinicallyrecognized", + "path": "Extension", + "short": "SHR WhenClinicallyRecognized Extension", + "definition": "The time at which a condition or problem was first identified in a healthcare context.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.extension", + "path": "Extension.extension", + "slicing": { + "id": "21", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.extension:generalizedtemporalcontext", + "path": "Extension.extension", + "sliceName": "generalizedtemporalcontext", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:whenclinicallyrecognized", + "path": "Extension", + "short": "SHR WhenClinicallyRecognized Extension", + "definition": "The time at which a condition or problem was first identified in a healthcare context.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:whenclinicallyrecognized.extension:generalizedtemporalcontext", + "path": "Extension.extension", + "sliceName": "generalizedtemporalcontext", + "definition": "A generalized indicator of a dateTime or an age when an event happened.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension" + } + ] + }, + { + "id": "Extension:whenclinicallyrecognized.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + }, + { + "id": "Extension:whenclinicallyrecognized.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json b/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json new file mode 100755 index 0000000..27c81fe --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-procedure-Procedure.json @@ -0,0 +1,1422 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-procedure-Procedure", + "text": { + "status": "generated", + "div": "
\n

SHR Procedure Profile

\n

An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy.

\n

SHR Mapping Summary

\n

shr.procedure.Procedure maps to Procedure:\n  ProcedureStatus maps to status\n  NonOccurrenceModifier maps to notPerformed\n  NonOccurrenceModifier.Reason maps to reasonNotPerformed\n  OccurrenceTime.dateTime maps to performed[x].dateTime\n  OccurrenceTime.TimePeriod maps to performed[x].Period\n  ProcedureParticipant maps to performer\n  ProcedureParticipant.PersonOfRecord maps to performer.actor\n  ProcedureParticipant.Practitioner maps to performer.actor\n  ProcedureParticipant.RelatedPerson maps to performer.actor\n  ProcedureParticipant.ParticipationType maps to performer.role\n  Facility maps to location\n  Reason maps to reasonCode\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.procedure.Procedure" + } + ], + "name": "SHR Procedure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.318Z", + "description": "An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:shr-procedure-Procedure", + "path": "Procedure", + "short": "SHR Procedure Profile", + "definition": "An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "pro-1", + "severity": "error", + "human": "Reason not performed is only permitted if notPerformed indicator is true", + "expression": "reasonNotPerformed.empty() or notPerformed = true", + "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "Procedure:shr-procedure-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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Procedure:shr-procedure-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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Procedure:shr-procedure-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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Procedure:shr-procedure-Procedure.language", + "path": "Procedure.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Procedure:shr-procedure-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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Procedure:shr-procedure-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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.extension", + "path": "Procedure.extension", + "slicing": { + "id": "193", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.extension:codeableconcept", + "path": "Procedure.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "This records identifiers associated with this procedure 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 (e.g. in CDA documents, or in written / printed documentation).", + "requirements": "Need to allow connection to a wider workflow.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.status", + "path": "Procedure.status", + "short": "in-progress | aborted | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally this will be in-progress or completed state.", + "comments": "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.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A code specifying the state of the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Procedure:shr-procedure-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Procedure:shr-procedure-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\").", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code to identify a specific procedure .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-code" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.encounter", + "path": "Procedure.encounter", + "short": "The encounter associated with the procedure", + "definition": "The encounter during which the procedure was performed.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performed[x]", + "path": "Procedure.performed[x]", + "short": "Date/Period the procedure was performed", + "definition": "The date(time)/period over which 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.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer", + "path": "Procedure.performer", + "short": "The people who performed the procedure", + "definition": "Limited to 'real' people rather than equipment.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.id", + "path": "Procedure.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-procedure-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.modifierExtension", + "path": "Procedure.performer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.role", + "path": "Procedure.performer.role", + "short": "The role the actor was in", + "definition": "For example: surgeon, anaethetist, endoscopist.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType" + } + }, + "mapping": [ + { + "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:shr-procedure-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.reasonReference", + "path": "Procedure.reasonReference", + "short": "Condition that is the reason the procedure performed", + "definition": "The condition that is the reason why the procedure was performed.", + "comments": "e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.notPerformed", + "path": "Procedure.notPerformed", + "short": "True if procedure was not performed as scheduled", + "definition": "Set this to true if the record is saying that the procedure was NOT performed.", + "comments": "If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say \"There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome\" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome.", + "min": 0, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": false, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".actionNegationInd" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.reasonNotPerformed", + "path": "Procedure.reasonNotPerformed", + "short": "Reason procedure was not performed", + "definition": "A code indicating why the procedure was not performed.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "pro-1" + ], + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure:shr-procedure-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.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve reasons for the procedure being performed?", + "comments": "If outcome contains narrative text only, it can be captured using the CodeableConcept.text.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc..", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure:shr-procedure-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.", + "comments": "If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "Need specialization of OUT for this." + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-followup" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.request", + "path": "Procedure.request", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.notes", + "path": "Procedure.notes", + "short": "Additional information about the procedure", + "definition": "Any other notes about the procedure. E.g. the operative notes.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.focalDevice", + "path": "Procedure.focalDevice", + "short": "Device changed in procedure", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.focalDevice.id", + "path": "Procedure.focalDevice.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-procedure-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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:shr-procedure-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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "required", + "description": "A kind of change that happened to the device during the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-action" + } + } + }, + { + "id": "Procedure:shr-procedure-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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comments": "For devices actually implanted or removed, use Procedure.device.", + "requirements": "Used for tracking contamination, etc.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comments": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing items used during a procedure" + } + }, + { + "id": "Procedure:shr-procedure-Procedure.component", + "path": "Procedure.component", + "short": "Events related to the procedure", + "definition": "Identifies medication administrations, other procedures or observations that are related to this procedure.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure:shr-procedure-Procedure", + "path": "Procedure", + "short": "SHR Procedure Profile", + "definition": "An action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy." + }, + { + "id": "Procedure:shr-procedure-Procedure.extension:codeableconcept", + "path": "Procedure.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Procedure:shr-procedure-Procedure.performed[x]", + "path": "Procedure.performed[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer", + "path": "Procedure.performer" + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.actor", + "path": "Procedure.performer.actor", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.performer.role", + "path": "Procedure.performer.role", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ParticipationType" + } + } + }, + { + "id": "Procedure:shr-procedure-Procedure.location", + "path": "Procedure.location", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.reasonCode", + "path": "Procedure.reasonCode", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Procedure:shr-procedure-Procedure.reasonNotPerformed", + "path": "Procedure.reasonNotPerformed", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json new file mode 100755 index 0000000..ceace80 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json @@ -0,0 +1,657 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-ContraceptiveMethodRecommendation", + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodRecommendation Profile

\n

The contraceptive method(s) recommended or prescribed by a provider, after counseling and assessment. More than one method can be selected, if applicable. .

\n

SHR Mapping Summary

\n

shr.sex.ContraceptiveMethodRecommendation maps to Basic:\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodRecommendation" + } + ], + "name": "SHR ContraceptiveMethodRecommendation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.488Z", + "description": "The contraceptive method(s) recommended or prescribed by a provider, after counseling and assessment. More than one method can be selected, if applicable. .", + "purpose": "Need some way to safely (without breaking interoperability) allow implementers to exchange content not supported by the initial set of declared resources.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Basic", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Basic", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation", + "path": "Basic", + "short": "SHR ContraceptiveMethodRecommendation Profile", + "definition": "The contraceptive method(s) recommended or prescribed by a provider, after counseling and assessment. More than one method can be selected, if applicable. .", + "alias": [ + "Z-resource", + "Extension-resource", + "Custom-resource" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Act, Entity or Role" + }, + { + "identity": "w5", + "map": "infrastructure.structure" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.id", + "path": "Basic.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.meta", + "path": "Basic.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.implicitRules", + "path": "Basic.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.language", + "path": "Basic.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.text", + "path": "Basic.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.contained", + "path": "Basic.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension", + "path": "Basic.extension", + "slicing": { + "id": "252", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:codeableconcept", + "path": "Basic.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:reasonfornotrecommendingcontraceptive", + "path": "Basic.extension", + "sliceName": "reasonfornotrecommendingcontraceptive", + "definition": "If not using a method of contraception, why.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:dispensed", + "path": "Basic.extension", + "sliceName": "dispensed", + "definition": "Whether an item, such as a medication or device, was given to a subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.modifierExtension", + "path": "Basic.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.identifier", + "path": "Basic.identifier", + "short": "Business identifier", + "definition": "Identifier assigned to the resource for business purposes, outside the context of FHIR.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.code", + "path": "Basic.code", + "short": "Kind of Resource", + "definition": "Identifies the 'type' of resource - equivalent to the resource name for other resources.", + "comments": "Because resource references will only be able to indicate 'Basic', the type of reference will need to be specified in a Profile identified as part of the resource. Refer to the resource notes section for information on appropriate terminologies for this code.", + "requirements": "Must be able to distinguish different types of \"basic\" resources.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://standardhealthrecord.org/fhir/basic-resource-type", + "code": "shr-sex-ContraceptiveMethodRecommendation" + } + ] + }, + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes for identifying types of resources not yet defined by FHIR", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/basic-resource-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.subject", + "path": "Basic.subject", + "short": "Identifies the focus of this resource", + "definition": "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.", + "comments": "Optional as not all resources potential resources will have subjects. Resources associated with multiple subjects can handle this via extension.", + "requirements": "Needed for partitioning the resource by Patient.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SBJ'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.created", + "path": "Basic.created", + "short": "When created", + "definition": "Identifies when the resource was first created.", + "requirements": "Allows ordering resource instances by time.", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='AUT']/time (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.author", + "path": "Basic.author", + "short": "Who created", + "definition": "Indicates who was responsible for creating the resource instance.", + "requirements": "Needed for partitioning the resource.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./participation[typeCode='SUB'] (possibly through a ControlAct and Role)" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation", + "path": "Basic", + "short": "SHR ContraceptiveMethodRecommendation Profile", + "definition": "The contraceptive method(s) recommended or prescribed by a provider, after counseling and assessment. More than one method can be selected, if applicable. ." + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:codeableconcept", + "path": "Basic.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS" + } + } + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:reasonfornotrecommendingcontraceptive", + "path": "Basic.extension", + "sliceName": "reasonfornotrecommendingcontraceptive", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Basic:shr-sex-ContraceptiveMethodRecommendation.extension:dispensed", + "path": "Basic.extension", + "sliceName": "dispensed", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json new file mode 100755 index 0000000..370f25b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json @@ -0,0 +1,2040 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-ContraceptiveMethodsUsed", + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodsUsed Profile

\n

The method or methods of contraception used.

\n

SHR Mapping Summary

\n

shr.sex.ContraceptiveMethodsUsed maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodsUsed" + } + ], + "name": "SHR ContraceptiveMethodsUsed Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.485Z", + "description": "The method or methods of contraception used.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed", + "path": "Observation", + "short": "SHR ContraceptiveMethodsUsed Profile", + "definition": "The method or methods of contraception used.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension", + "path": "Observation.extension", + "slicing": { + "id": "250", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "251", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0700589" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-ContraceptiveMethodsUsed.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed", + "path": "Observation", + "short": "SHR ContraceptiveMethodsUsed Profile", + "definition": "The method or methods of contraception used." + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS" + } + } + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C0700589" + } + ] + } + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-sex-ContraceptiveMethodsUsed.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json new file mode 100755 index 0000000..f37ecc1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-CurrentPregnancyStatus-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CurrentPregnancyStatus Extension

\n

Whether or not the subject is currently pregnant.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.CurrentPregnancyStatus" + } + ], + "name": "SHR CurrentPregnancyStatus Extension", + "title": "SHR CurrentPregnancyStatus Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.493Z", + "description": "Whether or not the subject is currently pregnant.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:currentpregnancystatus", + "path": "Extension", + "short": "SHR CurrentPregnancyStatus Extension", + "definition": "Whether or not the subject is currently pregnant.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:currentpregnancystatus.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:currentpregnancystatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:currentpregnancystatus.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:currentpregnancystatus.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:currentpregnancystatus", + "path": "Extension", + "short": "SHR CurrentPregnancyStatus Extension", + "definition": "Whether or not the subject is currently pregnant.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:currentpregnancystatus.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:currentpregnancystatus.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension" + }, + { + "id": "Extension:currentpregnancystatus.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json new file mode 100755 index 0000000..08d954f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-DifficultyWithIntercourse-extension", + "text": { + "status": "generated", + "div": "
\n

SHR DifficultyWithIntercourse Extension

\n

Problem with sexual intercourse.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.DifficultyWithIntercourse" + } + ], + "name": "SHR DifficultyWithIntercourse Extension", + "title": "SHR DifficultyWithIntercourse Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.478Z", + "description": "Problem with sexual intercourse.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:difficultywithintercourse", + "path": "Extension", + "short": "SHR DifficultyWithIntercourse Extension", + "definition": "Problem with sexual intercourse.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:difficultywithintercourse.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:difficultywithintercourse.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:difficultywithintercourse.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:difficultywithintercourse.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-DifficultyWithIntercourseVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:difficultywithintercourse", + "path": "Extension", + "short": "SHR DifficultyWithIntercourse Extension", + "definition": "Problem with sexual intercourse.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:difficultywithintercourse.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:difficultywithintercourse.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension" + }, + { + "id": "Extension:difficultywithintercourse.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-DifficultyWithIntercourseVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json new file mode 100755 index 0000000..64e8550 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-Dispensed-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-Dispensed-extension", + "text": { + "status": "generated", + "div": "
\n

SHR Dispensed Extension

\n

Whether an item, such as a medication or device, was given to a subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.Dispensed" + } + ], + "name": "SHR Dispensed Extension", + "title": "SHR Dispensed Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.489Z", + "description": "Whether an item, such as a medication or device, was given to a subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:dispensed", + "path": "Extension", + "short": "SHR Dispensed Extension", + "definition": "Whether an item, such as a medication or device, was given to a subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:dispensed.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dispensed.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:dispensed.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:dispensed.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:dispensed", + "path": "Extension", + "short": "SHR Dispensed Extension", + "definition": "Whether an item, such as a medication or device, was given to a subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:dispensed.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:dispensed.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension" + }, + { + "id": "Extension:dispensed.valueBoolean", + "path": "Extension.valueBoolean", + "min": 1, + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json new file mode 100755 index 0000000..26248e5 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity-extension.json @@ -0,0 +1,218 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-GenderIdentity-extension", + "text": { + "status": "generated", + "div": "
\n

SHR GenderIdentity Extension

\n

Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.GenderIdentity" + } + ], + "name": "SHR GenderIdentity Extension", + "title": "SHR GenderIdentity Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.467Z", + "description": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:genderidentity", + "path": "Extension", + "short": "SHR GenderIdentity Extension", + "definition": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:genderidentity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:genderidentity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:genderidentity.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:genderidentity.valueReference", + "path": "Extension.valueReference", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:genderidentity", + "path": "Extension", + "short": "SHR GenderIdentity Extension", + "definition": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:genderidentity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:genderidentity.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension" + }, + { + "id": "Extension:genderidentity.valueReference", + "path": "Extension.valueReference", + "min": 1, + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json new file mode 100755 index 0000000..0951965 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-GenderIdentity.json @@ -0,0 +1,2024 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-GenderIdentity", + "text": { + "status": "generated", + "div": "
\n

SHR GenderIdentity Profile

\n

Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.

\n

SHR Mapping Summary

\n

shr.sex.GenderIdentity maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.GenderIdentity" + } + ], + "name": "SHR GenderIdentity Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.474Z", + "description": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-sex-GenderIdentity", + "path": "Observation", + "short": "SHR GenderIdentity Profile", + "definition": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-GenderIdentity.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-sex-GenderIdentity.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-sex-GenderIdentity.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension", + "path": "Observation.extension", + "slicing": { + "id": "247", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-GenderIdentityVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "248", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-GenderIdentity.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-sex-GenderIdentity", + "path": "Observation", + "short": "SHR GenderIdentity Profile", + "definition": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither." + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-GenderIdentityVS" + } + } + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-GenderIdentity.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-GenderIdentity.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-sex-GenderIdentity.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-sex-GenderIdentity.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-sex-GenderIdentity.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json new file mode 100755 index 0000000..03729e0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-NumberOfLivingChildren-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NumberOfLivingChildren Extension

\n

Number of living children.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.NumberOfLivingChildren" + } + ], + "name": "SHR NumberOfLivingChildren Extension", + "title": "SHR NumberOfLivingChildren Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.493Z", + "description": "Number of living children.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:numberoflivingchildren", + "path": "Extension", + "short": "SHR NumberOfLivingChildren Extension", + "definition": "Number of living children.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:numberoflivingchildren.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberoflivingchildren.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:numberoflivingchildren.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberoflivingchildren.valueInteger", + "path": "Extension.valueInteger", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:numberoflivingchildren", + "path": "Extension", + "short": "SHR NumberOfLivingChildren Extension", + "definition": "Number of living children.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:numberoflivingchildren.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:numberoflivingchildren.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension" + }, + { + "id": "Extension:numberoflivingchildren.valueInteger", + "path": "Extension.valueInteger", + "min": 1, + "type": [ + { + "code": "integer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json new file mode 100755 index 0000000..d6752a6 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-NumberOfPreviousPregnancies-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NumberOfPreviousPregnancies Extension

\n

Number of previous pregnancies.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.NumberOfPreviousPregnancies" + } + ], + "name": "SHR NumberOfPreviousPregnancies Extension", + "title": "SHR NumberOfPreviousPregnancies Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.493Z", + "description": "Number of previous pregnancies.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:numberofpreviouspregnancies", + "path": "Extension", + "short": "SHR NumberOfPreviousPregnancies Extension", + "definition": "Number of previous pregnancies.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:numberofpreviouspregnancies.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofpreviouspregnancies.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:numberofpreviouspregnancies.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofpreviouspregnancies.valueInteger", + "path": "Extension.valueInteger", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "integer" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:numberofpreviouspregnancies", + "path": "Extension", + "short": "SHR NumberOfPreviousPregnancies Extension", + "definition": "Number of previous pregnancies.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:numberofpreviouspregnancies.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:numberofpreviouspregnancies.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension" + }, + { + "id": "Extension:numberofpreviouspregnancies.valueInteger", + "path": "Extension.valueInteger", + "min": 1, + "type": [ + { + "code": "integer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json new file mode 100755 index 0000000..26da935 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json @@ -0,0 +1,216 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-NumberOfSexualPartnersPastYear-extension", + "text": { + "status": "generated", + "div": "
\n

SHR NumberOfSexualPartnersPastYear Extension

\n

Number of sexual partners in past year.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.NumberOfSexualPartnersPastYear" + } + ], + "name": "SHR NumberOfSexualPartnersPastYear Extension", + "title": "SHR NumberOfSexualPartnersPastYear Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.478Z", + "description": "Number of sexual partners in past year.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:numberofsexualpartnerspastyear", + "path": "Extension", + "short": "SHR NumberOfSexualPartnersPastYear Extension", + "definition": "Number of sexual partners in past year.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:numberofsexualpartnerspastyear.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofsexualpartnerspastyear.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:numberofsexualpartnerspastyear.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:numberofsexualpartnerspastyear.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "unsignedInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:numberofsexualpartnerspastyear", + "path": "Extension", + "short": "SHR NumberOfSexualPartnersPastYear Extension", + "definition": "Number of sexual partners in past year.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:numberofsexualpartnerspastyear.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:numberofsexualpartnerspastyear.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension" + }, + { + "id": "Extension:numberofsexualpartnerspastyear.valueUnsignedInt", + "path": "Extension.valueUnsignedInt", + "min": 1, + "type": [ + { + "code": "unsignedInt" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json new file mode 100755 index 0000000..e401731 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyHistory.json @@ -0,0 +1,1339 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-PregnancyHistory", + "text": { + "status": "generated", + "div": "
\n

SHR PregnancyHistory Profile

\n

Information about current and past pregnancies.

\n

SHR Mapping Summary

\n

shr.sex.PregnancyHistory maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyHistory", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.PregnancyHistory" + } + ], + "name": "SHR PregnancyHistory Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.492Z", + "description": "Information about current and past pregnancies.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory", + "path": "DiagnosticReport", + "short": "SHR PregnancyHistory Profile", + "definition": "Information about current and past pregnancies.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "253", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:currentpregnancystatus", + "path": "DiagnosticReport.extension", + "sliceName": "currentpregnancystatus", + "definition": "Whether or not the subject is currently pregnant.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:numberofpreviouspregnancies", + "path": "DiagnosticReport.extension", + "sliceName": "numberofpreviouspregnancies", + "definition": "Number of previous pregnancies.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:numberoflivingchildren", + "path": "DiagnosticReport.extension", + "sliceName": "numberoflivingchildren", + "definition": "Number of living children.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-PregnancyHistory.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-sex-PregnancyHistory.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory", + "path": "DiagnosticReport", + "short": "SHR PregnancyHistory Profile", + "definition": "Information about current and past pregnancies." + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:currentpregnancystatus", + "path": "DiagnosticReport.extension", + "sliceName": "currentpregnancystatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:numberofpreviouspregnancies", + "path": "DiagnosticReport.extension", + "sliceName": "numberofpreviouspregnancies", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.extension:numberoflivingchildren", + "path": "DiagnosticReport.extension", + "sliceName": "numberoflivingchildren", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-PregnancyHistory.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json new file mode 100755 index 0000000..d155415 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-PregnancyIntention.json @@ -0,0 +1,2040 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-PregnancyIntention", + "text": { + "status": "generated", + "div": "
\n

SHR PregnancyIntention Profile

\n

Whether the subject or his/her partner has a plan or desire to either become pregnant or have a child in the next year/near future.

\n

SHR Mapping Summary

\n

shr.sex.PregnancyIntention maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.PregnancyIntention" + } + ], + "name": "SHR PregnancyIntention Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.463Z", + "description": "Whether the subject or his/her partner has a plan or desire to either become pregnant or have a child in the next year/near future.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-sex-PregnancyIntention", + "path": "Observation", + "short": "SHR PregnancyIntention Profile", + "definition": "Whether the subject or his/her partner has a plan or desire to either become pregnant or have a child in the next year/near future.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-sex-PregnancyIntention.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension", + "path": "Observation.extension", + "slicing": { + "id": "244", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "definition": "A set of codes drawn from different coding systems, representing the same concept.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "245", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "64631-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-PregnancyIntention.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-sex-PregnancyIntention", + "path": "Observation", + "short": "SHR PregnancyIntention Profile", + "definition": "Whether the subject or his/her partner has a plan or desire to either become pregnant or have a child in the next year/near future." + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:codeableconcept", + "path": "Observation.extension", + "sliceName": "codeableconcept", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS" + } + } + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-PregnancyIntention.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-sex-PregnancyIntention.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-sex-PregnancyIntention.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "64631-5" + } + ] + } + }, + { + "id": "Observation:shr-sex-PregnancyIntention.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-sex-PregnancyIntention.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-sex-PregnancyIntention.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json new file mode 100755 index 0000000..ffd80cd --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-ReasonForNotRecommendingContraceptive-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ReasonForNotRecommendingContraceptive Extension

\n

If not using a method of contraception, why.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ReasonForNotRecommendingContraceptive" + } + ], + "name": "SHR ReasonForNotRecommendingContraceptive Extension", + "title": "SHR ReasonForNotRecommendingContraceptive Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.488Z", + "description": "If not using a method of contraception, why.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:reasonfornotrecommendingcontraceptive", + "path": "Extension", + "short": "SHR ReasonForNotRecommendingContraceptive Extension", + "definition": "If not using a method of contraception, why.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveNotUsedReasonVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:reasonfornotrecommendingcontraceptive", + "path": "Extension", + "short": "SHR ReasonForNotRecommendingContraceptive Extension", + "definition": "If not using a method of contraception, why.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension" + }, + { + "id": "Extension:reasonfornotrecommendingcontraceptive.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveNotUsedReasonVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json new file mode 100755 index 0000000..dc028f9 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualActivity-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-SexualActivity-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SexualActivity Extension

\n

Characterization of the sexual activity of the subject.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualActivity" + } + ], + "name": "SHR SexualActivity Extension", + "title": "SHR SexualActivity Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.478Z", + "description": "Characterization of the sexual activity of the subject.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:sexualactivity", + "path": "Extension", + "short": "SHR SexualActivity Extension", + "definition": "Characterization of the sexual activity of the subject.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:sexualactivity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sexualactivity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:sexualactivity.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sexualactivity.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualActivityVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:sexualactivity", + "path": "Extension", + "short": "SHR SexualActivity Extension", + "definition": "Characterization of the sexual activity of the subject.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:sexualactivity.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:sexualactivity.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension" + }, + { + "id": "Extension:sexualactivity.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualActivityVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json new file mode 100755 index 0000000..e4aaa27 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualBehavior.json @@ -0,0 +1,1503 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-SexualBehavior", + "text": { + "status": "generated", + "div": "
\n

SHR SexualBehavior Profile

\n

Experience with sexual intercourse.

\n

SHR Mapping Summary

\n

shr.sex.SexualBehavior maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualBehavior" + } + ], + "name": "SHR SexualBehavior Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.477Z", + "description": "Experience with sexual intercourse.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-SexualBehavior", + "path": "DiagnosticReport", + "short": "SHR SexualBehavior Profile", + "definition": "Experience with sexual intercourse.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "249", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode.id", + "path": "DiagnosticReport.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode.extension:extension", + "path": "DiagnosticReport.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode.url", + "path": "DiagnosticReport.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode.valueCodeableConcept", + "path": "DiagnosticReport.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1314687" + } + ] + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:sexualactivity", + "path": "DiagnosticReport.extension", + "sliceName": "sexualactivity", + "definition": "Characterization of the sexual activity of the subject.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:numberofsexualpartnerspastyear", + "path": "DiagnosticReport.extension", + "sliceName": "numberofsexualpartnerspastyear", + "definition": "Number of sexual partners in past year.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:difficultywithintercourse", + "path": "DiagnosticReport.extension", + "sliceName": "difficultywithintercourse", + "definition": "Problem with sexual intercourse.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-SexualBehavior.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-sex-SexualBehavior.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-SexualBehavior", + "path": "DiagnosticReport", + "short": "SHR SexualBehavior Profile", + "definition": "Experience with sexual intercourse." + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1314687" + } + ] + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:sexualactivity", + "path": "DiagnosticReport.extension", + "sliceName": "sexualactivity", + "min": 1, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:numberofsexualpartnerspastyear", + "path": "DiagnosticReport.extension", + "sliceName": "numberofsexualpartnerspastyear", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.extension:difficultywithintercourse", + "path": "DiagnosticReport.extension", + "sliceName": "difficultywithintercourse", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualBehavior.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json new file mode 100755 index 0000000..0824949 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualIdentity.json @@ -0,0 +1,1439 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-SexualIdentity", + "text": { + "status": "generated", + "div": "
\n

SHR SexualIdentity Profile

\n

Information on gender identity and sexual orientation.

\n

SHR Mapping Summary

\n

shr.sex.SexualIdentity maps to DiagnosticReport:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  CodeableConcept maps to codedDiagnosis\n  Observation maps to result\n  TBD "Specimen" maps to specimen\n  Interpretation maps to conclusion\n  ObservationCategory maps to category\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualIdentity", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualIdentity" + } + ], + "name": "SHR SexualIdentity Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.466Z", + "description": "Information on gender identity and sexual orientation.", + "purpose": "To support reporting for any diagnostic report into a clinical data repository.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-SexualIdentity", + "path": "DiagnosticReport", + "short": "SHR SexualIdentity Profile", + "definition": "Information on gender identity and sexual orientation.", + "comments": "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" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension", + "path": "DiagnosticReport.extension", + "slicing": { + "id": "246", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "definition": "A term from a controlled vocabulary that defines the data element (the question, not the answer) as specifically as possible. The specific code should always align with the concept of the element, but may be more specific. For example, the concept associated with medications is code for 'medication used', but the ObservationCode is the code for the particular medication used. For tests, ObservationCode identifies the specific test being performed, and for observations, the specific question being asked.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode.id", + "path": "DiagnosticReport.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode.extension:extension", + "path": "DiagnosticReport.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode.url", + "path": "DiagnosticReport.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode.valueCodeableConcept", + "path": "DiagnosticReport.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:genderidentity", + "path": "DiagnosticReport.extension", + "sliceName": "genderidentity", + "definition": "Subjective personal perception of one's own gender, which can be male, female, a blend of both, or neither.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:sexualorientation", + "path": "DiagnosticReport.extension", + "sliceName": "sexualorientation", + "definition": "An inherent and enduring emotional, romantic or sexual attraction to other people.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "requirements": "Diagnostic services routinely issue provisional/incomplete reports, and sometimes withdraw previously released reports.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The status of the diagnostic report as a whole.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "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": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.code", + "path": "DiagnosticReport.code", + "short": "Name/Code for this diagnostic report", + "definition": "A code or name that describes this diagnostic report.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "Codes that describe Diagnostic Reports.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "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" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "alias": [ + "Data", + "Atomic Value", + "Result", + "Atomic result", + "Data", + "Test", + "Analyte", + "Battery", + "Organizer" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.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.", + "comments": "ImagingStudy and ImageManifest 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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image", + "path": "DiagnosticReport.image", + "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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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", + "type": [ + { + "code": "string" + } + ], + "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:shr-sex-SexualIdentity.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:shr-sex-SexualIdentity.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.", + "comments": "\"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": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:shr-sex-SexualIdentity", + "path": "DiagnosticReport", + "short": "SHR SexualIdentity Profile", + "definition": "Information on gender identity and sexual orientation." + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationreason", + "path": "DiagnosticReport.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:observationcode", + "path": "DiagnosticReport.extension", + "sliceName": "observationcode", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:genderidentity", + "path": "DiagnosticReport.extension", + "sliceName": "genderidentity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.extension:sexualorientation", + "path": "DiagnosticReport.extension", + "sliceName": "sexualorientation", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.category", + "path": "DiagnosticReport.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + } + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.subject", + "path": "DiagnosticReport.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.encounter", + "path": "DiagnosticReport.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1" + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.result", + "path": "DiagnosticReport.result", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation" + } + ] + }, + { + "id": "DiagnosticReport:shr-sex-SexualIdentity.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json new file mode 100755 index 0000000..a79971d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-sex-SexualOrientation-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-sex-SexualOrientation-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SexualOrientation Extension

\n

An inherent and enduring emotional, romantic or sexual attraction to other people.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualOrientation" + } + ], + "name": "SHR SexualOrientation Extension", + "title": "SHR SexualOrientation Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.467Z", + "description": "An inherent and enduring emotional, romantic or sexual attraction to other people.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:sexualorientation", + "path": "Extension", + "short": "SHR SexualOrientation Extension", + "definition": "An inherent and enduring emotional, romantic or sexual attraction to other people.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:sexualorientation.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sexualorientation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:sexualorientation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:sexualorientation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualOrientationVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:sexualorientation", + "path": "Extension", + "short": "SHR SexualOrientation Extension", + "definition": "An inherent and enduring emotional, romantic or sexual attraction to other people.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:sexualorientation.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:sexualorientation.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension" + }, + { + "id": "Extension:sexualorientation.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualOrientationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json new file mode 100755 index 0000000..7303346 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-CausativeFactor-extension.json @@ -0,0 +1,267 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-CausativeFactor-extension", + "text": { + "status": "generated", + "div": "
\n

SHR CausativeFactor Extension

\n

The cause the irritation or inflammation.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.CausativeFactor" + } + ], + "name": "SHR CausativeFactor Extension", + "title": "SHR CausativeFactor Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.503Z", + "description": "The cause the irritation or inflammation.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:causativefactor", + "path": "Extension", + "short": "SHR CausativeFactor Extension", + "definition": "The cause the irritation or inflammation.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:causativefactor.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:causativefactor.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:causativefactor.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:causativefactor.value[x]", + "path": "Extension.value[x]", + "slicing": { + "id": "257", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:causativefactor.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Extension.valueCodeableConcept", + "sliceName": "shr-core-CodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:causativefactor", + "path": "Extension", + "short": "SHR CausativeFactor Extension", + "definition": "The cause the irritation or inflammation.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:causativefactor.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:causativefactor.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension" + }, + { + "id": "Extension:causativefactor.value[x]", + "path": "Extension.value[x]", + "slicing": { + "id": "257", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + } + ] + }, + { + "id": "Extension:causativefactor.valueCodeableConcept:shr-core-CodeableConcept", + "path": "Extension.valueCodeableConcept", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json new file mode 100755 index 0000000..62c1b5d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-ImmersionDepth-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-ImmersionDepth-extension", + "text": { + "status": "generated", + "div": "
\n

SHR ImmersionDepth Extension

\n

Depth of penetration (sinking) into a support surface.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.ImmersionDepth" + } + ], + "name": "SHR ImmersionDepth Extension", + "title": "SHR ImmersionDepth Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.498Z", + "description": "Depth of penetration (sinking) into a support surface.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:immersiondepth", + "path": "Extension", + "short": "SHR ImmersionDepth Extension", + "definition": "Depth of penetration (sinking) into a support surface.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:immersiondepth.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:immersiondepth.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:immersiondepth.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:immersiondepth.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:immersiondepth", + "path": "Extension", + "short": "SHR ImmersionDepth Extension", + "definition": "Depth of penetration (sinking) into a support surface.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:immersiondepth.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:immersiondepth.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension" + }, + { + "id": "Extension:immersiondepth.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json new file mode 100755 index 0000000..0913fce --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcer.json @@ -0,0 +1,1772 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-PressureUlcer", + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcer Profile

\n

A single pressure ulcer, tracked over a period of time. Multiple PressureUlcerAssessments (at different times) may be associated with a single PressureUlcer.

\n

SHR Mapping Summary

\n

shr.skin.PressureUlcer maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcer", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcer" + } + ], + "name": "SHR PressureUlcer Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.502Z", + "description": "A single pressure ulcer, tracked over a period of time. Multiple PressureUlcerAssessments (at different times) may be associated with a single PressureUlcer.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-skin-PressureUlcer", + "path": "Condition", + "short": "SHR PressureUlcer Profile", + "definition": "A single pressure ulcer, tracked over a period of time. Multiple PressureUlcerAssessments (at different times) may be associated with a single PressureUlcer.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-skin-PressureUlcer", + "path": "Condition", + "short": "SHR PressureUlcer Profile", + "definition": "A single pressure ulcer, tracked over a period of time. Multiple PressureUlcerAssessments (at different times) may be associated with a single PressureUlcer." + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:includeonproblemlist", + "path": "Condition.extension", + "sliceName": "includeonproblemlist", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:whenclinicallyrecognized", + "path": "Condition.extension", + "sliceName": "whenclinicallyrecognized", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:preexisting", + "path": "Condition.extension", + "sliceName": "preexisting", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:criticality", + "path": "Condition.extension", + "sliceName": "criticality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.extension:causativefactor", + "path": "Condition.extension", + "sliceName": "causativefactor", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcer.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-skin-PressureUlcer.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcer.severity", + "path": "Condition.severity", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcer.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-skin-PressureUlcer.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcer.stage", + "path": "Condition.stage" + }, + { + "id": "Condition:shr-skin-PressureUlcer.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence", + "path": "Condition.evidence" + }, + { + "id": "Condition:shr-skin-PressureUlcer.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json new file mode 100755 index 0000000..d600325 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerBodySite.json @@ -0,0 +1,672 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-PressureUlcerBodySite", + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerBodySite Profile

\n

The site of a pressure ulcer.

\n

SHR Mapping Summary

\n

shr.skin.PressureUlcerBodySite maps to BodySite:\n  CodeableConcept maps to code\n  Laterality maps to modifier (slice on = coding.code)\n  Directionality maps to modifier\n  PortionTotality maps to modifier\n  Description maps to description\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerBodySite", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerBodySite" + } + ], + "name": "SHR PressureUlcerBodySite Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.505Z", + "description": "The site of a pressure ulcer.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "openehr", + "uri": "http://openehr.org", + "name": "Open EHR Archetype Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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": "BodySite", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/BodySite", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "BodySite:shr-skin-PressureUlcerBodySite", + "path": "BodySite", + "short": "SHR PressureUlcerBodySite Profile", + "definition": "The site of a pressure ulcer.", + "alias": [ + "anatomical 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "openehr", + "map": "Archetype ID openEHR-EHR-CLUSTER.anatomical_location.v1 Concept name Anatomical Location Concept description Record details about an anatomical location. Keywords location, site, anatomical Copyright © openEHR Foundation Purpose To record details about anatomical location. Misuse Not for specifiying unilateral/bilateral occurence - this is related to an evaluation which perhaps includes multiple locations. Author Author name: Heather Leslie Organisation: Ocean Informatics Email: heather.leslie@oceaninformatics.com Date of Origination: 2008-11-10 Translator Norwegian Bokmål: Lars Bitsch-Larsen, Haukeland University Hospital of Bergen, Norway, MD, DEAA, MBA, spec in anesthesia, spec in tropical medicine. Arabic (Syria): Mona Saleh Other contributors Heather Leslie, Ocean Informatics, Australia (Editor) Ian McNicoll, freshEHR Clinical Informatics, United Kingdom (Editor) Dunmail Hodkinson, Black Pear Software Ltd, UK References Use cases: - 5LICS, midclavicular line - L forearm, 2cm anterior to the cubital fossa - Right iliac fossa - 5 cm below L tibial tuberosity - 2 cm medial to R nipple - 4 cm below R costal margin in midclavicular line - R femur - midline nose - medial aspect of R great toe nail." + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.id", + "path": "BodySite.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.meta", + "path": "BodySite.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.implicitRules", + "path": "BodySite.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.language", + "path": "BodySite.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.text", + "path": "BodySite.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.contained", + "path": "BodySite.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.extension", + "path": "BodySite.extension", + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifierExtension", + "path": "BodySite.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.patient", + "path": "BodySite.patient", + "short": "Patient", + "definition": "The person to which the body site belongs.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "isSummary": true + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.identifier", + "path": "BodySite.identifier", + "short": "Bodysite identifier", + "definition": "Identifier for this instance of the anatomical location.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "openehr", + "map": "Specific location Cluster Optional (0..1) Cardinality: Mandatory, repeating, unordered (1..*)" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.code", + "path": "BodySite.code", + "short": "Named anatomical location", + "definition": "Named anatomical location - ideally coded where possible.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "openehr", + "map": "Name of location" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier", + "path": "BodySite.modifier", + "slicing": { + "id": "260", + "discriminator": [ + "coding.code" + ], + "ordered": false, + "rules": "open" + }, + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Concepts modifying the anatomic location", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/bodysite-relative-location" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-Laterality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Laterality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-Directionality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Directionality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-PortionTotality", + "path": "BodySite.modifier", + "sliceName": "shr-core-PortionTotality", + "short": "Modification to location code", + "definition": "Modifier to refine the anatomical location. These include modifiers for laterality, relative location, directionality, number, and plane.", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No distinct element defined in V2.x. The IHE Radiology Technical Framework directs the use of OBR-15-specimen source to contain laterality for imaging studies." + }, + { + "identity": "openehr", + "map": "Combines Side, Numerical identifier, Anatomical plane,and Aspect" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.description", + "path": "BodySite.description", + "short": "The Description of anatomical location", + "definition": "Description of anatomical location.", + "comments": "This Description could include any visual markings used to orientate the viewer e.g. external reference points, special sutures, ink markings.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "openehr", + "map": "Description of anatomical location/Visual markings/orientation" + } + ] + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.image", + "path": "BodySite.image", + "short": "Attached images", + "definition": "Image or images used to identify a location.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mapping": [ + { + "identity": "openehr", + "map": "Image" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "BodySite:shr-skin-PressureUlcerBodySite", + "path": "BodySite", + "short": "SHR PressureUlcerBodySite Profile", + "definition": "The site of a pressure ulcer." + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.code", + "path": "BodySite.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS" + } + } + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier", + "path": "BodySite.modifier", + "slicing": { + "id": "260", + "discriminator": [ + "coding.code" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-Laterality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Laterality", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS" + } + } + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-Directionality", + "path": "BodySite.modifier", + "sliceName": "shr-core-Directionality", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS" + } + } + }, + { + "id": "BodySite:shr-skin-PressureUlcerBodySite.modifier:shr-core-PortionTotality", + "path": "BodySite.modifier", + "sliceName": "shr-core-PortionTotality", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json new file mode 100755 index 0000000..8f91ad0 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerManifestation.json @@ -0,0 +1,2417 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-PressureUlcerManifestation", + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerManifestation Profile

\n

Observation regarding the properties and severity of a single pressure ulcer.

\n

SHR Mapping Summary

\n

shr.skin.PressureUlcerManifestation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerManifestation" + } + ], + "name": "SHR PressureUlcerManifestation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.519Z", + "description": "Observation regarding the properties and severity of a single pressure ulcer.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-skin-PressureUlcerManifestation", + "path": "Observation", + "short": "SHR PressureUlcerManifestation Profile", + "definition": "Observation regarding the properties and severity of a single pressure ulcer.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension", + "path": "Observation.extension", + "slicing": { + "id": "269", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:severity", + "path": "Observation.extension", + "sliceName": "severity", + "definition": "Degree of severity of a symptom, disorder, or problem.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:bodysite", + "path": "Observation.extension", + "sliceName": "bodysite", + "definition": "Location on or in the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:visibleinternalstructure", + "path": "Observation.extension", + "sliceName": "visibleinternalstructure", + "definition": "An internal body structure visible from outside the body, for example, due to injury.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundsize", + "path": "Observation.extension", + "sliceName": "woundsize", + "definition": "The estimated or measured dimensions of a wound.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundtunnelling", + "path": "Observation.extension", + "sliceName": "woundtunnelling", + "definition": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundundermining", + "path": "Observation.extension", + "sliceName": "woundundermining", + "definition": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundbedandedge", + "path": "Observation.extension", + "sliceName": "woundbedandedge", + "definition": "SHR WoundBedAndEdge Extension", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundexudate", + "path": "Observation.extension", + "sliceName": "woundexudate", + "definition": "A mass of cells and fluid that has seeped out of a wound.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "270", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54574-9" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-skin-PressureUlcerManifestation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-skin-PressureUlcerManifestation", + "path": "Observation", + "short": "SHR PressureUlcerManifestation Profile", + "definition": "Observation regarding the properties and severity of a single pressure ulcer." + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:severity", + "path": "Observation.extension", + "sliceName": "severity", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:bodysite", + "path": "Observation.extension", + "sliceName": "bodysite", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:visibleinternalstructure", + "path": "Observation.extension", + "sliceName": "visibleinternalstructure", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundsize", + "path": "Observation.extension", + "sliceName": "woundsize", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundtunnelling", + "path": "Observation.extension", + "sliceName": "woundtunnelling", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundundermining", + "path": "Observation.extension", + "sliceName": "woundundermining", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundbedandedge", + "path": "Observation.extension", + "sliceName": "woundbedandedge", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:woundexudate", + "path": "Observation.extension", + "sliceName": "woundexudate", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "54574-9" + } + ] + }, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-skin-PressureUlcerManifestation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json new file mode 100755 index 0000000..37a6081 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-PressureUlcerNotPresent.json @@ -0,0 +1,1968 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-PressureUlcerNotPresent", + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerNotPresent Profile

\n

A statement that there is no pressure ulcer at a given body site. If body site is omitted, or if the body site is a coding representing the entire body, then the inference is that no pressure ulcers is present anywhere on the body.

\n

SHR Mapping Summary

\n

shr.skin.PressureUlcerNotPresent maps to Condition:\n  Entry.Informant maps to asserter\n  Entry.OriginalCreationDate maps to assertedDate\n  CodeableConcept maps to code\n  ProblemCategory maps to category\n  ClinicalStatus maps to clinicalStatus\n  Onset maps to onset[x]\n  Abatement maps to abatement[x]\n  BodySite maps to bodySite\n  Severity maps to severity\n  GradeOrStage maps to stage\n  GradeOrStage.CodeableConcept maps to stage.summary\n  Manifestation maps to evidence\n  Manifestation.ObservationCode maps to evidence.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerNotPresent" + } + ], + "name": "SHR PressureUlcerNotPresent Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.509Z", + "description": "A statement that there is no pressure ulcer at a given body site. If body site is omitted, or if the body site is a coding representing the entire body, then the inference is that no pressure ulcers is present anywhere on the body.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:shr-skin-PressureUlcerNotPresent", + "path": "Condition", + "short": "SHR PressureUlcerNotPresent Profile", + "definition": "A statement that there is no pressure ulcer at a given body site. If body site is omitted, or if the body site is a coding representing the entire body, then the inference is that no pressure ulcers is present anywhere on the body.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|:\n246090004 |Associated finding| =\n((< 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|) OR\n< 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-1" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 254291000 |Staging and scales|" + }, + { + "identity": "v2", + "map": "PRB-14" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ClinicalImpression" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "The evidence may be a simple list of coded symptoms/manifestations, or references to observations or formal assessments, or both.", + "min": 0, + "max": "0", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence.detail", + "path": "Condition.evidence.detail", + "short": "Supporting information found elsewhere", + "definition": "Links to other relevant information, including pathology reports.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "condition": [ + "con-2" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "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:shr-skin-PressureUlcerNotPresent", + "path": "Condition", + "short": "SHR PressureUlcerNotPresent Profile", + "definition": "A statement that there is no pressure ulcer at a given body site. If body site is omitted, or if the body site is a coding representing the entire body, then the inference is that no pressure ulcers is present anywhere on the body." + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.extension:generalizedlikelihood", + "path": "Condition.extension", + "sliceName": "generalizedlikelihood", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.extension:supportingevidencequality", + "path": "Condition.extension", + "sliceName": "supportingevidencequality", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.extension:causativefactor", + "path": "Condition.extension", + "sliceName": "causativefactor", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.modifierExtension:nonoccurrencemodifier", + "path": "Condition.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "fixedBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.category", + "path": "Condition.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.severity", + "path": "Condition.severity", + "min": 0, + "max": "0", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.code", + "path": "Condition.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.bodySite", + "path": "Condition.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.onset[x]", + "path": "Condition.onset[x]", + "min": 0, + "max": "0" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.abatement[x]", + "path": "Condition.abatement[x]", + "min": 0, + "max": "0" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.assertedDate", + "path": "Condition.assertedDate", + "min": 1, + "max": "1" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.asserter", + "path": "Condition.asserter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.stage", + "path": "Condition.stage", + "min": 0, + "max": "0" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.stage.summary", + "path": "Condition.stage.summary", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS" + } + } + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence", + "path": "Condition.evidence", + "min": 0, + "max": "0" + }, + { + "id": "Condition:shr-skin-PressureUlcerNotPresent.evidence.code", + "path": "Condition.evidence.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json new file mode 100755 index 0000000..f5f1048 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurface.json @@ -0,0 +1,979 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-SupportSurface", + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurface Profile

\n

A specific instance of a support surface used to distribute pressure and support a patient. The value is coding of the type of support surface.

\n

SHR Mapping Summary

\n

shr.skin.SupportSurface maps to Device:\n  CodeableConcept maps to type\n  DeviceUdi maps to udiCarrier.value\n  VendorModelNumber maps to model\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurface", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurface" + } + ], + "name": "SHR SupportSurface Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.495Z", + "description": "A specific instance of a support surface used to distribute pressure and support a patient. The value is coding of the type of support surface.", + "purpose": "Allows institutions to track their devices.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "udi", + "uri": "http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm", + "name": "UDI Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device:shr-skin-SupportSurface", + "path": "Device", + "short": "SHR SupportSurface Profile", + "definition": "A specific instance of a support surface used to distribute pressure and support a patient. The value is coding of the type of support surface.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "w5", + "map": "administrative.device" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Device:shr-skin-SupportSurface.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Device:shr-skin-SupportSurface.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Device:shr-skin-SupportSurface.language", + "path": "Device.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Device:shr-skin-SupportSurface.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.extension", + "path": "Device.extension", + "slicing": { + "id": "254", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacecategory", + "path": "Device.extension", + "sliceName": "supportsurfacecategory", + "definition": "The category of support surface.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacebodyposition", + "path": "Device.extension", + "sliceName": "supportsurfacebodyposition", + "definition": "What body positions the surface can be used for, specifically, sitting or lying.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacecomponent", + "path": "Device.extension", + "sliceName": "supportsurfacecomponent", + "definition": "A physical material, structure, or system used alone or in combination with other components to fashion a support surface.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comments": "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. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of the UDI that identifies the serial number of a specific device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "Serial Number" + ], + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The serial number which is a component of the 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." + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "[Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.", + "comments": "The udiCarrier string may identify an unique instance of a device, or it may only identify the type of the device. The Human Readable format (HRF) is required in FHIR. AIDC identifiers cannot be conveyed in FHIR, Because of limitations on character sets in XML and the need to round-trip JSON data through XML. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 0, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The full UDI carrier - The Human Readable Form (HRF) representation of the barcode string as printed on the packaging of the device. The 'type' component should be set to “UDI” and the 'system' component to the the appropriate repository url. the additional URL is needed to identify the authoritative source for UDI generation within the jurisdiction. All UDIs are globally unique within a single namespace. with the appropriate repository uri as the system. This allows a recipient of a UDI to know which database will contain the UDI-associated metadata. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC identifiers cannot be conveyed in FHIR." + }, + { + "identity": "rim", + "map": ".id[where root is root for UDI]" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.status", + "path": "Device.status", + "short": "available | not-available | entered-in-error", + "definition": "Status of the Device availability.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The availability status of the device.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/devicestatus" + } + }, + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.type", + "path": "Device.type", + "short": "What kind of device this is", + "definition": "Code or identifier to identify a kind of device.", + "comments": "There can be different code values thath may correspond to different granularities of the same concept. These can be represented as translations using the [codeableConcept](datatypes.html#codeableconcept) datatype. For [UDI](device.html#5.11.3.2.2), this element corresponds to the UDI device identifier (DI) part. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceVS" + } + }, + "mapping": [ + { + "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 devicet. The system uri should be included. Possible URIs include\nGS1 DIs: \n http://hl7.org/fhir/NamingSystem/gs1-di\nHIBCC DIs:\n http://hl7.org/fhir/NamingSystem/hibcc-di\nICCBBA DIs for blood containers:\n http://hl7.org/fhir/NamingSystem/iccbba-blood-di\nICCBA DIs for other devices:\n http://hl7.org/fhir/NamingSystem/iccbba-other-di" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "comments": "Alphanumeric. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the lot or batch number within which a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.manufacturer", + "path": "Device.manufacturer", + "short": "Name of device manufacturer", + "definition": "A name of the manufacturer.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the date a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the 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": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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).", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the expiration date of a physical instance of a device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the 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": "rim", + "map": ".expirationTime" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.model", + "path": "Device.model", + "short": "Model id assigned by the manufacturer", + "definition": "The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.version", + "path": "Device.version", + "short": "Version number (i.e. software)", + "definition": "The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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.", + "comments": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.location", + "path": "Device.location", + "short": "Where the resource 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comments": "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", + "type": [ + { + "code": "uri" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:shr-skin-SupportSurface.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": "*", + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".text" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Device:shr-skin-SupportSurface", + "path": "Device", + "short": "SHR SupportSurface Profile", + "definition": "A specific instance of a support surface used to distribute pressure and support a patient. The value is coding of the type of support surface." + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacecategory", + "path": "Device.extension", + "sliceName": "supportsurfacecategory", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacebodyposition", + "path": "Device.extension", + "sliceName": "supportsurfacebodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Device:shr-skin-SupportSurface.extension:supportsurfacecomponent", + "path": "Device.extension", + "sliceName": "supportsurfacecomponent", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Device:shr-skin-SupportSurface.type", + "path": "Device.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json new file mode 100755 index 0000000..891f73d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-SupportSurfaceBodyPosition-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceBodyPosition Extension

\n

What body positions the surface can be used for, specifically, sitting or lying.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceBodyPosition" + } + ], + "name": "SHR SupportSurfaceBodyPosition Extension", + "title": "SHR SupportSurfaceBodyPosition Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.496Z", + "description": "What body positions the surface can be used for, specifically, sitting or lying.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:supportsurfacebodyposition", + "path": "Extension", + "short": "SHR SupportSurfaceBodyPosition Extension", + "definition": "What body positions the surface can be used for, specifically, sitting or lying.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacebodyposition.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacebodyposition.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacebodyposition.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacebodyposition.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceBodyPositionVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:supportsurfacebodyposition", + "path": "Extension", + "short": "SHR SupportSurfaceBodyPosition Extension", + "definition": "What body positions the surface can be used for, specifically, sitting or lying.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:supportsurfacebodyposition.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:supportsurfacebodyposition.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension" + }, + { + "id": "Extension:supportsurfacebodyposition.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceBodyPositionVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json new file mode 100755 index 0000000..8e3f7b3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-SupportSurfaceCategory-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceCategory Extension

\n

The category of support surface.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceCategory" + } + ], + "name": "SHR SupportSurfaceCategory Extension", + "title": "SHR SupportSurfaceCategory Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.496Z", + "description": "The category of support surface.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:supportsurfacecategory", + "path": "Extension", + "short": "SHR SupportSurfaceCategory Extension", + "definition": "The category of support surface.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacecategory.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacecategory.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacecategory.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacecategory.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceCategoryVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:supportsurfacecategory", + "path": "Extension", + "short": "SHR SupportSurfaceCategory Extension", + "definition": "The category of support surface.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:supportsurfacecategory.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:supportsurfacecategory.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension" + }, + { + "id": "Extension:supportsurfacecategory.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceCategoryVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json new file mode 100755 index 0000000..5bb648c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-SupportSurfaceComponent-extension", + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceComponent Extension

\n

A physical material, structure, or system used alone or in combination with other components to fashion a support surface.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceComponent" + } + ], + "name": "SHR SupportSurfaceComponent Extension", + "title": "SHR SupportSurfaceComponent Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.496Z", + "description": "A physical material, structure, or system used alone or in combination with other components to fashion a support surface.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:supportsurfacecomponent", + "path": "Extension", + "short": "SHR SupportSurfaceComponent Extension", + "definition": "A physical material, structure, or system used alone or in combination with other components to fashion a support surface.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacecomponent.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacecomponent.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:supportsurfacecomponent.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:supportsurfacecomponent.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceComponentVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:supportsurfacecomponent", + "path": "Extension", + "short": "SHR SupportSurfaceComponent Extension", + "definition": "A physical material, structure, or system used alone or in combination with other components to fashion a support surface.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:supportsurfacecomponent.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:supportsurfacecomponent.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension" + }, + { + "id": "Extension:supportsurfacecomponent.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceComponentVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json new file mode 100755 index 0000000..7d85c36 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-SupportSurfaceEmployed.json @@ -0,0 +1,915 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-SupportSurfaceEmployed", + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceEmployed Profile

\n

A paricular instance of the use of a support surface in patient care.

\n

SHR Mapping Summary

\n

shr.skin.SupportSurfaceEmployed maps to DeviceUseStatement:\n  Entry.FocalSubject maps to subject\n  Device maps to device\n  Reason maps to indication\n  PeriodOfUse maps to whenUsed\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceEmployed" + } + ], + "name": "SHR SupportSurfaceEmployed Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.497Z", + "description": "A paricular instance of the use of a support surface in patient care.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DeviceUseStatement", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DeviceUseStatement", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed", + "path": "DeviceUseStatement", + "short": "SHR SupportSurfaceEmployed Profile", + "definition": "A paricular instance of the use of a support surface in patient care.", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "quick", + "map": "DeviceUsePerformanceOccurrence" + }, + { + "identity": "w5", + "map": "workflow.order" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.id", + "path": "DeviceUseStatement.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.meta", + "path": "DeviceUseStatement.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.implicitRules", + "path": "DeviceUseStatement.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.language", + "path": "DeviceUseStatement.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.text", + "path": "DeviceUseStatement.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.contained", + "path": "DeviceUseStatement.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension", + "path": "DeviceUseStatement.extension", + "slicing": { + "id": "255", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:deviceusestatus", + "path": "DeviceUseStatement.extension", + "sliceName": "deviceusestatus", + "definition": "A code representing the patient or other source's judgment about the state of the device used that this statement is about. Generally this will be active or completed.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted", + "path": "DeviceUseStatement.extension", + "sliceName": "implanted", + "definition": "Whether this device is implanted in the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted.id", + "path": "DeviceUseStatement.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted.extension:extension", + "path": "DeviceUseStatement.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted.url", + "path": "DeviceUseStatement.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted.valueBoolean", + "path": "DeviceUseStatement.extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "fixedBoolean": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:immersiondepth", + "path": "DeviceUseStatement.extension", + "sliceName": "immersiondepth", + "definition": "Depth of penetration (sinking) into a support surface.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.modifierExtension", + "path": "DeviceUseStatement.modifierExtension", + "slicing": { + "id": "256", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.modifierExtension:nonoccurrencemodifier", + "path": "DeviceUseStatement.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "definition": "When true, indicates either that the event or action documented in the entry did not occur, or the the thing documented is absent or does not exist.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.bodySite", + "path": "DeviceUseStatement.bodySite", + "short": "Target body site", + "definition": "Indicates the site on the subject's body where the device was used ( i.e. the target site).", + "requirements": "Knowing where the device is targeted is important for tracking if multiple sites are possible. If more information than just a code is required, use the extension [http://hl7.org/fhir/StructureDefinition/body-site-instance](null.html).", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.whenUsed", + "path": "DeviceUseStatement.whenUsed", + "short": "Period device was used", + "definition": "The time period over which the device was used.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Performance.performanceTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.device", + "path": "DeviceUseStatement.device", + "short": "Reference to device used", + "definition": "The details of the device used.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurface" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "DeviceUse.device" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.identifier", + "path": "DeviceUseStatement.identifier", + "short": "External identifier for this record", + "definition": "An external identifier for this statement such as an IRI.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.identifier" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.indication", + "path": "DeviceUseStatement.indication", + "short": "Why device was used", + "definition": "Reason or justification for the use of the device.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "Action.indication.reason" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.notes", + "path": "DeviceUseStatement.notes", + "short": "Addition details (comments, instructions)", + "definition": "Details about the device statement that were not represented at all or sufficiently in one of the attributes provided in a class. These may include for example a comment, an instruction, or a note associated with the statement.", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.additionalText" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.recordedOn", + "path": "DeviceUseStatement.recordedOn", + "short": "When statement was recorded", + "definition": "The time at which the statement was made/recorded.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.statementDateTime" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.subject", + "path": "DeviceUseStatement.subject", + "short": "Patient using device", + "definition": "The patient who used the device.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "ClinicalStatement.subject" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.timing[x]", + "path": "DeviceUseStatement.timing[x]", + "short": "How often the device was used", + "definition": "How often the device was used.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Timing" + }, + { + "code": "Period" + }, + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "quick", + "map": "DeviceUse.applicationSchedule" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed", + "path": "DeviceUseStatement", + "short": "SHR SupportSurfaceEmployed Profile", + "definition": "A paricular instance of the use of a support surface in patient care." + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:deviceusestatus", + "path": "DeviceUseStatement.extension", + "sliceName": "deviceusestatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:implanted", + "path": "DeviceUseStatement.extension", + "sliceName": "implanted", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension" + } + ], + "fixedBoolean": false, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.extension:immersiondepth", + "path": "DeviceUseStatement.extension", + "sliceName": "immersiondepth", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.modifierExtension:nonoccurrencemodifier", + "path": "DeviceUseStatement.modifierExtension", + "sliceName": "nonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.whenUsed", + "path": "DeviceUseStatement.whenUsed", + "type": [ + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.device", + "path": "DeviceUseStatement.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurface" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.indication", + "path": "DeviceUseStatement.indication", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "DeviceUseStatement:shr-skin-SupportSurfaceEmployed.subject", + "path": "DeviceUseStatement.subject", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json new file mode 100755 index 0000000..56efb1e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-VisibleInternalStructure-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-VisibleInternalStructure-extension", + "text": { + "status": "generated", + "div": "
\n

SHR VisibleInternalStructure Extension

\n

An internal body structure visible from outside the body, for example, due to injury.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.VisibleInternalStructure" + } + ], + "name": "SHR VisibleInternalStructure Extension", + "title": "SHR VisibleInternalStructure Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "An internal body structure visible from outside the body, for example, due to injury.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:visibleinternalstructure", + "path": "Extension", + "short": "SHR VisibleInternalStructure Extension", + "definition": "An internal body structure visible from outside the body, for example, due to injury.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:visibleinternalstructure.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:visibleinternalstructure.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:visibleinternalstructure.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:visibleinternalstructure.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-VisibleInternalStructureVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:visibleinternalstructure", + "path": "Extension", + "short": "SHR VisibleInternalStructure Extension", + "definition": "An internal body structure visible from outside the body, for example, due to injury.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:visibleinternalstructure.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:visibleinternalstructure.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension" + }, + { + "id": "Extension:visibleinternalstructure.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-VisibleInternalStructureVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json new file mode 100755 index 0000000..aaa9f90 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundBedAndEdge-extension.json @@ -0,0 +1,363 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundBedAndEdge-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundBedAndEdge Extension

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundBedAndEdge" + } + ], + "name": "SHR WoundBedAndEdge Extension", + "title": "SHR WoundBedAndEdge Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundbedandedge", + "path": "Extension", + "short": "SHR WoundBedAndEdge Extension", + "definition": "WoundBedAndEdge", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundbedandedge.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundbedandedge.extension", + "path": "Extension.extension", + "slicing": { + "id": "267", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundbedandedge.extension:woundedgeappearance", + "path": "Extension.extension", + "sliceName": "woundedgeappearance", + "definition": "Evaluation of the state of the tissue at the edge of the wound.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundbedandedge.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundbedandedge.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundbedandedge", + "path": "Extension", + "short": "SHR WoundBedAndEdge Extension", + "definition": "WoundBedAndEdge", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundbedandedge.extension:woundedgeappearance", + "path": "Extension.extension", + "sliceName": "woundedgeappearance", + "definition": "Evaluation of the state of the tissue at the edge of the wound.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension" + } + ] + }, + { + "id": "Extension:woundbedandedge.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension" + }, + { + "id": "Extension:woundbedandedge.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json new file mode 100755 index 0000000..be2895d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json @@ -0,0 +1,230 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundEdgeAppearance-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundEdgeAppearance Extension

\n

Evaluation of the state of the tissue at the edge of the wound.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundEdgeAppearance" + } + ], + "name": "SHR WoundEdgeAppearance Extension", + "title": "SHR WoundEdgeAppearance Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "Evaluation of the state of the tissue at the edge of the wound.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundedgeappearance", + "path": "Extension", + "short": "SHR WoundEdgeAppearance Extension", + "definition": "Evaluation of the state of the tissue at the edge of the wound.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundedgeappearance.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundedgeappearance.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundedgeappearance.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundedgeappearance.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-WoundEdgeAppearanceVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundedgeappearance", + "path": "Extension", + "short": "SHR WoundEdgeAppearance Extension", + "definition": "Evaluation of the state of the tissue at the edge of the wound.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundedgeappearance.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:woundedgeappearance.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension" + }, + { + "id": "Extension:woundedgeappearance.valueCodeableConcept", + "path": "Extension.valueCodeableConcept", + "min": 1, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-WoundEdgeAppearanceVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json new file mode 100755 index 0000000..7f1e8dc --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundExudate-extension.json @@ -0,0 +1,364 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundExudate-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundExudate Extension

\n

A mass of cells and fluid that has seeped out of a wound.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundExudate" + } + ], + "name": "SHR WoundExudate Extension", + "title": "SHR WoundExudate Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "A mass of cells and fluid that has seeped out of a wound.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundexudate", + "path": "Extension", + "short": "SHR WoundExudate Extension", + "definition": "A mass of cells and fluid that has seeped out of a wound.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundexudate.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundexudate.extension", + "path": "Extension.extension", + "slicing": { + "id": "268", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundexudate.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "A mass of cells and fluid that has seeped out of a wound.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundexudate.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundexudate.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundexudate", + "path": "Extension", + "short": "SHR WoundExudate Extension", + "definition": "A mass of cells and fluid that has seeped out of a wound.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundexudate.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "A mass of cells and fluid that has seeped out of a wound.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:woundexudate.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension" + }, + { + "id": "Extension:woundexudate.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json new file mode 100755 index 0000000..221909d --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundSize-extension.json @@ -0,0 +1,564 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundSize-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundSize Extension

\n

The estimated or measured dimensions of a wound.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundSize" + } + ], + "name": "SHR WoundSize Extension", + "title": "SHR WoundSize Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.520Z", + "description": "The estimated or measured dimensions of a wound.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundsize", + "path": "Extension", + "short": "SHR WoundSize Extension", + "definition": "The estimated or measured dimensions of a wound.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundsize.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension", + "path": "Extension.extension", + "slicing": { + "id": "263", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:area", + "path": "Extension.extension", + "sliceName": "area", + "definition": "The extent of a 2-dimensional surface enclosed within a boundary.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension:circumference", + "path": "Extension.extension", + "sliceName": "circumference", + "definition": "The length of such a boundary line of a figure, area, or object.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension:volume", + "path": "Extension.extension", + "sliceName": "volume", + "definition": "The amount of three dimensional space occupied by an object or the capacity of a space or container.", + "min": 0, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension:width", + "path": "Extension.extension", + "sliceName": "width", + "definition": "The measurement or extent of something from side to side.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension:depth", + "path": "Extension.extension", + "sliceName": "depth", + "definition": "The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.extension:length", + "path": "Extension.extension", + "sliceName": "length", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundsize.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundsize", + "path": "Extension", + "short": "SHR WoundSize Extension", + "definition": "The estimated or measured dimensions of a wound.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundsize.extension:area", + "path": "Extension.extension", + "sliceName": "area", + "definition": "The extent of a 2-dimensional surface enclosed within a boundary.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:circumference", + "path": "Extension.extension", + "sliceName": "circumference", + "definition": "The length of such a boundary line of a figure, area, or object.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:volume", + "path": "Extension.extension", + "sliceName": "volume", + "definition": "The amount of three dimensional space occupied by an object or the capacity of a space or container.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:width", + "path": "Extension.extension", + "sliceName": "width", + "definition": "The measurement or extent of something from side to side.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:depth", + "path": "Extension.extension", + "sliceName": "depth", + "definition": "The extent downward or inward; the perpendicular measurement from the surface downward to determine deepness.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension" + } + ] + }, + { + "id": "Extension:woundsize.extension:length", + "path": "Extension.extension", + "sliceName": "length", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension" + } + ] + }, + { + "id": "Extension:woundsize.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension" + }, + { + "id": "Extension:woundsize.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json new file mode 100755 index 0000000..f4acf4b --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundTunnelling-extension.json @@ -0,0 +1,444 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundTunnelling-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundTunnelling Extension

\n

A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundTunnelling" + } + ], + "name": "SHR WoundTunnelling Extension", + "title": "SHR WoundTunnelling Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundtunnelling", + "path": "Extension", + "short": "SHR WoundTunnelling Extension", + "definition": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundtunnelling.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension", + "path": "Extension.extension", + "slicing": { + "id": "265", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension:clockdirection", + "path": "Extension.extension", + "sliceName": "clockdirection", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension:length", + "path": "Extension.extension", + "sliceName": "length", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundtunnelling.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundtunnelling.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundtunnelling", + "path": "Extension", + "short": "SHR WoundTunnelling Extension", + "definition": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundtunnelling.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "A discharging blind-ended track that extends from the surface of an organ to an underlying area or abscess cavity. The track is invariably lined with granulation tissue. In chronic cases this may be augmented with epithelial tissue.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension:clockdirection", + "path": "Extension.extension", + "sliceName": "clockdirection", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension" + } + ] + }, + { + "id": "Extension:woundtunnelling.extension:length", + "path": "Extension.extension", + "sliceName": "length", + "definition": "The measurement or linear extent of something from end to end; the greater of two or the greatest of three dimensions of a body.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension" + } + ] + }, + { + "id": "Extension:woundtunnelling.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension" + }, + { + "id": "Extension:woundtunnelling.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json new file mode 100755 index 0000000..1f2cb1a --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-skin-WoundUndermining-extension.json @@ -0,0 +1,404 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-skin-WoundUndermining-extension", + "text": { + "status": "generated", + "div": "
\n

SHR WoundUndermining Extension

\n

Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundUndermining" + } + ], + "name": "SHR WoundUndermining Extension", + "title": "SHR WoundUndermining Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.521Z", + "description": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:woundundermining", + "path": "Extension", + "short": "SHR WoundUndermining Extension", + "definition": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:woundundermining.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundundermining.extension", + "path": "Extension.extension", + "slicing": { + "id": "266", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:woundundermining.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundundermining.extension:clockdirection", + "path": "Extension.extension", + "sliceName": "clockdirection", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 1, + "max": "1", + "base": { + "path": "Extension.extension", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundundermining.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:woundundermining.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:woundundermining", + "path": "Extension", + "short": "SHR WoundUndermining Extension", + "definition": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:woundundermining.extension:boolean", + "path": "Extension.extension", + "sliceName": "boolean", + "definition": "Assessment of deep tissue (subcutaneous fat and muscle) damage around the wound margin. Tunneling is just under the skin surface and doesn't involve deep tissue, and sinus tracts are a narrow tract that are away from the wound margins and go downward into the wound.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension" + } + ] + }, + { + "id": "Extension:woundundermining.extension:clockdirection", + "path": "Extension.extension", + "sliceName": "clockdirection", + "definition": "A direction indicated by an angle relative to 12 o'clock.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension" + } + ] + }, + { + "id": "Extension:woundundermining.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension" + }, + { + "id": "Extension:woundundermining.value[x]", + "path": "Extension.value[x]", + "min": 0, + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json new file mode 100755 index 0000000..4391b5c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BloodPressure.json @@ -0,0 +1,3153 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BloodPressure", + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressure Profile

\n

The force of circulating blood on the walls of the arteries.

\n

SHR Mapping Summary

\n

shr.vital.BloodPressure maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n  SystolicPressure maps to component (slice on = code)\n  SystolicPressure.Quantity maps to component.value[x].Quantity\n  SystolicPressure.ObservationCode maps to component.code\n  DiastolicPressure maps to component\n  DiastolicPressure.Quantity maps to component.value[x].Quantity\n  DiastolicPressure.ObservationCode maps to component.code\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressure" + } + ], + "name": "SHR BloodPressure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.623Z", + "description": "The force of circulating blood on the walls of the arteries.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BloodPressure", + "path": "Observation", + "short": "SHR BloodPressure Profile", + "definition": "The force of circulating blood on the walls of the arteries.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BloodPressure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BloodPressure.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BloodPressure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension", + "path": "Observation.extension", + "slicing": { + "id": "316", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:headtiltangle", + "path": "Observation.extension", + "sliceName": "headtiltangle", + "definition": "The angle at which the head is tilted relative to a level position while physiologic tests are taken.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "317", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.category", + "path": "Observation.category", + "slicing": { + "id": "312", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BloodPressure.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "55284-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "0", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BloodPressure.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureBodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureMethodVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component", + "path": "Observation.component", + "slicing": { + "id": "313", + "discriminator": [ + "code" + ], + "ordered": false, + "rules": "open" + }, + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure", + "path": "Observation.component", + "sliceName": "shr-vital-SystolicPressure", + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "314", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure", + "path": "Observation.component", + "sliceName": "shr-vital-DiastolicPressure", + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "315", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BloodPressure", + "path": "Observation", + "short": "SHR BloodPressure Profile", + "definition": "The force of circulating blood on the walls of the arteries." + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.extension:headtiltangle", + "path": "Observation.extension", + "sliceName": "headtiltangle", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BloodPressure.category", + "path": "Observation.category", + "slicing": { + "id": "312", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BloodPressure.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "55284-4" + } + ] + } + }, + { + "id": "Observation:shr-vital-BloodPressure.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BloodPressure.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.value[x]", + "path": "Observation.value[x]", + "min": 0, + "max": "0", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BloodPressure.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureBodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BloodPressure.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureMethodVS" + } + } + }, + { + "id": "Observation:shr-vital-BloodPressure.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + }, + { + "id": "Observation:shr-vital-BloodPressure.component", + "path": "Observation.component", + "slicing": { + "id": "313", + "discriminator": [ + "code" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure", + "path": "Observation.component", + "sliceName": "shr-vital-SystolicPressure", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + } + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "314", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-SystolicPressure.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure", + "path": "Observation.component", + "sliceName": "shr-vital-DiastolicPressure", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + } + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "315", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BloodPressure.component:shr-vital-DiastolicPressure.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json new file mode 100755 index 0000000..cde1f88 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyHeight.json @@ -0,0 +1,2384 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BodyHeight", + "text": { + "status": "generated", + "div": "
\n

SHR BodyHeight Profile

\n

The distance from the sole to the crown of the head.

\n

SHR Mapping Summary

\n

shr.vital.BodyHeight maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyHeight" + } + ], + "name": "SHR BodyHeight Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.570Z", + "description": "The distance from the sole to the crown of the head.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BodyHeight", + "path": "Observation", + "short": "SHR BodyHeight Profile", + "definition": "The distance from the sole to the crown of the head.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyHeight.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyHeight.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BodyHeight.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension", + "path": "Observation.extension", + "slicing": { + "id": "292", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "293", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.category", + "path": "Observation.category", + "slicing": { + "id": "290", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyHeight.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "291", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BodyHeight.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BodyHeight", + "path": "Observation", + "short": "SHR BodyHeight Profile", + "definition": "The distance from the sole to the crown of the head." + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyHeight.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyHeight.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyHeight.category", + "path": "Observation.category", + "slicing": { + "id": "290", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyHeight.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyHeight.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyHeight.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "291", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "id": "Observation:shr-vital-BodyHeight.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyHeight.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyHeight.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BodyHeight.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json new file mode 100755 index 0000000..d29fcc4 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyLength.json @@ -0,0 +1,2384 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BodyLength", + "text": { + "status": "generated", + "div": "
\n

SHR BodyLength Profile

\n

The distance from the sole of the foot to the crown of the head, lying down (typically 0-2 years).

\n

SHR Mapping Summary

\n

shr.vital.BodyLength maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyLength" + } + ], + "name": "SHR BodyLength Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.580Z", + "description": "The distance from the sole of the foot to the crown of the head, lying down (typically 0-2 years).", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BodyLength", + "path": "Observation", + "short": "SHR BodyLength Profile", + "definition": "The distance from the sole of the foot to the crown of the head, lying down (typically 0-2 years).", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyLength.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyLength.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BodyLength.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension", + "path": "Observation.extension", + "slicing": { + "id": "296", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "297", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.category", + "path": "Observation.category", + "slicing": { + "id": "294", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyLength.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "295", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BodyLength.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BodyLength", + "path": "Observation", + "short": "SHR BodyLength Profile", + "definition": "The distance from the sole of the foot to the crown of the head, lying down (typically 0-2 years)." + }, + { + "id": "Observation:shr-vital-BodyLength.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyLength.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyLength.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyLength.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyLength.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyLength.category", + "path": "Observation.category", + "slicing": { + "id": "294", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyLength.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8306-3" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyLength.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyLength.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "295", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "id": "Observation:shr-vital-BodyLength.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyLength.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyLength.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BodyLength.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json new file mode 100755 index 0000000..3abb53f --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyMassIndex.json @@ -0,0 +1,3460 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BodyMassIndex", + "text": { + "status": "generated", + "div": "
\n

SHR BodyMassIndex Profile

\n

A general indicator of the body fat an individual is carrying based upon the ratio of weight to height.

\n

SHR Mapping Summary

\n

shr.vital.BodyMassIndex maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n  BodyWeight maps to component (slice on = code)\n  BodyWeight.Quantity maps to component.value[x].Quantity\n  BodyWeight.ObservationCode maps to component.code\n  BodyWeight.Interpretation maps to component.interpretation\n  BodyWeight.ReferenceRange maps to component.referenceRange\n  BodyHeight maps to component\n  BodyHeight.Quantity maps to component.value[x].Quantity\n  BodyHeight.ObservationCode maps to component.code\n  BodyHeight.Interpretation maps to component.interpretation\n  BodyHeight.ReferenceRange maps to component.referenceRange\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyMassIndex" + } + ], + "name": "SHR BodyMassIndex Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.605Z", + "description": "A general indicator of the body fat an individual is carrying based upon the ratio of weight to height.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BodyMassIndex", + "path": "Observation", + "short": "SHR BodyMassIndex Profile", + "definition": "A general indicator of the body fat an individual is carrying based upon the ratio of weight to height.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyMassIndex.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension", + "path": "Observation.extension", + "slicing": { + "id": "310", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "311", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.category", + "path": "Observation.category", + "slicing": { + "id": "306", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BodyMassIndex.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component", + "path": "Observation.component", + "slicing": { + "id": "307", + "discriminator": [ + "code" + ], + "ordered": false, + "rules": "open" + }, + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight", + "path": "Observation.component", + "sliceName": "shr-vital-BodyWeight", + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "308", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "kg" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.id", + "path": "Observation.component.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.extension", + "path": "Observation.component.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.modifierExtension", + "path": "Observation.component.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.low", + "path": "Observation.component.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.high", + "path": "Observation.component.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.meaning", + "path": "Observation.component.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.age", + "path": "Observation.component.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.referenceRange.text", + "path": "Observation.component.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight", + "path": "Observation.component", + "sliceName": "shr-vital-BodyHeight", + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.code", + "path": "Observation.component.code", + "short": "Type of component observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"code\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "309", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual component result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "short": "Why the component result is missing", + "definition": "Provides a reason why the expected value in the element Observation.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.id", + "path": "Observation.component.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.extension", + "path": "Observation.component.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.modifierExtension", + "path": "Observation.component.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.low", + "path": "Observation.component.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.high", + "path": "Observation.component.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.meaning", + "path": "Observation.component.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.age", + "path": "Observation.component.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.referenceRange.text", + "path": "Observation.component.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BodyMassIndex", + "path": "Observation", + "short": "SHR BodyMassIndex Profile", + "definition": "A general indicator of the body fat an individual is carrying based upon the ratio of weight to height." + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyMassIndex.category", + "path": "Observation.category", + "slicing": { + "id": "306", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "39156-5" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyMassIndex.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.value[x]", + "path": "Observation.value[x]", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component", + "path": "Observation.component", + "slicing": { + "id": "307", + "discriminator": [ + "code" + ], + "ordered": false, + "rules": "open" + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight", + "path": "Observation.component", + "sliceName": "shr-vital-BodyWeight", + "min": 0, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "308", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyWeight.interpretation", + "path": "Observation.component.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight", + "path": "Observation.component", + "sliceName": "shr-vital-BodyHeight", + "min": 0, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.code", + "path": "Observation.component.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8302-2" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.value[x]", + "path": "Observation.component.value[x]", + "slicing": { + "id": "309", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.valueQuantity:shr-core-Quantity", + "path": "Observation.component.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "id": "Observation:shr-vital-BodyMassIndex.component:shr-vital-BodyHeight.interpretation", + "path": "Observation.component.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json new file mode 100755 index 0000000..0628579 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyTemperature.json @@ -0,0 +1,2384 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BodyTemperature", + "text": { + "status": "generated", + "div": "
\n

SHR BodyTemperature Profile

\n

The measure of the level of heat in a human or animal.

\n

SHR Mapping Summary

\n

shr.vital.BodyTemperature maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyTemperature" + } + ], + "name": "SHR BodyTemperature Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.562Z", + "description": "The measure of the level of heat in a human or animal.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BodyTemperature", + "path": "Observation", + "short": "SHR BodyTemperature Profile", + "definition": "The measure of the level of heat in a human or animal.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyTemperature.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyTemperature.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension", + "path": "Observation.extension", + "slicing": { + "id": "288", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "289", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.category", + "path": "Observation.category", + "slicing": { + "id": "286", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "287", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "Cel" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BodyTemperature.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureBodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BodyTemperature", + "path": "Observation", + "short": "SHR BodyTemperature Profile", + "definition": "The measure of the level of heat in a human or animal." + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyTemperature.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyTemperature.category", + "path": "Observation.category", + "slicing": { + "id": "286", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8310-5" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyTemperature.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "287", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "Cel" + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureBodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyTemperature.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BodyTemperature.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json new file mode 100755 index 0000000..0d995c3 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-BodyWeight.json @@ -0,0 +1,2384 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-BodyWeight", + "text": { + "status": "generated", + "div": "
\n

SHR BodyWeight Profile

\n

The mass or quantity of heaviness of an individual. Does not include estimates of fetal bodyweight.

\n

SHR Mapping Summary

\n

shr.vital.BodyWeight maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyWeight" + } + ], + "name": "SHR BodyWeight Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.590Z", + "description": "The mass or quantity of heaviness of an individual. Does not include estimates of fetal bodyweight.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-BodyWeight", + "path": "Observation", + "short": "SHR BodyWeight Profile", + "definition": "The mass or quantity of heaviness of an individual. Does not include estimates of fetal bodyweight.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyWeight.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyWeight.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-BodyWeight.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension", + "path": "Observation.extension", + "slicing": { + "id": "300", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyWeightQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "301", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.category", + "path": "Observation.category", + "slicing": { + "id": "298", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyWeight.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "299", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "kg" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-BodyWeight.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-BodyWeight", + "path": "Observation", + "short": "SHR BodyWeight Profile", + "definition": "The mass or quantity of heaviness of an individual. Does not include estimates of fetal bodyweight." + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyWeightQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyWeight.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyWeight.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-BodyWeight.category", + "path": "Observation.category", + "slicing": { + "id": "298", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyWeight.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29463-7" + } + ] + } + }, + { + "id": "Observation:shr-vital-BodyWeight.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-BodyWeight.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "299", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "kg" + } + }, + { + "id": "Observation:shr-vital-BodyWeight.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyWeight.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-BodyWeight.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-BodyWeight.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json new file mode 100755 index 0000000..9390d5c --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-DiastolicPressure.json @@ -0,0 +1,2036 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-DiastolicPressure", + "text": { + "status": "generated", + "div": "
\n

SHR DiastolicPressure Profile

\n

The blood pressure after the contraction of the heart while the chambers of the heart refill with blood, when the pressure is lowest.

\n

SHR Mapping Summary

\n

shr.vital.DiastolicPressure maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.DiastolicPressure" + } + ], + "name": "SHR DiastolicPressure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.639Z", + "description": "The blood pressure after the contraction of the heart while the chambers of the heart refill with blood, when the pressure is lowest.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-DiastolicPressure", + "path": "Observation", + "short": "SHR DiastolicPressure Profile", + "definition": "The blood pressure after the contraction of the heart while the chambers of the heart refill with blood, when the pressure is lowest.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-DiastolicPressure.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension", + "path": "Observation.extension", + "slicing": { + "id": "320", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:quantity", + "path": "Observation.extension", + "sliceName": "quantity", + "definition": "A quantity with Units.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "321", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-DiastolicPressure.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-DiastolicPressure", + "path": "Observation", + "short": "SHR DiastolicPressure Profile", + "definition": "The blood pressure after the contraction of the heart while the chambers of the heart refill with blood, when the pressure is lowest." + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:quantity", + "path": "Observation.extension", + "sliceName": "quantity", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-DiastolicPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-DiastolicPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-DiastolicPressure.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4" + } + ] + } + }, + { + "id": "Observation:shr-vital-DiastolicPressure.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-DiastolicPressure.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-DiastolicPressure.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json new file mode 100755 index 0000000..c327fec --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadCircumference.json @@ -0,0 +1,2272 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-HeadCircumference", + "text": { + "status": "generated", + "div": "
\n

SHR HeadCircumference Profile

\n

Circumference of the head (typically 0-2 years).

\n

SHR Mapping Summary

\n

shr.vital.HeadCircumference maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeadCircumference" + } + ], + "name": "SHR HeadCircumference Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.597Z", + "description": "Circumference of the head (typically 0-2 years).", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-HeadCircumference", + "path": "Observation", + "short": "SHR HeadCircumference Profile", + "definition": "Circumference of the head (typically 0-2 years).", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeadCircumference.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeadCircumference.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension", + "path": "Observation.extension", + "slicing": { + "id": "304", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "305", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.category", + "path": "Observation.category", + "slicing": { + "id": "302", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "303", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-HeadCircumference.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-HeadCircumference", + "path": "Observation", + "short": "SHR HeadCircumference Profile", + "definition": "Circumference of the head (typically 0-2 years)." + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeadCircumference.category", + "path": "Observation.category", + "slicing": { + "id": "302", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8287-5" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-HeadCircumference.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "303", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "cm" + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-HeadCircumference.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-HeadCircumference.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json new file mode 100755 index 0000000..a1ca7d1 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeadTiltAngle-extension.json @@ -0,0 +1,226 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-HeadTiltAngle-extension", + "text": { + "status": "generated", + "div": "
\n

SHR HeadTiltAngle Extension

\n

The angle at which the head is tilted relative to a level position while physiologic tests are taken.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeadTiltAngle" + } + ], + "name": "SHR HeadTiltAngle Extension", + "title": "SHR HeadTiltAngle Extension", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.626Z", + "description": "The angle at which the head is tilted relative to a level position while physiologic tests are taken.", + "fhirVersion": "1.8.0", + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "*" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:headtiltangle", + "path": "Extension", + "short": "SHR HeadTiltAngle Extension", + "definition": "The angle at which the head is tilted relative to a level position while physiologic tests are taken.", + "min": 0, + "max": "*", + "base": { + "path": "Extension", + "min": 0, + "max": "1" + }, + "condition": [ + "ele-1" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ] + }, + { + "id": "Extension:headtiltangle.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:headtiltangle.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:headtiltangle.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:headtiltangle.valueQuantity", + "path": "Extension.valueQuantity", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "deg" + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:headtiltangle", + "path": "Extension", + "short": "SHR HeadTiltAngle Extension", + "definition": "The angle at which the head is tilted relative to a level position while physiologic tests are taken.", + "min": 0, + "max": "*" + }, + { + "id": "Extension:headtiltangle.extension:extension", + "path": "Extension.extension", + "sliceName": "extension", + "max": "0" + }, + { + "id": "Extension:headtiltangle.url", + "path": "Extension.url", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension" + }, + { + "id": "Extension:headtiltangle.valueQuantity", + "path": "Extension.valueQuantity", + "min": 1, + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "deg" + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json new file mode 100755 index 0000000..cebf40e --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-HeartRate.json @@ -0,0 +1,2389 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-HeartRate", + "text": { + "status": "generated", + "div": "
\n

SHR HeartRate Profile

\n

The number of times the heart ventricles contract per unit of time, usually per minute.

\n

SHR Mapping Summary

\n

shr.vital.HeartRate maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeartRate" + } + ], + "name": "SHR HeartRate Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.545Z", + "description": "The number of times the heart ventricles contract per unit of time, usually per minute.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-HeartRate", + "path": "Observation", + "short": "SHR HeartRate Profile", + "definition": "The number of times the heart ventricles contract per unit of time, usually per minute.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeartRate.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeartRate.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-HeartRate.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension", + "path": "Observation.extension", + "slicing": { + "id": "280", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "281", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.category", + "path": "Observation.category", + "slicing": { + "id": "278", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeartRate.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "279", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "/min" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-HeartRate.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateMethodVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-HeartRate", + "path": "Observation", + "short": "SHR HeartRate Profile", + "definition": "The number of times the heart ventricles contract per unit of time, usually per minute." + }, + { + "id": "Observation:shr-vital-HeartRate.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeartRate.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeartRate.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-HeartRate.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeartRate.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-HeartRate.category", + "path": "Observation.category", + "slicing": { + "id": "278", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeartRate.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8867-4" + } + ] + } + }, + { + "id": "Observation:shr-vital-HeartRate.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-HeartRate.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "279", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + { + "id": "Observation:shr-vital-HeartRate.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-HeartRate.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-HeartRate.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateMethodVS" + } + } + }, + { + "id": "Observation:shr-vital-HeartRate.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-HeartRate.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json new file mode 100755 index 0000000..2bf9b46 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-OxygenSaturation.json @@ -0,0 +1,2272 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-OxygenSaturation", + "text": { + "status": "generated", + "div": "
\n

SHR OxygenSaturation Profile

\n

Oxygen saturation in Arterial blood by Pulse oximetry.

\n

SHR Mapping Summary

\n

shr.vital.OxygenSaturation maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.OxygenSaturation" + } + ], + "name": "SHR OxygenSaturation Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.554Z", + "description": "Oxygen saturation in Arterial blood by Pulse oximetry.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-OxygenSaturation", + "path": "Observation", + "short": "SHR OxygenSaturation Profile", + "definition": "Oxygen saturation in Arterial blood by Pulse oximetry.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-OxygenSaturation.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension", + "path": "Observation.extension", + "slicing": { + "id": "284", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "285", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.category", + "path": "Observation.category", + "slicing": { + "id": "282", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "283", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "%" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-OxygenSaturation.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-OxygenSaturationBodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-OxygenSaturation", + "path": "Observation", + "short": "SHR OxygenSaturation Profile", + "definition": "Oxygen saturation in Arterial blood by Pulse oximetry." + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-OxygenSaturation.category", + "path": "Observation.category", + "slicing": { + "id": "282", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "59408-5" + } + ] + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-OxygenSaturation.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "283", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-OxygenSaturationBodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-OxygenSaturation.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-OxygenSaturation.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json new file mode 100755 index 0000000..c176168 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-RespiratoryRate.json @@ -0,0 +1,2389 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-RespiratoryRate", + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRate Profile

\n

The rate of breathing (inhalation and exhalation) measured within in a unit time, expressed as breaths per minute.

\n

SHR Mapping Summary

\n

shr.vital.RespiratoryRate maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.RespiratoryRate" + } + ], + "name": "SHR RespiratoryRate Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.537Z", + "description": "The rate of breathing (inhalation and exhalation) measured within in a unit time, expressed as breaths per minute.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-RespiratoryRate", + "path": "Observation", + "short": "SHR RespiratoryRate Profile", + "definition": "The rate of breathing (inhalation and exhalation) measured within in a unit time, expressed as breaths per minute.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-RespiratoryRate.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension", + "path": "Observation.extension", + "slicing": { + "id": "276", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier.id", + "path": "Observation.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier.extension:extension", + "path": "Observation.extension.extension", + "sliceName": "extension", + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "0", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier.url", + "path": "Observation.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.", + "comments": "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": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier.valueCodeableConcept", + "path": "Observation.extension.valueCodeableConcept", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 1, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateQualifierVS" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "277", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.category", + "path": "Observation.category", + "slicing": { + "id": "274", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "275", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "sliceName": "shr-core-Quantity", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "/min" + }, + "isSummary": true + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-RespiratoryRate.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateMethodVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-RespiratoryRate", + "path": "Observation", + "short": "SHR RespiratoryRate Profile", + "definition": "The rate of breathing (inhalation and exhalation) measured within in a unit time, expressed as breaths per minute." + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateQualifierVS" + } + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-RespiratoryRate.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-RespiratoryRate.category", + "path": "Observation.category", + "slicing": { + "id": "274", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "9279-1" + } + ] + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-RespiratoryRate.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.value[x]", + "path": "Observation.value[x]", + "slicing": { + "id": "275", + "discriminator": [ + "@type" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.valueQuantity:shr-core-Quantity", + "path": "Observation.valueQuantity", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "/min" + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateMethodVS" + } + } + }, + { + "id": "Observation:shr-vital-RespiratoryRate.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-RespiratoryRate.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json new file mode 100755 index 0000000..e888d44 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-SystolicPressure.json @@ -0,0 +1,2036 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-SystolicPressure", + "text": { + "status": "generated", + "div": "
\n

SHR SystolicPressure Profile

\n

The blood pressure during the contraction of the left ventricle of the heart, when blood pressure is at its highest.

\n

SHR Mapping Summary

\n

shr.vital.SystolicPressure maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.SystolicPressure" + } + ], + "name": "SHR SystolicPressure Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.632Z", + "description": "The blood pressure during the contraction of the left ventricle of the heart, when blood pressure is at its highest.", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-SystolicPressure", + "path": "Observation", + "short": "SHR SystolicPressure Profile", + "definition": "The blood pressure during the contraction of the left ventricle of the heart, when blood pressure is at its highest.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-SystolicPressure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-SystolicPressure.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-SystolicPressure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension", + "path": "Observation.extension", + "slicing": { + "id": "318", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:quantity", + "path": "Observation.extension", + "sliceName": "quantity", + "definition": "A quantity with Units.", + "alias": [ + "extensions", + "user content" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "319", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + }, + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-SystolicPressure.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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 may 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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-SystolicPressure", + "path": "Observation", + "short": "SHR SystolicPressure Profile", + "definition": "The blood pressure during the contraction of the left ventricle of the heart, when blood pressure is at its highest." + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:quantity", + "path": "Observation.extension", + "sliceName": "quantity", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension" + } + ], + "patternQuantity": { + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + }, + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-SystolicPressure.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-SystolicPressure.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-SystolicPressure.category", + "path": "Observation.category", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6" + } + ] + } + }, + { + "id": "Observation:shr-vital-SystolicPressure.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-SystolicPressure.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-SystolicPressure.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json b/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json new file mode 100755 index 0000000..57a13f7 --- /dev/null +++ b/lib/resources/standard_health_record/StructureDefinition-shr-vital-VitalSign.json @@ -0,0 +1,2203 @@ +{ + "resourceType": "StructureDefinition", + "id": "shr-vital-VitalSign", + "text": { + "status": "generated", + "div": "
\n

SHR VitalSign Profile

\n

\n

SHR Mapping Summary

\n

shr.vital.VitalSign maps to Observation:\n  Entry.FocalSubject maps to subject\n  Entry.AssociatedEncounter maps to encounter\n  Entry.OriginalCreationDate maps to issued\n  ObservationCode maps to code\n  ObservationCategory maps to category\n  ObservationStatus maps to status\n  ObservationMethod maps to method\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.TimePeriod maps to effective[x].Period\n  ClinicallyRelevantTime.GeneralizedTemporalContext.GeneralizedDateTime.dateTime maps to effective[x].dateTime\n  Participant maps to performer\n  BodySite maps to bodySite\n  BodyPosition maps to http://hl7.org/fhir/StructureDefinition/observation-bodyPosition\n  Device maps to device\n  TBD "Specimen" maps to specimen\n  Interpretation maps to interpretation\n  ReferenceRange maps to referenceRange\n  ChangeFlag maps to http://hl7.org/fhir/StructureDefinition/observation-delta\n  Quantity maps to value[x].Quantity\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.VitalSign" + } + ], + "name": "SHR VitalSign Profile", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:36.527Z", + "purpose": "Observations are a key aspect of healthcare. This resource is used to capture those that do not require more sophisticated mechanisms.", + "fhirVersion": "1.8.0", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:shr-vital-VitalSign", + "path": "Observation", + "short": "SHR VitalSign Profile", + "definition": "Measurements and simple assertions made about a patient, device or other subject.", + "comments": "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 lab reports, etc.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)" + }, + { + "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')])))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-VitalSign.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:shr-vital-VitalSign.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:shr-vital-VitalSign.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension", + "path": "Observation.extension", + "slicing": { + "id": "272", + "discriminator": [ + "url" + ], + "ordered": false, + "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 resource. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "definition": "The position or physical attitude of the body.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "definition": "Indicator of significant change (delta) from the last or previous measurement.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "definition": "The reason for making the observation.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "definition": "A description of the conditions or context of an observation, for example, under sedation, fasting or post-exercise. Body position and body site are also qualifiers, but handled separately. A qualifier cannot modify the measurement type; for example, a fasting blood sugar is still a blood sugar.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "definition": "A record of a request (order) for a test to be performed.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.modifierExtension", + "path": "Observation.modifierExtension", + "slicing": { + "id": "273", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "definition": "True if the observation did not occcur, e.g., if a test was not performed or the assessment was not done, when it might otherwise be expected.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "requirements": "Need to track the status of individual results. Some results are finalized before the whole report is finalized.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Codes providing the status of an observation.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.category", + "path": "Observation.category", + "slicing": { + "id": "271", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-VitalSign.code", + "path": "Observation.code", + "short": "Type of observation (code / type)", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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.\r\rIf the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "requirements": "Observations have no value if you don't know who or what they're about.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.value[x]", + "path": "Observation.value[x]", + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type).\r\r\rIf the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "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:shr-vital-VitalSign.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Specimen" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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 may 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": "1", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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", + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "condition": [ + "obs-3" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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", + "type": [ + { + "code": "Range" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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", + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "*", + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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\".", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + }, + { + "code": "CodeableConcept" + }, + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.value[x] is missing.", + "comments": "\"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\". The 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", + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.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.", + "comments": "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 may 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": "*", + "contentReference": "#Observation.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:shr-vital-VitalSign", + "path": "Observation", + "short": "SHR VitalSign Profile", + "definition": "Measurements and simple assertions made about a patient, device or other subject." + }, + { + "id": "Observation:shr-vital-VitalSign.extension:bodyposition", + "path": "Observation.extension", + "sliceName": "bodyposition", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-bodyPosition" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.extension:changeflag", + "path": "Observation.extension", + "sliceName": "changeflag", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://hl7.org/fhir/StructureDefinition/observation-delta" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.extension:observationreason", + "path": "Observation.extension", + "sliceName": "observationreason", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.extension:observationqualifier", + "path": "Observation.extension", + "sliceName": "observationqualifier", + "min": 0, + "max": "*", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.extension:testrequest", + "path": "Observation.extension", + "sliceName": "testrequest", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.modifierExtension:observationnonoccurrencemodifier", + "path": "Observation.modifierExtension", + "sliceName": "observationnonoccurrencemodifier", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false + }, + { + "id": "Observation:shr-vital-VitalSign.category", + "path": "Observation.category", + "slicing": { + "id": "271", + "discriminator": [ + "coding" + ], + "ordered": false, + "rules": "open" + }, + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.category:vital-sign", + "path": "Observation.category", + "sliceName": "vital-sign", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "fixedCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-sign" + } + ] + } + }, + { + "id": "Observation:shr-vital-VitalSign.code", + "path": "Observation.code", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Group" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.encounter", + "path": "Observation.encounter", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.effective[x]", + "path": "Observation.effective[x]", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.issued", + "path": "Observation.issued", + "min": 1, + "max": "1" + }, + { + "id": "Observation:shr-vital-VitalSign.performer", + "path": "Observation.performer", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.value[x]", + "path": "Observation.value[x]", + "type": [ + { + "code": "Quantity", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.interpretation", + "path": "Observation.interpretation", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS" + } + } + }, + { + "id": "Observation:shr-vital-VitalSign.bodySite", + "path": "Observation.bodySite", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ], + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS" + } + } + }, + { + "id": "Observation:shr-vital-VitalSign.method", + "path": "Observation.method", + "type": [ + { + "code": "CodeableConcept", + "profile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.device", + "path": "Observation.device", + "type": [ + { + "code": "Reference", + "targetProfile": "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ] + }, + { + "id": "Observation:shr-vital-VitalSign.referenceRange", + "path": "Observation.referenceRange", + "min": 0, + "max": "1" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json b/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json new file mode 100755 index 0000000..7432987 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-actor-AgeGroupVS.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "shr-actor-AgeGroupVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AgeGroupVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-AgeGroupVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.AgeGroupVS" + } + ], + "name": "SHR AgeGroupVS ValueSet", + "title": "SHR AgeGroupVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0935562", + "display": "Neonatal period (~0-1 mo)" + }, + { + "code": "C0231330", + "display": "Infancy (~0-12 mo)" + }, + { + "code": "C0599196", + "display": "Early childhood (~2-5)" + }, + { + "code": "C0001578", + "display": "Teenage (~13-17)" + }, + { + "code": "C0680085", + "display": "Early Adulthood (~18-35)" + }, + { + "code": "C0205847", + "display": "Middle Aged (~36-64)" + }, + { + "code": "C0001792", + "display": "Elderly (~65-79)" + }, + { + "code": "C1999167", + "display": "Old Age (~80+)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json b/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json new file mode 100755 index 0000000..6a7b5c3 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-actor-HealthcareRoleVS.json @@ -0,0 +1,104 @@ +{ + "resourceType": "ValueSet", + "id": "shr-actor-HealthcareRoleVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HealthcareRoleVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.HealthcareRoleVS" + } + ], + "name": "SHR HealthcareRoleVS ValueSet", + "title": "SHR HealthcareRoleVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.809Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0079382", + "display": "Friend" + }, + { + "code": "C0008935", + "display": "Clergy" + }, + { + "code": "C0037444", + "display": "Social worker" + }, + { + "code": "C0687694", + "display": "Case manager" + }, + { + "code": "C0086530", + "display": "Lawyer" + }, + { + "code": "C0023226", + "display": "Legal guardian" + }, + { + "code": "C0337468", + "display": "Foster parent" + }, + { + "code": "C0030697", + "display": "Patient ombudsman" + }, + { + "code": "C2348942", + "display": "Payer" + }, + { + "code": "C0040757", + "display": "Transportation provider" + }, + { + "code": "C0204977", + "display": "Provider of home care" + }, + { + "code": "C0508797", + "display": "Medication assistance" + }, + { + "code": "C0871042", + "display": "Parole officer" + }, + { + "code": "C0042799", + "display": "Visting nurse" + }, + { + "code": "C1552023", + "display": "Emergency contact" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json new file mode 100755 index 0000000..9744135 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-actor-LanguageQualifierVS.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "shr-actor-LanguageQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR LanguageQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-LanguageQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.actor.LanguageQualifierVS" + } + ], + "name": "SHR LanguageQualifierVS ValueSet", + "title": "SHR LanguageQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-actor-LanguageQualifierVS", + "concept": [ + { + "code": "preferred_spoken", + "display": "Preferred language" + }, + { + "code": "secondary_spoken", + "display": "Secondary language" + }, + { + "code": "apraxia", + "display": "Difficulty speaking due to motor disorder" + }, + { + "code": "aphasia", + "display": "Difficulty in speaking, listening, reading, and writing" + }, + { + "code": "signs", + "display": "Uses sign language" + }, + { + "code": "braille", + "display": "Reads using braille" + }, + { + "code": "lipreads", + "display": "Uses lipreading (speechreading)" + }, + { + "code": "aac", + "display": "Uses augmentative and alternative communication" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json b/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json new file mode 100755 index 0000000..054aecf --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergenIrritantVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-allergy-AllergenIrritantVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AllergenIrritantVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.AllergenIrritantVS" + } + ], + "name": "SHR AllergenIrritantVS ValueSet", + "title": "SHR AllergenIrritantVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "105590001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json new file mode 100755 index 0000000..42521c1 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-allergy-AllergyVerificationStatusVS.json @@ -0,0 +1,53 @@ +{ + "resourceType": "ValueSet", + "id": "shr-allergy-AllergyVerificationStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AllergyVerificationStatusVS ValueSet

\n

Whether the allergy has been verified or not. Intentionally a subset of the codes in FHIR, since refuted would be reflected by correcting the 'elevated risk' element, and records entered in error are not included in SHR.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergyVerificationStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.AllergyVerificationStatusVS" + } + ], + "name": "SHR AllergyVerificationStatusVS ValueSet", + "title": "SHR AllergyVerificationStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "description": "Whether the allergy has been verified or not. Intentionally a subset of the codes in FHIR, since refuted would be reflected by correcting the 'elevated risk' element, and records entered in error are not included in SHR.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/allergy-verification-status", + "concept": [ + { + "code": "confirmed", + "display": "Confirmed" + }, + { + "code": "unconfirmed", + "display": "Unconfirmed" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json b/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json new file mode 100755 index 0000000..f1df590 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-allergy-DrugIngredientVS.json @@ -0,0 +1,36 @@ +{ + "resourceType": "ValueSet", + "id": "shr-allergy-DrugIngredientVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DrugIngredientVS ValueSet

\n

Drug allergies involve ingredients or mixtures, not specific dose forms. The value set focuses on drug ingredients.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-DrugIngredientVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.DrugIngredientVS" + } + ], + "name": "SHR DrugIngredientVS ValueSet", + "title": "SHR DrugIngredientVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "description": "Drug allergies involve ingredients or mixtures, not specific dose forms. The value set focuses on drug ingredients." +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json b/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json new file mode 100755 index 0000000..42c3a60 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-allergy-FoodSubstanceVS.json @@ -0,0 +1,35 @@ +{ + "resourceType": "ValueSet", + "id": "shr-allergy-FoodSubstanceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR FoodSubstanceVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-FoodSubstanceVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.allergy.FoodSubstanceVS" + } + ], + "name": "SHR FoodSubstanceVS ValueSet", + "title": "SHR FoodSubstanceVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z" +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json b/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json new file mode 100755 index 0000000..da4514a --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-base-GenericAnswersVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-base-GenericAnswersVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GenericAnswersVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-base-GenericAnswersVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.GenericAnswersVS" + } + ], + "name": "SHR GenericAnswersVS ValueSet", + "title": "SHR GenericAnswersVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-GenericAnswersVS", + "concept": [ + { + "code": "dont_know_answer", + "display": "The source responded that he or she did not know the information needed or requested." + }, + { + "code": "exists_answer", + "display": "The source asserts that the thing in question exists, but additional information is unknown. For example, Jim knows he has a dentist, but not recall her name." + }, + { + "code": "none_answer", + "display": "Nothing of a type of thing is known to exists, e.g., the siblings of an only child. Also use this code to represent a 'none of the above' answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json new file mode 100755 index 0000000..4f549fb --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-base-MissingValueReasonVS.json @@ -0,0 +1,77 @@ +{ + "resourceType": "ValueSet", + "id": "shr-base-MissingValueReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MissingValueReasonVS ValueSet

\n

Reasons that a value associated with a test or other observation is missing.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-base-MissingValueReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.base.MissingValueReasonVS" + } + ], + "name": "SHR MissingValueReasonVS ValueSet", + "title": "SHR MissingValueReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "description": "Reasons that a value associated with a test or other observation is missing.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-MissingValueReasonVS", + "concept": [ + { + "code": "missing_unanswered", + "display": "The source was asked but declined to respond to the question, or the question was left unanswered." + }, + { + "code": "missing_na", + "display": "The question or data element is not applicable, or based on other answers, no answer to this question is required." + }, + { + "code": "missing_redacted", + "display": "The information has been redacted." + }, + { + "code": "missing_no_clue", + "display": "The reason the information is not present is not known." + }, + { + "code": "missing_cancelled", + "display": "The request or order to collect this information was cancelled." + }, + { + "code": "missing_collection", + "display": "Missing due to a problem collecting, identifying, or locating the specimen, including patient refusal or unable to provide specimen" + }, + { + "code": "missing_specimen", + "display": "Missing due to a problem with the specimen, e.g. contamination, clotting, improper tube type, improper storage, too small, etc." + }, + { + "code": "missing_malfunction", + "display": "Missing due to instrument malfunction." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json new file mode 100755 index 0000000..bf175ce --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-AlcoholUseScreeningToolVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AlcoholUseScreeningToolVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-AlcoholUseScreeningToolVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.AlcoholUseScreeningToolVS" + } + ], + "name": "SHR AlcoholUseScreeningToolVS ValueSet", + "title": "SHR AlcoholUseScreeningToolVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-AlcoholUseScreeningToolVS", + "concept": [ + { + "code": "audit", + "display": "AUDIT" + }, + { + "code": "audit_c", + "display": "AUDIT-C" + }, + { + "code": "crafft", + "display": "CRAFFT" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json new file mode 100755 index 0000000..faa8539 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-DietNutritionConcernVS.json @@ -0,0 +1,116 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-DietNutritionConcernVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DietNutritionConcernVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-DietNutritionConcernVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.DietNutritionConcernVS" + } + ], + "name": "SHR DietNutritionConcernVS ValueSet", + "title": "SHR DietNutritionConcernVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-DietNutritionConcernVS", + "concept": [ + { + "code": "sugar", + "display": "Too much sugar" + }, + { + "code": "snacks", + "display": "Frequent snacking" + }, + { + "code": "caffeine", + "display": "Too much caffeine" + }, + { + "code": "cholesterol", + "display": "Too much cholesterol" + }, + { + "code": "overeating", + "display": "Eating too much" + }, + { + "code": "undereating", + "display": "Eating too little" + }, + { + "code": "unhealthy_diet", + "display": "Eating an unhealthy diet" + }, + { + "code": "chewing", + "display": "Problem chewing" + }, + { + "code": "swallowing", + "display": "Problem swallowing" + }, + { + "code": "high_appetite", + "display": "Increased appetite" + }, + { + "code": "low_appetite", + "display": "Decreased appetite" + }, + { + "code": "taste", + "display": "Problem with food taste" + }, + { + "code": "constipation", + "display": "Constipation" + }, + { + "code": "diarrhea", + "display": "Diarrhea" + }, + { + "code": "abdominal_pain", + "display": "Abdominal pain" + }, + { + "code": "gas", + "display": "Flatulence" + }, + { + "code": "binging", + "display": "Binge eating" + }, + { + "code": "purging", + "display": "Purging" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json new file mode 100755 index 0000000..54453bc --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-PhysicalActivityLimitationVS.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-PhysicalActivityLimitationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PhysicalActivityLimitationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-PhysicalActivityLimitationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.PhysicalActivityLimitationVS" + } + ], + "name": "SHR PhysicalActivityLimitationVS ValueSet", + "title": "SHR PhysicalActivityLimitationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-PhysicalActivityLimitationVS", + "concept": [ + { + "code": "conditions", + "display": "Medical Problems or Conditions" + }, + { + "code": "disability", + "display": "Disability" + }, + { + "code": "frail", + "display": "Frailty" + }, + { + "code": "pain", + "display": "Pain or injury" + }, + { + "code": "unaffordable", + "display": "Too expensive" + }, + { + "code": "no_time", + "display": "Not enough time" + }, + { + "code": "lack_knowledge", + "display": "Not sure how" + }, + { + "code": "unmotivated", + "display": "Low motivation" + }, + { + "code": "no_partner", + "display": "Does not have partner" + }, + { + "code": "no_place", + "display": "No place to exercise" + }, + { + "code": "worried", + "display": "Worried about starting exercise program" + }, + { + "code": "embarrassed", + "display": "Too self-conscious" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json new file mode 100755 index 0000000..5448c75 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousPracticeStatusVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-ReligiousPracticeStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousPracticeStatusVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousPracticeStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousPracticeStatusVS" + } + ], + "name": "SHR ReligiousPracticeStatusVS ValueSet", + "title": "SHR ReligiousPracticeStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousPracticeStatusVS", + "concept": [ + { + "code": "practicing", + "display": "Active or observant, currently practicing the tenants of the religion" + }, + { + "code": "occasional", + "display": "Occasionally practicing, for example, on special holidays or occasions" + }, + { + "code": "non_practicing", + "display": "Not currently practicing" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json new file mode 100755 index 0000000..b4e3336 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-ReligiousRestrictionVS.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-ReligiousRestrictionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReligiousRestrictionVS ValueSet

\n

Includes religious restrictions that could impact care, other than dietary restrictions (handled elsewhere).

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousRestrictionVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.ReligiousRestrictionVS" + } + ], + "name": "SHR ReligiousRestrictionVS ValueSet", + "title": "SHR ReligiousRestrictionVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "description": "Includes religious restrictions that could impact care, other than dietary restrictions (handled elsewhere).", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousRestrictionVS", + "concept": [ + { + "code": "same_sex", + "display": "Must have a medical provider of the same sex as the subject" + }, + { + "code": "no_transfusion", + "display": "Cannot receive blood products" + }, + { + "code": "no_treatment", + "display": "Cannot receive medical treatment" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json new file mode 100755 index 0000000..8113dc2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-SleepQualityReasonVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-SleepQualityReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SleepQualityReasonVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SleepQualityReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SleepQualityReasonVS" + } + ], + "name": "SHR SleepQualityReasonVS ValueSet", + "title": "SHR SleepQualityReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SleepQualityReasonVS", + "concept": [ + { + "code": "sleep_location", + "display": "Where you sleep (e.g. noisy or uncomfortable environment)" + }, + { + "code": "shift", + "display": "Shift work" + }, + { + "code": "partner_snoring", + "display": "Partner snoring" + }, + { + "code": "partner", + "display": "Disturbed by partner snoring or moving" + }, + { + "code": "no_time", + "display": "Not enough time to sleep enough" + }, + { + "code": "breathing", + "display": "Trouble breathing, snoring, waking up gasping for breath" + }, + { + "code": "worries", + "display": "Thoughts and worries, anxiety" + }, + { + "code": "nightmares", + "display": "Disturbing dreams" + }, + { + "code": "restless_legs", + "display": "Restless legs" + }, + { + "code": "pain", + "display": "Pain" + }, + { + "code": "not_sleepy", + "display": "Not sleepy at the appropriate time" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json new file mode 100755 index 0000000..6662b2b --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-SpecialDietFollowedVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-SpecialDietFollowedVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SpecialDietFollowedVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SpecialDietFollowedVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SpecialDietFollowedVS" + } + ], + "name": "SHR SpecialDietFollowedVS ValueSet", + "title": "SHR SpecialDietFollowedVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SpecialDietFollowedVS", + "concept": [ + { + "code": "vegetarian", + "display": "Vegetarian diet" + }, + { + "code": "paleo", + "display": "Paleo diet" + }, + { + "code": "kosher", + "display": "Kosher diet" + }, + { + "code": "halal", + "display": "Halal diet" + }, + { + "code": "gluten_free", + "display": "Gluten free diet" + }, + { + "code": "low_salt", + "display": "Low salt diet" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json new file mode 100755 index 0000000..64d0c6c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-SubstanceAbuseTreatmentTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SubstanceAbuseTreatmentTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceAbuseTreatmentTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SubstanceAbuseTreatmentTypeVS" + } + ], + "name": "SHR SubstanceAbuseTreatmentTypeVS ValueSet", + "title": "SHR SubstanceAbuseTreatmentTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SubstanceAbuseTreatmentTypeVS", + "concept": [ + { + "code": "day_treatment", + "display": "Day Treatment Services" + }, + { + "code": "inpatient", + "display": "Inpatient/Hospital" + }, + { + "code": "inpatient_detox", + "display": "Hospital Inpatient Detoxification Services" + }, + { + "code": "ambulatory", + "display": "Outpatient services" + }, + { + "code": "ambulatory_detox", + "display": "Ambulatory Detoxification Services" + }, + { + "code": "outreach", + "display": "Outreach Services" + }, + { + "code": "intensive_outpatient", + "display": "Intensive Outpatient Services" + }, + { + "code": "methadone_treatment", + "display": "Methadone Treatment Services" + }, + { + "code": "residental_rehab", + "display": "Residential/Rehabilitation Services" + }, + { + "code": "after_care", + "display": "After Care Services" + }, + { + "code": "recovery_support", + "display": "Recovery Support Services" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json b/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json new file mode 100755 index 0000000..92d29b0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-behavior-SubstanceOfAbuseVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-behavior-SubstanceOfAbuseVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SubstanceOfAbuseVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.behavior.SubstanceOfAbuseVS" + } + ], + "name": "SHR SubstanceOfAbuseVS ValueSet", + "title": "SHR SubstanceOfAbuseVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.810Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312417001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json new file mode 100755 index 0000000..c071dae --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-BodyPositionVS.json @@ -0,0 +1,89 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-BodyPositionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyPositionVS ValueSet

\n

The body position with respect to gravity.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodyPositionVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.BodyPositionVS" + } + ], + "name": "SHR BodyPositionVS ValueSet", + "title": "SHR BodyPositionVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "The body position with respect to gravity.", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0277814", + "display": "sitting position" + }, + { + "code": "C0277811", + "display": "semi-sitting (Fowlers)" + }, + { + "code": "C0231472", + "display": "standing position (anatomical)" + }, + { + "code": "C0038846", + "display": "supine position (lying face up)" + }, + { + "code": "C0033422", + "display": "prone position(lying face down)" + }, + { + "code": "C0150435", + "display": "semi-prone position (sims position)" + }, + { + "code": "C0559228", + "display": "right lateral recumbent" + }, + { + "code": "C0559227", + "display": "left lateral recumbent (lying on left side)" + }, + { + "code": "C0242683", + "display": "head-down tilt (Trendelenburg)" + }, + { + "code": "C0150665", + "display": "Lithotomy position (lying on back with legs raised)" + }, + { + "code": "C0277810", + "display": "Knee-chest position" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json new file mode 100755 index 0000000..add45b6 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-BodySiteVS.json @@ -0,0 +1,70 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-BodySiteVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodySiteVS ValueSet

\n

Location on or in the body.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.BodySiteVS" + } + ], + "name": "SHR BodySiteVS ValueSet", + "title": "SHR BodySiteVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "Location on or in the body.", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "T023" + } + ] + }, + { + "system": "http://ncimeta.nci.nih.gov", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "T029" + } + ] + }, + { + "system": "http://ncimeta.nci.nih.gov", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "T030" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json new file mode 100755 index 0000000..726101e --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-ClinicalFindingAbsentVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-ClinicalFindingAbsentVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ClinicalFindingAbsentVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClinicalFindingAbsentVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ClinicalFindingAbsentVS" + } + ], + "name": "SHR ClinicalFindingAbsentVS ValueSet", + "title": "SHR ClinicalFindingAbsentVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "373572006" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json new file mode 100755 index 0000000..cca60af --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-ClockDirectionVS.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-ClockDirectionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ClockDirectionVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClockDirectionVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ClockDirectionVS" + } + ], + "name": "SHR ClockDirectionVS ValueSet", + "title": "SHR ClockDirectionVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C3841389", + "display": "1 o'clock position" + }, + { + "code": "C0442313", + "display": "2 o'clock position" + }, + { + "code": "C0442315", + "display": "3 o'clock position" + }, + { + "code": "C0442317", + "display": "4 o'clock position" + }, + { + "code": "C0442319", + "display": "5 o'clock position" + }, + { + "code": "C0442321", + "display": "6 o'clock position" + }, + { + "code": "C0442323", + "display": "7 o'clock position" + }, + { + "code": "C0442325", + "display": "8 o'clock position" + }, + { + "code": "C0442327", + "display": "9 o'clock position" + }, + { + "code": "C0442329", + "display": "10 o'clock position" + }, + { + "code": "C3841386", + "display": "11 o'clock position" + }, + { + "code": "C3841388", + "display": "12 o'clock position" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json new file mode 100755 index 0000000..271f02c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-CodingQualifierVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-CodingQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CodingQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-CodingQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.CodingQualifierVS" + } + ], + "name": "SHR CodingQualifierVS ValueSet", + "title": "SHR CodingQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-CodingQualifierVS", + "concept": [ + { + "code": "preferred_code", + "display": "The preferred, standardized code for interoperability purposes. There should be only one coding in a CodeableConcept with this tag." + }, + { + "code": "source_code", + "display": "The code found in the information source for this entry, e.g., the raw, original, or first encoding." + }, + { + "code": "user_selected_code", + "display": "The code was directly selected by the user, as opposed to being determined after the fact via interpretation of notes or natural language processing." + }, + { + "code": "derived_code", + "display": "The code was determined after-the-fact from source data, either through translation, or via interpretation of free text (by human or machine)." + }, + { + "code": "category_code", + "display": "Indicates the code is a less specific term or a categorization of the source or standard code, i.e., a hypernym. For example, a code for 'vital sign' in the context of a body weight measurement would be a category code. Category codes can be useful for search and query purposes." + }, + { + "code": "coded_expression", + "display": "The code is an expression in an expression language defined by the CodeSystem" + }, + { + "code": "default_code", + "display": "The code was supplied by the system by default, because no specific coded value was available." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json new file mode 100755 index 0000000..e9e15a1 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-DirectionalityVS.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-DirectionalityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DirectionalityVS ValueSet

\n

Anatomical location or specimen further detailing directionality.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.DirectionalityVS" + } + ], + "name": "SHR DirectionalityVS ValueSet", + "title": "SHR DirectionalityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "Anatomical location or specimen further detailing directionality.", + "compose": { + "include": [ + { + "system": "https://evs.nci.nih.gov/ftp1/CDISC/SDTM/", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "C99074" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json new file mode 100755 index 0000000..ecc1442 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-DiseaseFindingVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-DiseaseFindingVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DiseaseFindingVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DiseaseFindingVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.DiseaseFindingVS" + } + ], + "name": "SHR DiseaseFindingVS ValueSet", + "title": "SHR DiseaseFindingVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "64572001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json new file mode 100755 index 0000000..16d12c3 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-LateralityVS.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-LateralityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR LateralityVS ValueSet

\n

Anatomical location or specimen further detailing the side(s) of interest.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.LateralityVS" + } + ], + "name": "SHR LateralityVS ValueSet", + "title": "SHR LateralityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "Anatomical location or specimen further detailing the side(s) of interest.", + "compose": { + "include": [ + { + "system": "https://evs.nci.nih.gov/ftp1/CDISC/SDTM/", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "C99073" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json new file mode 100755 index 0000000..ea3921a --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-LowerBoundTypeVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-LowerBoundTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR LowerBoundTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LowerBoundTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.LowerBoundTypeVS" + } + ], + "name": "SHR LowerBoundTypeVS ValueSet", + "title": "SHR LowerBoundTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/ValueSet/quantity-comparator", + "concept": [ + { + "code": ">", + "display": "The actual value is greater than the given value." + }, + { + "code": ">=", + "display": "The actual value is greater than or equal to the given value." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json new file mode 100755 index 0000000..efa26c7 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-ManifestationVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-ManifestationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ManifestationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ManifestationVS" + } + ], + "name": "SHR ManifestationVS ValueSet", + "title": "SHR ManifestationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "418799008" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json new file mode 100755 index 0000000..885488f --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-PerformanceGradingScaleVS.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-PerformanceGradingScaleVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PerformanceGradingScaleVS ValueSet

\n

A simple performance grading scale. Also useful for grading quality.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.PerformanceGradingScaleVS" + } + ], + "name": "SHR PerformanceGradingScaleVS ValueSet", + "title": "SHR PerformanceGradingScaleVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "A simple performance grading scale. Also useful for grading quality.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-PerformanceGradingScaleVS", + "concept": [ + { + "code": "excellent", + "display": "Excellent" + }, + { + "code": "very_good", + "display": "Very good" + }, + { + "code": "good", + "display": "Good" + }, + { + "code": "fair", + "display": "Fair" + }, + { + "code": "poor", + "display": "Poor" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json new file mode 100755 index 0000000..f6e213e --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-PortionTotalityVS.json @@ -0,0 +1,50 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-PortionTotalityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PortionTotalityVS ValueSet

\n

ObservationQualifier for anatomical location or specimen further detailing the portion or totality, which means arrangement of, or apportioning of an entity.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.PortionTotalityVS" + } + ], + "name": "SHR PortionTotalityVS ValueSet", + "title": "SHR PortionTotalityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "ObservationQualifier for anatomical location or specimen further detailing the portion or totality, which means arrangement of, or apportioning of an entity.", + "compose": { + "include": [ + { + "system": "https://evs.nci.nih.gov/ftp1/CDISC/SDTM/", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "C99075" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json new file mode 100755 index 0000000..ec19745 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeDateTimeVS.json @@ -0,0 +1,124 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-QualitativeDateTimeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeDateTimeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeDateTimeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeDateTimeVS" + } + ], + "name": "SHR QualitativeDateTimeVS ValueSet", + "title": "SHR QualitativeDateTimeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeDateTimeVS", + "concept": [ + { + "code": "past", + "display": "A time or time period in the indefinite past" + }, + { + "code": "many_years_ago", + "display": "Many years ago" + }, + { + "code": "several_years_ago", + "display": "Several years ago" + }, + { + "code": "one_year_ago", + "display": "About a year ago" + }, + { + "code": "months_ago", + "display": "Several months ago" + }, + { + "code": "weeks_ago", + "display": "Several weeks ago" + }, + { + "code": "days_ago", + "display": "Several days ago" + }, + { + "code": "hours_ago", + "display": "Several hours ago" + }, + { + "code": "minutes_ago", + "display": "Several minutes ago" + }, + { + "code": "preexisting", + "display": "At a time previous to the current encounter or admission" + }, + { + "code": "now", + "display": "Now, currently, presently continuing or ongoing" + }, + { + "code": "minutes_hence", + "display": "Several minutes from now" + }, + { + "code": "hours_hence", + "display": "Several hours from now" + }, + { + "code": "days_hence", + "display": "Several days from now" + }, + { + "code": "weeks_hence", + "display": "Several weeks from now" + }, + { + "code": "months_hence", + "display": "Several months from now" + }, + { + "code": "one_year_hence", + "display": "About a year from now" + }, + { + "code": "several_years_hence", + "display": "Several years from now" + }, + { + "code": "many_years_hence", + "display": "Many years from now" + }, + { + "code": "future", + "display": "A time or time period in the indefinite future" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json new file mode 100755 index 0000000..842e80c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeFrequencyVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-QualitativeFrequencyVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeFrequencyVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeFrequencyVS" + } + ], + "name": "SHR QualitativeFrequencyVS ValueSet", + "title": "SHR QualitativeFrequencyVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeFrequencyVS", + "concept": [ + { + "code": "always", + "display": "Virtually always or every time" + }, + { + "code": "usually", + "display": "Frequently or often" + }, + { + "code": "sometimes", + "display": "Occasionally or sometimes" + }, + { + "code": "rarely", + "display": "Rarely" + }, + { + "code": "never", + "display": "Never" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json new file mode 100755 index 0000000..04626ee --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeLikelihoodVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-QualitativeLikelihoodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeLikelihoodVS ValueSet

\n

The likelihood of an event or state, expressed qualitatively. Qualitative likelihoods are associated with judgments and assessments. Values are based on US Intelligence Community's standard language used to describe judgements of likelihood.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeLikelihoodVS" + } + ], + "name": "SHR QualitativeLikelihoodVS ValueSet", + "title": "SHR QualitativeLikelihoodVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "description": "The likelihood of an event or state, expressed qualitatively. Qualitative likelihoods are associated with judgments and assessments. Values are based on US Intelligence Community's standard language used to describe judgements of likelihood.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeLikelihoodVS", + "concept": [ + { + "code": "definitely", + "display": "With certainty or near-complete certainty, an event that definitely has or almost certainly will happen" + }, + { + "code": "very_likely", + "display": "Very likely, highly probable, e.g., an event with more than 80% but less than 100% likelihood" + }, + { + "code": "likely", + "display": "Likely or probable, e.g., an event with 60% to 80% likelihood" + }, + { + "code": "even_chance", + "display": "Roughly equal chance or even odds of happening, between 40% and 60% probability" + }, + { + "code": "unlikely", + "display": "Not likely or improbable, e.g., an event with 20% to 40% likelihood" + }, + { + "code": "very_unlikely", + "display": "Very unlikely, highly improbable, e.g., an event with less than 20% but non-zero likelihood" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json new file mode 100755 index 0000000..23808ea --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-QualitativeValueScaleVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-QualitativeValueScaleVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR QualitativeValueScaleVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.QualitativeValueScaleVS" + } + ], + "name": "SHR QualitativeValueScaleVS ValueSet", + "title": "SHR QualitativeValueScaleVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeValueScaleVS", + "concept": [ + { + "code": "very_high", + "display": "Very high" + }, + { + "code": "high", + "display": "High" + }, + { + "code": "moderate", + "display": "Moderate" + }, + { + "code": "low", + "display": "Low" + }, + { + "code": "very_low", + "display": "Very low" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json new file mode 100755 index 0000000..2fa62a6 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeDurationVS.json @@ -0,0 +1,80 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-SemiquantitativeDurationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SemiquantitativeDurationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeDurationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SemiquantitativeDurationVS" + } + ], + "name": "SHR SemiquantitativeDurationVS ValueSet", + "title": "SHR SemiquantitativeDurationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeDurationVS", + "concept": [ + { + "code": "many_years", + "display": "Many years" + }, + { + "code": "several_years", + "display": "Several years" + }, + { + "code": "one_year", + "display": "About a year" + }, + { + "code": "months", + "display": "Several months but less than a year" + }, + { + "code": "weeks", + "display": "Several weeks but less than a month" + }, + { + "code": "days", + "display": "Several days but less than a week" + }, + { + "code": "hours", + "display": "Several hours but less than a day" + }, + { + "code": "minutes", + "display": "Several minutes but less than an hour" + }, + { + "code": "seconds", + "display": "Several seconds but less than a minute" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json new file mode 100755 index 0000000..4e98221 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-SemiquantitativeFrequencyVS.json @@ -0,0 +1,96 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-SemiquantitativeFrequencyVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SemiquantitativeFrequencyVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeFrequencyVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SemiquantitativeFrequencyVS" + } + ], + "name": "SHR SemiquantitativeFrequencyVS ValueSet", + "title": "SHR SemiquantitativeFrequencyVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeFrequencyVS", + "concept": [ + { + "code": "never", + "display": "Never" + }, + { + "code": "less_than_yearly", + "display": "Less than yearly" + }, + { + "code": "yearly", + "display": "Yearly" + }, + { + "code": "mot_yearly", + "display": "More than once yearly" + }, + { + "code": "monthly", + "display": "Monthly" + }, + { + "code": "weekly", + "display": "Weekly" + }, + { + "code": "mto_weekly", + "display": "More than once weekly" + }, + { + "code": "daily", + "display": "Daily" + }, + { + "code": "mto_daily", + "display": "More than once daily" + }, + { + "code": "hourly", + "display": "Hourly" + }, + { + "code": "mto_hourly", + "display": "More than once hourly" + }, + { + "code": "minutely", + "display": "Every minute" + }, + { + "code": "continuously", + "display": "Continuously" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json new file mode 100755 index 0000000..6f2fb40 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-SettingVS.json @@ -0,0 +1,181 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-SettingVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SettingVS ValueSet

\n

What type of place is found at a given location. More than one descriptor may be applicable.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SettingVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.SettingVS" + } + ], + "name": "SHR SettingVS ValueSet", + "title": "SHR SettingVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "description": "What type of place is found at a given location. More than one descriptor may be applicable.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SettingVS", + "concept": [ + { + "code": "work", + "display": "At or during work, in a workplace setting." + }, + { + "code": "home", + "display": "At home" + }, + { + "code": "residental", + "display": "In a residential setting" + }, + { + "code": "school", + "display": "A primary or secondary school" + }, + { + "code": "vehicle", + "display": "In a parked or moving vehicle" + }, + { + "code": "office", + "display": "An non-manufacturing, indoor business setting" + }, + { + "code": "factory", + "display": "A manufacturing-oriented business setting" + }, + { + "code": "business", + "display": "A place of business" + }, + { + "code": "restaurant", + "display": "A setting where food is served" + }, + { + "code": "food_prep", + "display": "A place where food is prepared" + }, + { + "code": "worksite", + "display": "Workplace that is primarily outdoors" + }, + { + "code": "manufacturing", + "display": "A setting where manufacturing takes place" + }, + { + "code": "owned", + "display": "A building or residence that is owned" + }, + { + "code": "rental", + "display": "A building or residence that is rented" + }, + { + "code": "dorm", + "display": "Shared (unassisted) living residence, such as a dormitory or fraternity" + }, + { + "code": "foster", + "display": "Foster care group home" + }, + { + "code": "assisted", + "display": "Assisted living or independent living facility" + }, + { + "code": "snf", + "display": "Skilled nursing facility or other Long-Term Care" + }, + { + "code": "shelter", + "display": "Homeless or other type of shelter" + }, + { + "code": "hotel", + "display": "Hotel or motel" + }, + { + "code": "psh", + "display": "Permanent supportive housing for formerly homeless persons (such as SHP, S+C, or SRO Mod Rehab)" + }, + { + "code": "psych", + "display": "Psychiatric hospital or other psychiatric facility" + }, + { + "code": "detox", + "display": "Substance abuse treatment facility or detox center" + }, + { + "code": "prison", + "display": "Individual resides in a correctional facility, state hospital, jail, prison, youth authority facility, juvenile hall, boot camp or Boys Ranch." + }, + { + "code": "transition", + "display": "Transitional housing, residential provier program, or any type of halfway house" + }, + { + "code": "squat", + "display": "A homeless camp, abandoned building, shantytown, bus/train/subway station/airport, or squatter area" + }, + { + "code": "outdoors", + "display": "Outside of any shelter, e.g., on a street" + }, + { + "code": "agricultural", + "display": "Agricultural setting" + }, + { + "code": "farm", + "display": "A farm with livestock" + }, + { + "code": "battlefield", + "display": "On a battlefield" + }, + { + "code": "deployed", + "display": "Deployed to a military camp or area" + }, + { + "code": "ship", + "display": "On a boat" + }, + { + "code": "airplane", + "display": "On an airplane" + }, + { + "code": "submarine", + "display": "Aboard a submarine" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json new file mode 100755 index 0000000..e1aeda0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-StatisticTypeVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-StatisticTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR StatisticTypeVS ValueSet

\n

How to interpret a reported quantity, i.e, whether the quantity is an maximum, minimum, mean, median, etc.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-StatisticTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.StatisticTypeVS" + } + ], + "name": "SHR StatisticTypeVS ValueSet", + "title": "SHR StatisticTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "description": "How to interpret a reported quantity, i.e, whether the quantity is an maximum, minimum, mean, median, etc.", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C1524031", + "display": "Desired or observed minimum" + }, + { + "code": "C0806909", + "display": "Desired or observed maximum" + }, + { + "code": "C0444504", + "display": "Mean value" + }, + { + "code": "C0876920", + "display": "Median value" + }, + { + "code": "C0750480", + "display": "Count" + }, + { + "code": "C1514721", + "display": "Range, the difference between lowest and highest numerical values" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json new file mode 100755 index 0000000..2c7aa57 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-ThreePriorityVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-ThreePriorityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ThreePriorityVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreePriorityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ThreePriorityVS" + } + ], + "name": "SHR ThreePriorityVS ValueSet", + "title": "SHR ThreePriorityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreePriorityVS", + "concept": [ + { + "code": "primary", + "display": "The first or primary item or alterative in a preference list." + }, + { + "code": "secondary", + "display": "The second or backup preference." + }, + { + "code": "third_or_lower", + "display": "An alternative to primary and secondard choices in a preference list." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json new file mode 100755 index 0000000..fc0c044 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-ThreeValueLogicVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-ThreeValueLogicVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ThreeValueLogicVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.ThreeValueLogicVS" + } + ], + "name": "SHR ThreeValueLogicVS ValueSet", + "title": "SHR ThreeValueLogicVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreeValueLogicVS", + "concept": [ + { + "code": "true", + "display": "True, or yes" + }, + { + "code": "false", + "display": "False, or no" + }, + { + "code": "unknown", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json new file mode 100755 index 0000000..a1d21de --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-TimeUnitOfMeasureVS.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-TimeUnitOfMeasureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TimeUnitOfMeasureVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-TimeUnitOfMeasureVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.TimeUnitOfMeasureVS" + } + ], + "name": "SHR TimeUnitOfMeasureVS ValueSet", + "title": "SHR TimeUnitOfMeasureVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.812Z", + "compose": { + "include": [ + { + "system": "http://unitsofmeasure.org", + "concept": [ + { + "code": "us", + "display": "Microsecond" + }, + { + "code": "ms", + "display": "Millisecond" + }, + { + "code": "s", + "display": "Second" + }, + { + "code": "min", + "display": "Minute" + }, + { + "code": "h", + "display": "Hour" + }, + { + "code": "wk", + "display": "Week" + }, + { + "code": "mo", + "display": "Month" + }, + { + "code": "a", + "display": "Year" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json new file mode 100755 index 0000000..01e57ee --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-core-UpperBoundTypeVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-core-UpperBoundTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR UpperBoundTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-core-UpperBoundTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.core.UpperBoundTypeVS" + } + ], + "name": "SHR UpperBoundTypeVS ValueSet", + "title": "SHR UpperBoundTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.811Z", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/ValueSet/quantity-comparator", + "concept": [ + { + "code": "<", + "display": "The actual value is less than the given value." + }, + { + "code": "<=", + "display": "The actual value is less than or equal to the given value." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json b/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json new file mode 100755 index 0000000..7c7fe70 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-demographics-AddressUseVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "shr-demographics-AddressUseVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AddressUseVS ValueSet

\n

How an address is used by the subject, for example, as a dwelling or as a mailing address.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-AddressUseVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.AddressUseVS" + } + ], + "name": "SHR AddressUseVS ValueSet", + "title": "SHR AddressUseVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "description": "How an address is used by the subject, for example, as a dwelling or as a mailing address.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-AddressUseVS", + "concept": [ + { + "code": "primary_residence", + "display": "The address at which a person dwells most frequently or maintains as his or her official premises." + }, + { + "code": "secondary_residence", + "display": "An address at which a person dwells on a secondary basis, for example, during vacation periods, when residing with other parent or relative, at boarding school, etc." + }, + { + "code": "temporary_dwelling", + "display": "An address temporarily used as a dwelling" + }, + { + "code": "former_address", + "display": "Address (residence, postal, or work address) that is no longer in use" + }, + { + "code": "mailing_address", + "display": "Address is a postal address, such as a PO box" + }, + { + "code": "work_address", + "display": "Address of place of business where the subject is employed" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json new file mode 100755 index 0000000..0414ef0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-demographics-InsuranceProviderTypeVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-demographics-InsuranceProviderTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR InsuranceProviderTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-InsuranceProviderTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.InsuranceProviderTypeVS" + } + ], + "name": "SHR InsuranceProviderTypeVS ValueSet", + "title": "SHR InsuranceProviderTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-InsuranceProviderTypeVS", + "concept": [ + { + "code": "chip", + "display": "CHIP or SCHIP - State or Federal Children's Health Insurance Program" + }, + { + "code": "medicaid", + "display": "Medicaid" + }, + { + "code": "medicare", + "display": "Medicare" + }, + { + "code": "military", + "display": "Military coverage (Tricare)" + }, + { + "code": "veteran", + "display": "VA coverage" + }, + { + "code": "private", + "display": "Private or self-insured group" + }, + { + "code": "no_insurance", + "display": "No health insurance" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json new file mode 100755 index 0000000..9a64e68 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-demographics-TelecomQualifierVS.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "shr-demographics-TelecomQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TelecomQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-TelecomQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelecomQualifierVS" + } + ], + "name": "SHR TelecomQualifierVS ValueSet", + "title": "SHR TelecomQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelecomQualifierVS", + "concept": [ + { + "code": "primary", + "display": "Primary (preferred) method of contact" + }, + { + "code": "secondary", + "display": "Secondary method of contact" + }, + { + "code": "prefer_call", + "display": "Prefer voice calls" + }, + { + "code": "prefer_text", + "display": "Prefer texting" + }, + { + "code": "personal", + "display": "Personal (home) use" + }, + { + "code": "work", + "display": "Work use" + }, + { + "code": "no_message", + "display": "Do not leave messages at this phone number" + }, + { + "code": "alert", + "display": "Use this contact method for reminders, alerts, and notifications" + }, + { + "code": "telecare", + "display": "Use for telecare encounters" + }, + { + "code": "shared", + "display": "A shared telecom address, e.g., facility telephone or family email" + }, + { + "code": "direct", + "display": "An encrypted DIRECT email address" + }, + { + "code": "portal", + "display": "Portal-based secure messaging address" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json new file mode 100755 index 0000000..2c3aa42 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-demographics-TelephoneTypeVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-demographics-TelephoneTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TelephoneTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-TelephoneTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.demographics.TelephoneTypeVS" + } + ], + "name": "SHR TelephoneTypeVS ValueSet", + "title": "SHR TelephoneTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelephoneTypeVS", + "concept": [ + { + "code": "mobile", + "display": "Mobile phone (assumed text capable)" + }, + { + "code": "land", + "display": "Landline telephone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json b/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json new file mode 100755 index 0000000..72ae0f3 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryAssistDeviceVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-device-RespiratoryAssistDeviceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryAssistDeviceVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-device-RespiratoryAssistDeviceVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.RespiratoryAssistDeviceVS" + } + ], + "name": "SHR RespiratoryAssistDeviceVS ValueSet", + "title": "SHR RespiratoryAssistDeviceVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryAssistDeviceVS", + "concept": [ + { + "code": "apnea", + "display": "Apnea monitor" + }, + { + "code": "vent", + "display": "Ventilator" + }, + { + "code": "mand_vent", + "display": "Intermittent mandatory ventilator" + }, + { + "code": "neonat_vent", + "display": "Neonatal ventilator" + }, + { + "code": "vent_synch", + "display": "Synchronized intermittent mandatory ventilator" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json b/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json new file mode 100755 index 0000000..0a39a43 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-device-RespiratoryRateSettingVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "ValueSet", + "id": "shr-device-RespiratoryRateSettingVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateSettingVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-device-RespiratoryRateSettingVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.device.RespiratoryRateSettingVS" + } + ], + "name": "SHR RespiratoryRateSettingVS ValueSet", + "title": "SHR RespiratoryRateSettingVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryRateSettingVS", + "concept": [ + { + "code": "set_min_alarm", + "display": "minimum alarm" + }, + { + "code": "set_min", + "display": "minimum" + }, + { + "code": "set_max", + "display": "maximum" + }, + { + "code": "set_max_alarm", + "display": "maximum alarm" + }, + { + "code": "set_target", + "display": "target setting" + }, + { + "code": "set_sigh", + "display": "Sigh rate setting LOINC#19838-2" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json new file mode 100755 index 0000000..0c5a272 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterTypeVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-EncounterTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EncounterTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EncounterTypeVS" + } + ], + "name": "SHR EncounterTypeVS ValueSet", + "title": "SHR EncounterTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EncounterTypeVS", + "concept": [ + { + "code": "inpatient", + "display": "In-facility or hospital setting encounter" + }, + { + "code": "ambulatory", + "display": "Ambulatory encounter in office or facility setting" + }, + { + "code": "home_visit", + "display": "Encounter in patient's home or location of residence" + }, + { + "code": "tele_video", + "display": "Non-face to face contact via synchronous audio and video connection" + }, + { + "code": "tele_audio", + "display": "Non-face to face contact via telephone or audio-only connection" + }, + { + "code": "tele_asynch", + "display": "Non-face to face contact via text messaging or similar non-simultaneous mode" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json new file mode 100755 index 0000000..79ddea1 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-EncounterUrgencyVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-EncounterUrgencyVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EncounterUrgencyVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterUrgencyVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EncounterUrgencyVS" + } + ], + "name": "SHR EncounterUrgencyVS ValueSet", + "title": "SHR EncounterUrgencyVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "4525004", + "display": "Emergency, Crisis, or Urgent Care" + }, + { + "code": "14736009", + "display": "Routine care" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json new file mode 100755 index 0000000..4e6e32c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json @@ -0,0 +1,84 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-EpisodeOfCareCompletionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EpisodeOfCareCompletionVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EpisodeOfCareCompletionVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.EpisodeOfCareCompletionVS" + } + ], + "name": "SHR EpisodeOfCareCompletionVS ValueSet", + "title": "SHR EpisodeOfCareCompletionVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EpisodeOfCareCompletionVS", + "concept": [ + { + "code": "completed", + "display": "Treatment was completed." + }, + { + "code": "eligibility", + "display": "Insurance eligibility changed." + }, + { + "code": "declined", + "display": "Declined further treatment." + }, + { + "code": "lost_contact", + "display": "Client fell out of contact." + }, + { + "code": "incarcerated", + "display": "Client was detained/incarcerated." + }, + { + "code": "moved", + "display": "Client moved out of the area." + }, + { + "code": "transferred", + "display": "Care was tranferred to the care of another provider." + }, + { + "code": "failed", + "display": "Client was unable to complete the course of treatment." + }, + { + "code": "noncompliance", + "display": "Client did not comply with the course of treatment." + }, + { + "code": "death", + "display": "Client died." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json new file mode 100755 index 0000000..e38a375 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-ReasonEncounterDidNotHappenVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReasonEncounterDidNotHappenVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReasonEncounterDidNotHappenVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReasonEncounterDidNotHappenVS" + } + ], + "name": "SHR ReasonEncounterDidNotHappenVS ValueSet", + "title": "SHR ReasonEncounterDidNotHappenVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReasonEncounterDidNotHappenVS", + "concept": [ + { + "code": "cancelled", + "display": "Patient cancelled appointment" + }, + { + "code": "lost_touch", + "display": "Lost touch with patient" + }, + { + "code": "withdrew", + "display": "Patient withdrew from trial" + }, + { + "code": "hospitalized", + "display": "Patient was hospitalized" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json new file mode 100755 index 0000000..14a3ad0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-ReferralSourceTypeVS.json @@ -0,0 +1,80 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-ReferralSourceTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReferralSourceTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReferralSourceTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.ReferralSourceTypeVS" + } + ], + "name": "SHR ReferralSourceTypeVS ValueSet", + "title": "SHR ReferralSourceTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReferralSourceTypeVS", + "concept": [ + { + "code": "self", + "display": "Self, or personal associated, such as family or friend" + }, + { + "code": "pcp", + "display": "General Practitioner or Primary Care Physician" + }, + { + "code": "specialist", + "display": "Provider other than Primary Care Physician" + }, + { + "code": "fed", + "display": "Federal agency" + }, + { + "code": "cps", + "display": "Child Protective Service" + }, + { + "code": "court", + "display": "Criminal justice" + }, + { + "code": "comm", + "display": "Community agency" + }, + { + "code": "hp", + "display": "Health Plan" + }, + { + "code": "employer", + "display": "Employer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json b/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json new file mode 100755 index 0000000..aeba5e4 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-encounter-TreatmentCooperationVS.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "shr-encounter-TreatmentCooperationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TreatmentCooperationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-TreatmentCooperationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.encounter.TreatmentCooperationVS" + } + ], + "name": "SHR TreatmentCooperationVS ValueSet", + "title": "SHR TreatmentCooperationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-TreatmentCooperationVS", + "concept": [ + { + "code": "voluntary", + "display": "Voluntary cooperation" + }, + { + "code": "ordered_criminal", + "display": "Criminal court ordered treatment" + }, + { + "code": "ordered_civil", + "display": "Civil court ordered treatment" + }, + { + "code": "involuntary", + "display": "Not court-ordered but involutary treatment" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json new file mode 100755 index 0000000..e10de27 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-AnimalExposureVS.json @@ -0,0 +1,80 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-AnimalExposureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR AnimalExposureVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-AnimalExposureVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.AnimalExposureVS" + } + ], + "name": "SHR AnimalExposureVS ValueSet", + "title": "SHR AnimalExposureVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-AnimalExposureVS", + "concept": [ + { + "code": "dog", + "display": "dog" + }, + { + "code": "cat", + "display": "cat" + }, + { + "code": "bird", + "display": "bird" + }, + { + "code": "fish", + "display": "fish" + }, + { + "code": "reptile", + "display": "reptile" + }, + { + "code": "rodent", + "display": "rodent" + }, + { + "code": "primate", + "display": "monkey or ape" + }, + { + "code": "livestock", + "display": "livestock" + }, + { + "code": "chicken", + "display": "chicken" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json new file mode 100755 index 0000000..6651216 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-CoinhabitantVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-CoinhabitantVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CoinhabitantVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-CoinhabitantVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.CoinhabitantVS" + } + ], + "name": "SHR CoinhabitantVS ValueSet", + "title": "SHR CoinhabitantVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-CoinhabitantVS", + "concept": [ + { + "code": "partner", + "display": "Spouse or partner" + }, + { + "code": "parents_birth", + "display": "Birth parents" + }, + { + "code": "parents_adoptive", + "display": "Adoptive parents" + }, + { + "code": "foster", + "display": "Foster family" + }, + { + "code": "child", + "display": "Child or children" + }, + { + "code": "relatives", + "display": "other relatives" + }, + { + "code": "non_relatives", + "display": "non-relatives" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json new file mode 100755 index 0000000..229b118 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-HomeEnvironmentRiskVS.json @@ -0,0 +1,184 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-HomeEnvironmentRiskVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HomeEnvironmentRiskVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-HomeEnvironmentRiskVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.HomeEnvironmentRiskVS" + } + ], + "name": "SHR HomeEnvironmentRiskVS ValueSet", + "title": "SHR HomeEnvironmentRiskVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-HomeEnvironmentRiskVS", + "concept": [ + { + "code": "guns", + "display": "Guns in household" + }, + { + "code": "more_guns", + "display": "Guns in neighborhood" + }, + { + "code": "smoke_detectors", + "display": "No Smoke Detectors" + }, + { + "code": "radiation", + "display": "Radon or other radiation source" + }, + { + "code": "swimming_pool", + "display": "Swimming Pool" + }, + { + "code": "lead", + "display": "Lead in soil, paint or water" + }, + { + "code": "well", + "display": "Well water" + }, + { + "code": "mold", + "display": "Mold" + }, + { + "code": "noise", + "display": "Excessive noise" + }, + { + "code": "no_connection", + "display": "No internet" + }, + { + "code": "no_electricity", + "display": "Unreliable electricity supply" + }, + { + "code": "air_quality", + "display": "Poor air quality" + }, + { + "code": "water_quality", + "display": "Poor drinking water quality" + }, + { + "code": "crime", + "display": "Neighborhood crime" + }, + { + "code": "traffic", + "display": "Neighborhood traffic" + }, + { + "code": "unwalkable", + "display": "Neighborhood unwalkable" + }, + { + "code": "insects", + "display": "Insect infestation" + }, + { + "code": "rodents", + "display": "Rodent infestation" + }, + { + "code": "asbestos", + "display": "Asbestos" + }, + { + "code": "disrepair", + "display": "Home in disrepair" + }, + { + "code": "clutter", + "display": "Clutter or hoarding" + }, + { + "code": "fire_hazard", + "display": "No fire escape or other fire hazard" + }, + { + "code": "stairs", + "display": "Steps hard to navigate" + }, + { + "code": "bathroom", + "display": "Bathroom facilities hard to utilize, e.g., on another floor or lacking accomodations" + }, + { + "code": "crowding", + "display": "Overcrowded" + }, + { + "code": "isolated", + "display": "Too far away from things" + }, + { + "code": "transportation", + "display": "Hard to access transportation resources" + }, + { + "code": "radiation", + "display": "Radiation" + }, + { + "code": "asbestos", + "display": "Asbestos" + }, + { + "code": "pesticides", + "display": "Pesticides" + }, + { + "code": "motorcycle", + "display": "Ride motorcycle" + }, + { + "code": "contact_sports", + "display": "Play contact sports" + }, + { + "code": "seat_belt", + "display": "Does not wear seat belts" + }, + { + "code": "sun_exposure", + "display": "Spends excessive time in the sun" + }, + { + "code": "tanning", + "display": "Uses tanning bed" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json new file mode 100755 index 0000000..1525183 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-IncomeSourceVS.json @@ -0,0 +1,100 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-IncomeSourceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR IncomeSourceVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-IncomeSourceVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.IncomeSourceVS" + } + ], + "name": "SHR IncomeSourceVS ValueSet", + "title": "SHR IncomeSourceVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-IncomeSourceVS", + "concept": [ + { + "code": "earned", + "display": "Earned Income (i.e., employment income)" + }, + { + "code": "unemployment", + "display": "Unemployment Insurance" + }, + { + "code": "ssi", + "display": "Supplemental Security Income (SSI)" + }, + { + "code": "ssdi", + "display": "Social Security Disability Income (SSDI)" + }, + { + "code": "disability_va", + "display": "Veteran’s disability payment" + }, + { + "code": "disability_private", + "display": "Private disability insurance" + }, + { + "code": "disability_workers", + "display": "Worker’s compensation" + }, + { + "code": "tanf", + "display": "Temporary Assistance for Needy Families (TANF) or similar local program" + }, + { + "code": "ga", + "display": "General Assistance (GA) or similar local program" + }, + { + "code": "ss", + "display": "Retirement income from Social Security" + }, + { + "code": "savings", + "display": "Savings" + }, + { + "code": "pension_va", + "display": "Veteran’s pension" + }, + { + "code": "child_support", + "display": "Child support" + }, + { + "code": "alimony", + "display": "Alimony or other spousal support" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json new file mode 100755 index 0000000..978cc12 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-NonCashBenefitVS.json @@ -0,0 +1,84 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-NonCashBenefitVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR NonCashBenefitVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-NonCashBenefitVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.NonCashBenefitVS" + } + ], + "name": "SHR NonCashBenefitVS ValueSet", + "title": "SHR NonCashBenefitVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-NonCashBenefitVS", + "concept": [ + { + "code": "snap", + "display": "Supplemental Nutrition Assistance Program (SNAP) (Previously known as Food Stamps)" + }, + { + "code": "medicaid", + "display": "MEDICAID health insurance program or local equivalent" + }, + { + "code": "schip", + "display": "State Children’s Health Insurance Program or local equivalent" + }, + { + "code": "wic", + "display": "Special Supplemental Nutrition Program for Women, Infants, and Children (WIC)" + }, + { + "code": "vams", + "display": "Veteran’s Administration (VA) Medical Services" + }, + { + "code": "tanf", + "display": "Temporary Assistance for Needy Families (TANF) or similar local program" + }, + { + "code": "tanf_transport", + "display": "Temporary Assistance for Needy Families (TANF) transportation services" + }, + { + "code": "tanf_other", + "display": "Temporary Assistance for Needy Families (TANF) other services" + }, + { + "code": "section8", + "display": "Section 8, public housing, or other ongoing rental assistance" + }, + { + "code": "temp_rental", + "display": "Temporary Rental Assistance" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json b/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json new file mode 100755 index 0000000..716dc4d --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-environment-ResourceStabilityVS.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "shr-environment-ResourceStabilityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ResourceStabilityVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.environment.ResourceStabilityVS" + } + ], + "name": "SHR ResourceStabilityVS ValueSet", + "title": "SHR ResourceStabilityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.813Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-ResourceStabilityVS", + "concept": [ + { + "code": "stable", + "display": "Not at risk or minimal risk of losing the resource (or a significant portion of the resource)" + }, + { + "code": "at_risk", + "display": "Some risk of losing the resource (or a significant portion of the resource)" + }, + { + "code": "imminent_risk", + "display": "Imminent risk of loss of the resource (or a significant portion of the resource)" + }, + { + "code": "recent_loss", + "display": "Recent loss of the resource (or a significant portion of the resource)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json new file mode 100755 index 0000000..825294d --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "shr-immunization-ImmunizationNotGivenReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ImmunizationNotGivenReasonVS ValueSet

\n

Reasons for an immunization not given or not recommended. SHR does not use http://hl7.org/fhir/ValueSet/no-immunization-reason because it includes SNOMED precoordinated codes,such as SCT#171266004 No consent - diphtheria immunization.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-immunization-ImmunizationNotGivenReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.immunization.ImmunizationNotGivenReasonVS" + } + ], + "name": "SHR ImmunizationNotGivenReasonVS ValueSet", + "title": "SHR ImmunizationNotGivenReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "description": "Reasons for an immunization not given or not recommended. SHR does not use http://hl7.org/fhir/ValueSet/no-immunization-reason because it includes SNOMED precoordinated codes,such as SCT#171266004 No consent - diphtheria immunization.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/v3/ActReason", + "concept": [ + { + "code": "IMMUNE", + "display": "Testing has shown that the patient already has immunity to the agent targeted by the immunization." + }, + { + "code": "MEDPREC", + "display": "The patient currently has a medical condition for which the vaccine is contraindicated or for which precaution is warranted. For example, the patient could be pregnant or immunocompromised" + }, + { + "code": "OSTOCK", + "display": "There was no supply of the product on hand to perform the service." + }, + { + "code": "PATOBJ", + "display": "The patient or their guardian objects to receiving the vaccine." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json new file mode 100755 index 0000000..42f17f0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-ChangeFlagVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-ChangeFlagVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ChangeFlagVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-ChangeFlagVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.ChangeFlagVS" + } + ], + "name": "SHR ChangeFlagVS ValueSet", + "title": "SHR ChangeFlagVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C2346711", + "display": "About the same" + }, + { + "code": "C0332272", + "display": "Better" + }, + { + "code": "C1457868", + "display": "Worse" + }, + { + "code": "C3854148", + "display": "Significant change up" + }, + { + "code": "C3854147", + "display": "Significant change down" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json new file mode 100755 index 0000000..29644d9 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestCodeVS.json @@ -0,0 +1,35 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-HIVScreeningTestCodeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HIVScreeningTestCodeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVScreeningTestCodeVS" + } + ], + "name": "SHR HIVScreeningTestCodeVS ValueSet", + "title": "SHR HIVScreeningTestCodeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z" +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json new file mode 100755 index 0000000..0ca7d51 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVScreeningTestResultVS.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-HIVScreeningTestResultVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HIVScreeningTestResultVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestResultVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVScreeningTestResultVS" + } + ], + "name": "SHR HIVScreeningTestResultVS ValueSet", + "title": "SHR HIVScreeningTestResultVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LA6576-8", + "display": "Positive (HIV positive, undifferentiated)" + }, + { + "code": "LA6577-6", + "display": "Negative (HIV negative)" + }, + { + "code": "LA11884-6", + "display": "Indeterminant" + }, + { + "code": "LA15841-2", + "display": "Invalid" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json new file mode 100755 index 0000000..5c6dfd4 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestCodeVS.json @@ -0,0 +1,35 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-HIVSupplementalTestCodeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HIVSupplementalTestCodeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVSupplementalTestCodeVS" + } + ], + "name": "SHR HIVSupplementalTestCodeVS ValueSet", + "title": "SHR HIVSupplementalTestCodeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z" +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json new file mode 100755 index 0000000..9a08d5a --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-HIVSupplementalTestResultVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-HIVSupplementalTestResultVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HIVSupplementalTestResultVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestResultVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.HIVSupplementalTestResultVS" + } + ], + "name": "SHR HIVSupplementalTestResultVS ValueSet", + "title": "SHR HIVSupplementalTestResultVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "LA15256-3", + "display": "Nonreactive" + }, + { + "code": "LA15255-5", + "display": "Reactive" + }, + { + "code": "LA18330-3", + "display": "HIV-1 reactive (positive)" + }, + { + "code": "LA18331-1", + "display": "HIV-2 reactive (positive)" + }, + { + "code": "LA18332-9", + "display": "HIV reactive (undifferentiated)" + }, + { + "code": "LA21479-3", + "display": "HIV1 p24 Antigen (+) and HIV 1+2 Antibody (-)" + }, + { + "code": "LA21480-1", + "display": "HIV1 p24 Antigen (-) and HIV 1+2 Antibody (+)" + }, + { + "code": "LA21481-9", + "display": "HIV1 p24 Antigen (+) and HIV 1+2 Antibody (+)" + }, + { + "code": "LA21482-7", + "display": "HIV1 p24 Antigen (-) and HIV 1+2 Antibody (-)" + }, + { + "code": "LA11884-6", + "display": "Indeterminant" + }, + { + "code": "LA15841-2", + "display": "Invalid" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json new file mode 100755 index 0000000..56dbac2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-RequestStatusVS.json @@ -0,0 +1,60 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-RequestStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RequestStatusVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-RequestStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.RequestStatusVS" + } + ], + "name": "SHR RequestStatusVS ValueSet", + "title": "SHR RequestStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lab-RequestStatusVS", + "concept": [ + { + "code": "active", + "display": "The request is complete and is ready for fulfillment." + }, + { + "code": "in_progress", + "display": "The request is being carried out." + }, + { + "code": "suspended", + "display": "The request has been held by originating system/user request." + }, + { + "code": "completed", + "display": "The diagnostic testing has been completed, the report(s) released, and no further work is planned." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json b/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json new file mode 100755 index 0000000..c6c83e0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lab-TestInterpretationVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lab-TestInterpretationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TestInterpretationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lab.TestInterpretationVS" + } + ], + "name": "SHR TestInterpretationVS ValueSet", + "title": "SHR TestInterpretationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0205307", + "display": "Normal" + }, + { + "code": "C0205161", + "display": "Abnormal" + }, + { + "code": "C1548135", + "display": "Very abnormal" + }, + { + "code": "C0442811", + "display": "Very low" + }, + { + "code": "C1611820", + "display": "Low" + }, + { + "code": "C0205250", + "display": "High" + }, + { + "code": "C0442804", + "display": "Very high" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json new file mode 100755 index 0000000..3b2a727 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-CongenitalAbnormalitiesVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CongenitalAbnormalitiesVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-CongenitalAbnormalitiesVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.CongenitalAbnormalitiesVS" + } + ], + "name": "SHR CongenitalAbnormalitiesVS ValueSet", + "title": "SHR CongenitalAbnormalitiesVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "66091009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json new file mode 100755 index 0000000..92af67c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EducationalAttainmentVS.json @@ -0,0 +1,84 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-EducationalAttainmentVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EducationalAttainmentVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EducationalAttainmentVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EducationalAttainmentVS" + } + ], + "name": "SHR EducationalAttainmentVS ValueSet", + "title": "SHR EducationalAttainmentVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EducationalAttainmentVS", + "concept": [ + { + "code": "no_formal", + "display": "No schooling completed, or ages 0-4" + }, + { + "code": "elementary", + "display": "Elementary (grades 1-8)" + }, + { + "code": "high_school_some", + "display": "High school (grades 9-12, no degree)" + }, + { + "code": "high_school_grad", + "display": "High school graduate (or equivalent)" + }, + { + "code": "college", + "display": "Some college (1-4 years, no degree)" + }, + { + "code": "assoc", + "display": "Associate’s degree (including vocational, occupational or academic degrees)" + }, + { + "code": "bachelor", + "display": "Bachelor’s degree (BA, BS, AB, etc)" + }, + { + "code": "master", + "display": "Master’s degree (MA, MS, MENG, MSW, etc)" + }, + { + "code": "prof", + "display": "Professional school degree (MD, DDC, JD, etc)" + }, + { + "code": "doc", + "display": "Doctorate degree (PhD, EdD, etc)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json new file mode 100755 index 0000000..64b70e2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-EmploymentStatusVS.json @@ -0,0 +1,96 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-EmploymentStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EmploymentStatusVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EmploymentStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.EmploymentStatusVS" + } + ], + "name": "SHR EmploymentStatusVS ValueSet", + "title": "SHR EmploymentStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EmploymentStatusVS", + "concept": [ + { + "code": "self_employed", + "display": "Self employed" + }, + { + "code": "full_time", + "display": "Works in military or community setting on a full time basis (35 or more hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients." + }, + { + "code": "part_time", + "display": "Works in military or community setting on a full time basis (less than 35 hours per week), receiving pay at minimum wage or higher, in a mainstream integrated setting, in a job that was not set aside for mental health clients." + }, + { + "code": "work_training", + "display": "Facility or community based paid training program that teaches the meaning, value and demands of work. Individuals perform paid work activities and are accompanied by a job coach. These paid work activities are geared towards assisting the individual in gaining work experience and developing the soft skills needed to obtain competitive employment. Participation in work adjustment training programs should preferably be time-limited, with a long term goal of obtaining competitive employment. Participation in a work adjustment training program is set aside for mental health clients and/or other participants of a rehabilitation program." + }, + { + "code": "transitional", + "display": "Temporary employment placement secured by a vocational agency (such as a Fountain House model clubhouse program) and set aside for mental health clients. Employment is paid and is in an integrated / mainstream business setting. Individuals are actual employees of the company, not of the clubhouse. Individuals are paid at least minimum wage, and preferably the prevailing rate received by regular company employees for the same job. Placement work is done in the company’s place of business, never in the clubhouse." + }, + { + "code": "unemployed", + "display": "Not currently employed, but looking for work in the past 30 days or on layoff from a job." + }, + { + "code": "volunteer", + "display": "Volunteers (unpaid) their time in the community on a regular basis, and does not fit the criteria for Employed, Transitional Employment, or Work Adjustment Training" + }, + { + "code": "unpaid_rehab", + "display": "Engaged in any rehabilitation activity not already specified in one of the other categories, such as: work exploration, pre-vocational skill building groups and activities, community activities such as church groups, social skill building activities, mobility training, adjustment to disability training, etc." + }, + { + "code": "homemaker", + "display": "Manages their family household as a principal occupation, and performs household duties for others" + }, + { + "code": "student", + "display": "Currently in school and not involved in any other work activity. If an individual is in school, but otherwise employed, they shall be categorized in the appropriate employment category." + }, + { + "code": "retired", + "display": "Individual has concluded their working or professional career, and does not fit the criteria for Student or Volunteer" + }, + { + "code": "disabled", + "display": "Not currently employed or looking for work due to disability. Not involved in any other rehabilitation activity." + }, + { + "code": "confined", + "display": "Individual resides in a jail or correctional facility and is unable to work." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json new file mode 100755 index 0000000..b73a6b7 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-MilitaryServiceDischargeStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceDischargeStatusVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceDischargeStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceDischargeStatusVS" + } + ], + "name": "SHR MilitaryServiceDischargeStatusVS ValueSet", + "title": "SHR MilitaryServiceDischargeStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceDischargeStatusVS", + "concept": [ + { + "code": "bad", + "display": "Bad Conduct Discharge" + }, + { + "code": "dishonorable", + "display": "Dishonorable discharge" + }, + { + "code": "general", + "display": "General Conduct Discharge" + }, + { + "code": "honorable", + "display": "Honorable Discharge" + }, + { + "code": "not_honorable", + "display": "Other than honorable discharge, but not specified" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json new file mode 100755 index 0000000..59c2a09 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryServiceEraVS.json @@ -0,0 +1,77 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-MilitaryServiceEraVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryServiceEraVS ValueSet

\n

Values were taken from Final HMIS Data Standards March 2010 (Homeless Management Information System), field 4.15E Veteran’s Information. See: https://www.onecpd.info/resources/documents/FinalHMISDataStandards_March2010.pdf.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceEraVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryServiceEraVS" + } + ], + "name": "SHR MilitaryServiceEraVS ValueSet", + "title": "SHR MilitaryServiceEraVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "description": "Values were taken from Final HMIS Data Standards March 2010 (Homeless Management Information System), field 4.15E Veteran’s Information. See: https://www.onecpd.info/resources/documents/FinalHMISDataStandards_March2010.pdf.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceEraVS", + "concept": [ + { + "code": "post_9_11_era", + "display": "Post September 11, 2001 to Present" + }, + { + "code": "gulf_era", + "display": "Persian Gulf Era (August 1991 - September 10, 2001)" + }, + { + "code": "post_vietnam_era", + "display": "Post-Vietnam (May 1975 - July 1991)" + }, + { + "code": "vietnam_era", + "display": "Vietnam Era (August 1964 - April 1975)" + }, + { + "code": "post_korean_era", + "display": "Between Korean and Vietnam War (February 1955 - July 1964)" + }, + { + "code": "korean_era", + "display": "Korean War (June 1950 - January 1955)" + }, + { + "code": "post_wwII_era", + "display": "Between WWII and Korean War (August 1947 - May 1950)" + }, + { + "code": "wwII_era", + "display": "World War II (September 1940 - July 1947)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json new file mode 100755 index 0000000..61145d2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-MilitaryStatusVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-MilitaryStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MilitaryStatusVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.MilitaryStatusVS" + } + ], + "name": "SHR MilitaryStatusVS ValueSet", + "title": "SHR MilitaryStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryStatusVS", + "concept": [ + { + "code": "active", + "display": "On active duty in US military" + }, + { + "code": "reserve", + "display": "Currently a Reservist" + }, + { + "code": "discharged", + "display": "No longer in active military service" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json new file mode 100755 index 0000000..dda9c86 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-TeratogenVS.json @@ -0,0 +1,268 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-TeratogenVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR TeratogenVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-TeratogenVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.TeratogenVS" + } + ], + "name": "SHR TeratogenVS ValueSet", + "title": "SHR TeratogenVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-TeratogenVS", + "concept": [ + { + "code": "chlamydia", + "display": "Chlamydia" + }, + { + "code": "pneumonia", + "display": "Pneumonia" + }, + { + "code": "gonorrhea", + "display": "Gonorrhea" + }, + { + "code": "rubella", + "display": "Rubella (German Measles)" + }, + { + "code": "herpes", + "display": "Herpes" + }, + { + "code": "scarlet", + "display": "Scarlet Fever" + }, + { + "code": "hiv", + "display": "HIV" + }, + { + "code": "syphilis", + "display": "Syphilis" + }, + { + "code": "mumps", + "display": "Mumps" + }, + { + "code": "toxoplasmosis", + "display": "Toxoplasmosis" + }, + { + "code": "tuberculosis", + "display": "Tuberculosis" + }, + { + "code": "influenza", + "display": "Influenza" + }, + { + "code": "accutane", + "display": "Accutane" + }, + { + "code": "hexachlorophene", + "display": "Hexachlorophene" + }, + { + "code": "alcohol", + "display": "Alcohol" + }, + { + "code": "iodides", + "display": "Iodides" + }, + { + "code": "amphetamines", + "display": "Amphetamines" + }, + { + "code": "lithium", + "display": "Lithium" + }, + { + "code": "antibiotics", + "display": "Antibiotics" + }, + { + "code": "lsd", + "display": "LSD" + }, + { + "code": "anti-cancer", + "display": "Anti-cancer drugs" + }, + { + "code": "opiates", + "display": "Opiates" + }, + { + "code": "anticoagulant", + "display": "Anticoagulant drugs" + }, + { + "code": "quinine", + "display": "Quinine" + }, + { + "code": "aspirin", + "display": "Aspirin" + }, + { + "code": "sedatives", + "display": "Sedatives" + }, + { + "code": "barbiturates", + "display": "Barbiturates" + }, + { + "code": "smallpox", + "display": "Smallpox vaccination" + }, + { + "code": "caffeine", + "display": "Caffeine" + }, + { + "code": "thalidomide", + "display": "Thalidomide" + }, + { + "code": "nicotine", + "display": "Nicotine" + }, + { + "code": "tranquilizers", + "display": "Tranquilizers" + }, + { + "code": "cocaine", + "display": "Cocaine" + }, + { + "code": "vitamins", + "display": "Vitamins in excess" + }, + { + "code": "des", + "display": "Diethylstilbestrol (DES)" + }, + { + "code": "marijuana", + "display": "Marijuana " + }, + { + "code": "cadmium", + "display": "Cadmium" + }, + { + "code": "mercury", + "display": "Mercury" + }, + { + "code": "cat", + "display": "Cat feces" + }, + { + "code": "nickel", + "display": "Nickel" + }, + { + "code": "fumes", + "display": "Fumes from paints, solvents, glues, dry-cleaning fluids" + }, + { + "code": "pesticides", + "display": "Pesticides" + }, + { + "code": "insecticides", + "display": "Insecticides" + }, + { + "code": "herbicides", + "display": "Herbicides" + }, + { + "code": "manganese", + "display": "Manganese" + }, + { + "code": "radiation", + "display": "Radiation (X-rays, Video Display Terminals)" + }, + { + "code": "hair", + "display": "Hair dyes" + }, + { + "code": "polychlorinated", + "display": "Polychlorinated Biphenyls (PCBs)" + }, + { + "code": "lead", + "display": "Lead" + }, + { + "code": "alcoholism", + "display": "Alcoholism" + }, + { + "code": "chemical", + "display": "Chemical dependency" + }, + { + "code": "phenylketonuria", + "display": "Phenylketonuria" + }, + { + "code": "rh", + "display": "Rh + factor" + }, + { + "code": "anemia", + "display": "Anemia" + }, + { + "code": "stress", + "display": "Stress" + }, + { + "code": "diabetes", + "display": "Diabetes Mellitus" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json new file mode 100755 index 0000000..54dc819 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-lifehistory-USMilitaryBranchVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-lifehistory-USMilitaryBranchVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR USMilitaryBranchVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-USMilitaryBranchVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.lifehistory.USMilitaryBranchVS" + } + ], + "name": "SHR USMilitaryBranchVS ValueSet", + "title": "SHR USMilitaryBranchVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-USMilitaryBranchVS", + "concept": [ + { + "code": "usa", + "display": "US Army" + }, + { + "code": "usn", + "display": "US Navy" + }, + { + "code": "usaf", + "display": "US Air Force" + }, + { + "code": "usmc", + "display": "US Marine Corps" + }, + { + "code": "uscg", + "display": "US Coast Guard" + }, + { + "code": "usphc", + "display": "US Public Health Service" + }, + { + "code": "noaa", + "display": "National Oceanic and Atmospheric Administration" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json new file mode 100755 index 0000000..c445160 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeReasonVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "ValueSet", + "id": "shr-medication-MedicationChangeReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MedicationChangeReasonVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationChangeReasonVS" + } + ], + "name": "SHR MedicationChangeReasonVS ValueSet", + "title": "SHR MedicationChangeReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeReasonVS", + "concept": [ + { + "code": "not_needed", + "display": "Do not need it any more, condition abated" + }, + { + "code": "finished", + "display": "Course of treatment complete" + }, + { + "code": "ineffective", + "display": "MTH #C3661846 Medication not effective." + }, + { + "code": "burdensome", + "display": "Can't take it when supposed to, too busy, or inconvenient to store or administer" + }, + { + "code": "difficult", + "display": "Has trouble or finds it difficult to take or administer" + }, + { + "code": "side_effect", + "display": "MTH#C0879626 \tExperienced side effects" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json new file mode 100755 index 0000000..ec0333c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationChangeTypeVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-medication-MedicationChangeTypeVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MedicationChangeTypeVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeTypeVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationChangeTypeVS" + } + ], + "name": "SHR MedicationChangeTypeVS ValueSet", + "title": "SHR MedicationChangeTypeVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeTypeVS", + "concept": [ + { + "code": "reduced", + "display": "Dose reduced" + }, + { + "code": "increased", + "display": "Dose increased" + }, + { + "code": "temp_stop", + "display": "Medication temporarily interrupted" + }, + { + "code": "swap", + "display": "Switch from one medication (or set of medications) to another" + }, + { + "code": "stop", + "display": "Medication stopped" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json new file mode 100755 index 0000000..6b8f77d --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "ValueSet", + "id": "shr-medication-MedicationNonAdherenceReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR MedicationNonAdherenceReasonVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationNonAdherenceReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.MedicationNonAdherenceReasonVS" + } + ], + "name": "SHR MedicationNonAdherenceReasonVS ValueSet", + "title": "SHR MedicationNonAdherenceReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C3841796", + "display": "Forget to take medication" + }, + { + "code": "C1444650", + "display": "Not needed" + }, + { + "code": "C3661846", + "display": "Medication not effective" + }, + { + "code": "C1709370", + "display": "Overmedicated" + }, + { + "code": "C0420261", + "display": "Patient misunderstood treatment directions" + }, + { + "code": "C4074975", + "display": "Difficulty taking medication" + }, + { + "code": "C0879626", + "display": "Experienced side effects" + }, + { + "code": "C0849836", + "display": "Worried about taking medication due to potential side effects, drug interactions, etc." + }, + { + "code": "C4049170", + "display": "Inability to afford medication" + }, + { + "code": "C0520941", + "display": "Absence of motivation to adhere to medication regimen" + }, + { + "code": "C4038419", + "display": "Prescription unfilled" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json b/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json new file mode 100755 index 0000000..dd9fbb3 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-medication-ReasonMedicationNotUsedVS.json @@ -0,0 +1,84 @@ +{ + "resourceType": "ValueSet", + "id": "shr-medication-ReasonMedicationNotUsedVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ReasonMedicationNotUsedVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.medication.ReasonMedicationNotUsedVS" + } + ], + "name": "SHR ReasonMedicationNotUsedVS ValueSet", + "title": "SHR ReasonMedicationNotUsedVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.814Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-ReasonMedicationNotUsedVS", + "concept": [ + { + "code": "not_indicated", + "display": "Not indicated" + }, + { + "code": "ineffective", + "display": "Medication or similiar class of medications have been ineffective on the patient" + }, + { + "code": "nonadherence", + "display": "Patient not expected to adhere to the medication" + }, + { + "code": "side_effect", + "display": "Patient has experienced side effects to this or similar medication" + }, + { + "code": "allergy_intolerance", + "display": "Patient has an allergy or intolerance to this or similar medications" + }, + { + "code": "apprehension", + "display": "Subject is worried about taking medication due to potential side effects, drug interactions, etc." + }, + { + "code": "affordability", + "display": "Medication is unaffordable for the patient" + }, + { + "code": "objection", + "display": "Patient or patient representative objects to medication" + }, + { + "code": "asleep", + "display": "Patient was asleep when the dose was supposed to have been given" + }, + { + "code": "unsuccessful", + "display": "Administration attempt unsuccessful (patient vomited dose, could not find vein, etc.)" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json new file mode 100755 index 0000000..7a785f8 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-observation-ExposureReasonVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ValueSet", + "id": "shr-observation-ExposureReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ExposureReasonVS ValueSet

\n

The reason that an exposure occurred.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ExposureReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ExposureReasonVS" + } + ], + "name": "SHR ExposureReasonVS ValueSet", + "title": "SHR ExposureReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "The reason that an exposure occurred.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ExposureReasonVS", + "concept": [ + { + "code": "voluntary", + "display": "The subject voluntarily subjects him or herself to the exposure, for example, smoking or using a drug recreationally." + }, + { + "code": "addiction", + "display": "The subject is addicted to the substance." + }, + { + "code": "self_prescribed", + "display": "The subject takes a non-prescription substance to address health issues or for prevention, e.g. herbal remedy for depression." + }, + { + "code": "occupational", + "display": "Exposure in a workplace setting." + }, + { + "code": "home", + "display": "Exposure in home setting." + }, + { + "code": "passive", + "display": "The exposure occurred or occurs involuntarily, e.g., exposure to second-hand smoke." + }, + { + "code": "accidental", + "display": "The exposure as a result of an accident." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json b/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json new file mode 100755 index 0000000..209500c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-observation-NonLabObservationStatusVS.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "shr-observation-NonLabObservationStatusVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR NonLabObservationStatusVS ValueSet

\n

Whether the observation is complete and definite. The set of values is a subset of status values associated with lab tests.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-NonLabObservationStatusVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.NonLabObservationStatusVS" + } + ], + "name": "SHR NonLabObservationStatusVS ValueSet", + "title": "SHR NonLabObservationStatusVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "Whether the observation is complete and definite. The set of values is a subset of status values associated with lab tests.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/observation-status", + "concept": [ + { + "code": "prelimary", + "display": "This is an initial or interim observation: data may be incomplete or unverified." + }, + { + "code": "final", + "display": "The observation is complete." + }, + { + "code": "amended", + "display": "The observation has been modified subsequent to being final." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json new file mode 100755 index 0000000..6748c91 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-observation-ObservationNotMadeReasonVS.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "shr-observation-ObservationNotMadeReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ObservationNotMadeReasonVS ValueSet

\n

An explanation of why the observation was not made (or ordered), i.e., why test was not ordered, or why a question was not asked. Since an observation is really a type of procedure, reasons that an observation was not carried out are similar to reasons any procedure might not be carried out.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ObservationNotMadeReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.observation.ObservationNotMadeReasonVS" + } + ], + "name": "SHR ObservationNotMadeReasonVS ValueSet", + "title": "SHR ObservationNotMadeReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "An explanation of why the observation was not made (or ordered), i.e., why test was not ordered, or why a question was not asked. Since an observation is really a type of procedure, reasons that an observation was not carried out are similar to reasons any procedure might not be carried out.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ObservationNotMadeReasonVS", + "concept": [ + { + "code": "not_applicable", + "display": "The question or data element is not applicable, or based on other answers, no answer to this question is required." + }, + { + "code": "contraindicated", + "display": "The test or observation is contraindicated, i.e., the subject is intolerant or at risk of an adverse reaction if subjected to the test or observation." + }, + { + "code": "redundant", + "display": "The observation has made previously, or a previous test result is available, a new test or observation would be redundant." + }, + { + "code": "cost", + "display": "The observation would be too costly." + }, + { + "code": "refused", + "display": "The subject refused the observation." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json b/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json new file mode 100755 index 0000000..72305b0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-problem-EvidenceQualityVS.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "shr-problem-EvidenceQualityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR EvidenceQualityVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-EvidenceQualityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.EvidenceQualityVS" + } + ], + "name": "SHR EvidenceQualityVS ValueSet", + "title": "SHR EvidenceQualityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-EvidenceQualityVS", + "concept": [ + { + "code": "compelling_evidence", + "display": "Compelling evidence; indicates that assessments are based on high-quality information from multiple sources. High quality evidence does not imply that the assessment is a fact or certainty." + }, + { + "code": "suggestive_evidence", + "display": "Suggestive evidence; indicates that assessments are based on credible and plausible information, but not of sufficient quality or corroborated sufficiently to warrant a higher level of confidence." + }, + { + "code": "weak_evidence", + "display": "Weak evidence, its credibility and/or plausibility is uncertain, fragmented or poorly corroborated to make solid judgments." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json b/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json new file mode 100755 index 0000000..479a906 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-problem-GradeOrStageVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-problem-GradeOrStageVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GradeOrStageVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.GradeOrStageVS" + } + ], + "name": "SHR GradeOrStageVS ValueSet", + "title": "SHR GradeOrStageVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-GradeOrStageVS", + "concept": [ + { + "code": "grade_1", + "display": "Mild" + }, + { + "code": "grade_2", + "display": "Moderate" + }, + { + "code": "grade_3", + "display": "Severe" + }, + { + "code": "grade_4", + "display": "Life-threatening or disabling" + }, + { + "code": "grade_5", + "display": "Death" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json b/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json new file mode 100755 index 0000000..772cb16 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-problem-ProblemCategoryVS.json @@ -0,0 +1,68 @@ +{ + "resourceType": "ValueSet", + "id": "shr-problem-ProblemCategoryVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ProblemCategoryVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.problem.ProblemCategoryVS" + } + ], + "name": "SHR ProblemCategoryVS ValueSet", + "title": "SHR ProblemCategoryVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS", + "concept": [ + { + "code": "disease", + "display": "A disorder of structure or function in a human, animal, or plant, especially one that produces specific signs or symptoms or that affects a specific location and is not simply a direct result of physical injury." + }, + { + "code": "functional_impairment", + "display": "A disability experienced by the subject." + }, + { + "code": "structural_abnormality", + "display": "An abnormality of physiologic structure." + }, + { + "code": "concern", + "display": "Something the subject is worried about, which may or may not have yet been manifested. The object of the concern does not have to be a medical disorder." + }, + { + "code": "symptom", + "display": "A manifestation of a deeper cause, of known or unknown etiology, e.g. pain or ringing in the ears." + }, + { + "code": "adverse_reaction", + "display": "An adverse reaction to an intervention." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json new file mode 100755 index 0000000..ae0d252 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-CommonPregnancyComplicationVS.json @@ -0,0 +1,100 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-CommonPregnancyComplicationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR CommonPregnancyComplicationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-CommonPregnancyComplicationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.CommonPregnancyComplicationVS" + } + ], + "name": "SHR CommonPregnancyComplicationVS ValueSet", + "title": "SHR CommonPregnancyComplicationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0011570", + "display": "Mental depression" + }, + { + "code": "C0221074", + "display": "Postpartum depression" + }, + { + "code": "C0032914", + "display": "Pre-eclampsia (hypertension occuring during pregnancy)" + }, + { + "code": "C0149871", + "display": "Deep Vein Thrombosis" + }, + { + "code": "C0002871", + "display": "Anemia" + }, + { + "code": "C0240713", + "display": "Perineal Tearing" + }, + { + "code": "C0079924", + "display": "Oligohydramnios" + }, + { + "code": "C0085207", + "display": "Gestational Diabetes" + }, + { + "code": "C0032987", + "display": "Ectopic Pregnancy" + }, + { + "code": "C0151526", + "display": "Preterm Birth" + }, + { + "code": "C0000786", + "display": "Miscarriage (spontaneous abortion)" + }, + { + "code": "C0032046", + "display": "Placenta Previa" + }, + { + "code": "C2937358", + "display": "Cerebral hemorrhage" + }, + { + "code": "C0020450", + "display": "Hyperemesis gravidarum" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json new file mode 100755 index 0000000..7aa86df --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodReasonVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-ContraceptiveMethodReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodReasonVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodReasonVS" + } + ], + "name": "SHR ContraceptiveMethodReasonVS ValueSet", + "title": "SHR ContraceptiveMethodReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodReasonVS", + "concept": [ + { + "code": "control", + "display": "Gives subject control the use of contraceptive." + }, + { + "code": "safer_sex", + "display": "Method of contraceptive provides safer sex." + }, + { + "code": "convenient", + "display": "Easy to use." + }, + { + "code": "long_term", + "display": "Provides long term protection." + }, + { + "code": "available", + "display": "Easily available, affordable." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json new file mode 100755 index 0000000..3330515 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveMethodVS.json @@ -0,0 +1,116 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-ContraceptiveMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveMethodVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveMethodVS" + } + ], + "name": "SHR ContraceptiveMethodVS ValueSet", + "title": "SHR ContraceptiveMethodVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodVS", + "concept": [ + { + "code": "no_contraceptive", + "display": "Not using contraceptive" + }, + { + "code": "implant", + "display": "Implanted long-term contraceptive" + }, + { + "code": "iud", + "display": "Intrauterine device or system" + }, + { + "code": "sterilized_female", + "display": "Female sterilization, e.g., tubal ligation" + }, + { + "code": "sterilized_male", + "display": "Male sterilization, e.g., vasectomy" + }, + { + "code": "injectable", + "display": "Injectable contraceptive" + }, + { + "code": "lam", + "display": "Lactational amenorrhea method" + }, + { + "code": "oral", + "display": "Oral contraceptive" + }, + { + "code": "patch", + "display": "Contraceptive patch" + }, + { + "code": "ring", + "display": "Vaginal ring" + }, + { + "code": "condom_male", + "display": "Male condom" + }, + { + "code": "condom_female", + "display": "Female condom" + }, + { + "code": "fam", + "display": "Fertility awareness method aka natural family planning aka rhythm method" + }, + { + "code": "withdrawal", + "display": "Withdrawal method aka coitus interruptus" + }, + { + "code": "spermicide", + "display": "Use of spermicide." + }, + { + "code": "sponge", + "display": "Contraceptive sponge" + }, + { + "code": "partner", + "display": "Rely on partner to provide." + }, + { + "code": "emergency", + "display": "Emergency contraceptive, the 'morning after' pill." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json new file mode 100755 index 0000000..f59169b --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json @@ -0,0 +1,84 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-ContraceptiveNotUsedReasonVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR ContraceptiveNotUsedReasonVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveNotUsedReasonVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.ContraceptiveNotUsedReasonVS" + } + ], + "name": "SHR ContraceptiveNotUsedReasonVS ValueSet", + "title": "SHR ContraceptiveNotUsedReasonVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveNotUsedReasonVS", + "concept": [ + { + "code": "abstinent", + "display": "Abstains from sexual intercourse." + }, + { + "code": "new", + "display": "Newly sexually active, has not yet sought birth control." + }, + { + "code": "seeking", + "display": "Seeking to become pregnant or accepting of the prospect of pregnancy." + }, + { + "code": "sterility", + "display": "Either partner is sterile (other than being sterilized for contraceptive purposes, which counts as a method of contraception)." + }, + { + "code": "same_sex", + "display": "Partner of same sex." + }, + { + "code": "pregnant", + "display": "Partner is pregnant." + }, + { + "code": "not_at_risk", + "display": "Not at risk of unintended pregnancy, for example, post-menopausal." + }, + { + "code": "decline", + "display": "Declines to use any method of birth control." + }, + { + "code": "unavailable", + "display": "Difficulty obtaining contraceptive, for reasons of cost or access." + }, + { + "code": "inconvenient", + "display": "Using contraceptive is inconvenient." + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json new file mode 100755 index 0000000..724668d --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-DifficultyWithIntercourseVS.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-DifficultyWithIntercourseVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR DifficultyWithIntercourseVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-DifficultyWithIntercourseVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.DifficultyWithIntercourseVS" + } + ], + "name": "SHR DifficultyWithIntercourseVS ValueSet", + "title": "SHR DifficultyWithIntercourseVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C1384606", + "display": "Dyspareunia (difficult or painful intercourse)" + }, + { + "code": "C2219920", + "display": "Lack of sensation felt during sexual intercourse" + }, + { + "code": "C0011124", + "display": "Decreased libido" + }, + { + "code": "C2220018", + "display": "Aversion to sexual intercourse" + }, + { + "code": "C0425739", + "display": "Vaginal dryness on intercourse" + }, + { + "code": "C0156406", + "display": "Postcoital bleeding" + }, + { + "code": "C0278103", + "display": "Fear of intercourse" + }, + { + "code": "C0425732", + "display": "Sexual intercourse difficult" + }, + { + "code": "C0455842", + "display": "Problem getting an erection" + }, + { + "code": "C0858253", + "display": "Inability to maintain erection" + }, + { + "code": "C0033038", + "display": "Premature ejaculation" + }, + { + "code": "C0425761", + "display": "Failure of orgasm" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json new file mode 100755 index 0000000..7b5cfa2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-GenderIdentityVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-GenderIdentityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR GenderIdentityVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-GenderIdentityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.GenderIdentityVS" + } + ], + "name": "SHR GenderIdentityVS ValueSet", + "title": "SHR GenderIdentityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-GenderIdentityVS", + "concept": [ + { + "code": "male_gender", + "display": "Identifies as male, exclusively, usually, or primarily" + }, + { + "code": "female_gender", + "display": "Identifies as female, exclusively, usually, or primarily " + }, + { + "code": "agender", + "display": "Does not identify with any gender" + }, + { + "code": "bigender", + "display": "Identifies with both male and female genders, either simultaneously, or changing fluidly over time" + }, + { + "code": "unsure_gender", + "display": "Uncertain or searching for gender identity" + }, + { + "code": "trans_female", + "display": "Male (at birth) who identifies as a female" + }, + { + "code": "trans_male", + "display": "Female (at birth) who identifies as a male" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json new file mode 100755 index 0000000..604fa31 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-SexualActivityVS.json @@ -0,0 +1,96 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-SexualActivityVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SexualActivityVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualActivityVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualActivityVS" + } + ], + "name": "SHR SexualActivityVS ValueSet", + "title": "SHR SexualActivityVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0425726", + "display": "Never been sexually active" + }, + { + "code": "C0425725", + "display": "Currently not sexually active" + }, + { + "code": "C0036899", + "display": "Sexually abstinent" + }, + { + "code": "C4272228", + "display": "Sexually active, heterosexual activity" + }, + { + "code": "C2046970", + "display": "Sexually active, homosexual activity" + }, + { + "code": "C2135319", + "display": "Sexually active in mutually monogamous relationship" + }, + { + "code": "C2135645", + "display": "Sexually active with prostitutes" + }, + { + "code": "C2220418", + "display": "Sexually active as a prostitute" + }, + { + "code": "C2229925", + "display": "Sexually active with lack of responsibility" + }, + { + "code": "C2220257", + "display": "Sexually active with frequent new partners" + }, + { + "code": "C2220419", + "display": "Sexually active with persons at risk for HIV-related disease" + }, + { + "code": "C2229924", + "display": "Sexually active and practicing safe(r) sex" + }, + { + "code": "C2133544", + "display": "Sexually active and trying to become pregnant" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json b/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json new file mode 100755 index 0000000..69e7091 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-sex-SexualOrientationVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-sex-SexualOrientationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SexualOrientationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualOrientationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.sex.SexualOrientationVS" + } + ], + "name": "SHR SexualOrientationVS ValueSet", + "title": "SHR SexualOrientationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "365956009" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json new file mode 100755 index 0000000..3be494e --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerAssociationVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-PressureUlcerAssociationVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerAssociationVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerAssociationVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerAssociationVS" + } + ], + "name": "SHR PressureUlcerAssociationVS ValueSet", + "title": "SHR PressureUlcerAssociationVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-PressureUlcerAssociationVS", + "concept": [ + { + "code": "device", + "display": "Device related" + }, + { + "code": "pressure_point", + "display": "Pressure-point related" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json new file mode 100755 index 0000000..23691ef --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-PressureUlcerBodySiteVS.json @@ -0,0 +1,108 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-PressureUlcerBodySiteVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR PressureUlcerBodySiteVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.PressureUlcerBodySiteVS" + } + ], + "name": "SHR PressureUlcerBodySiteVS ValueSet", + "title": "SHR PressureUlcerBodySiteVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "43631005", + "display": "Back of head" + }, + { + "code": "23747009", + "display": "Chin" + }, + { + "code": "87141009", + "display": "Sacrum/coccyx" + }, + { + "code": "122495006", + "display": "Thoratic spine" + }, + { + "code": "122496007", + "display": "Lumbar spine" + }, + { + "code": "TBD", + "display": "Shoulder" + }, + { + "code": "TBD", + "display": "Scapula" + }, + { + "code": "TBD", + "display": "Elbow" + }, + { + "code": "TBD", + "display": "Hip" + }, + { + "code": "TBD", + "display": "Knee" + }, + { + "code": "TBD", + "display": "Heel" + }, + { + "code": "TBD", + "display": "Medial ankle" + }, + { + "code": "TBD", + "display": "Lateral ankle" + }, + { + "code": "TBD", + "display": "Ankle" + }, + { + "code": "TBD", + "display": "Posterior iliac crest" + }, + { + "code": "TBD", + "display": "Buttock" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json new file mode 100755 index 0000000..b677653 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-SupportSurfaceBodyPositionVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceBodyPositionVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceBodyPositionVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceBodyPositionVS" + } + ], + "name": "SHR SupportSurfaceBodyPositionVS ValueSet", + "title": "SHR SupportSurfaceBodyPositionVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceBodyPositionVS", + "concept": [ + { + "code": "sitting", + "display": "Sitting" + }, + { + "code": "lying", + "display": "Lying" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json new file mode 100755 index 0000000..f8d03b2 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceCategoryVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-SupportSurfaceCategoryVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceCategoryVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceCategoryVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceCategoryVS" + } + ], + "name": "SHR SupportSurfaceCategoryVS ValueSet", + "title": "SHR SupportSurfaceCategoryVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceCategoryVS", + "concept": [ + { + "code": "active_support", + "display": "Active support surface" + }, + { + "code": "reactive_support", + "display": "Reactive support surface" + }, + { + "code": "mattress", + "display": "Mattress" + }, + { + "code": "bed_system", + "display": "Integrated bed system" + }, + { + "code": "overlay", + "display": "Overlay" + }, + { + "code": "nonpowered", + "display": "Non-powered" + }, + { + "code": "powered", + "display": "Powered" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json new file mode 100755 index 0000000..9c0c1d0 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceComponentVS.json @@ -0,0 +1,92 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-SupportSurfaceComponentVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceComponentVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceComponentVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceComponentVS" + } + ], + "name": "SHR SupportSurfaceComponentVS ValueSet", + "title": "SHR SupportSurfaceComponentVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceComponentVS", + "concept": [ + { + "code": "air", + "display": "Air" + }, + { + "code": "cell", + "display": "Cell or bladder" + }, + { + "code": "viscoelastic", + "display": "Viscoelastic foam" + }, + { + "code": "elastic", + "display": "Elastic foam" + }, + { + "code": "closed_cell", + "display": "Closed cell foam" + }, + { + "code": "open_cell", + "display": "Open cell foam" + }, + { + "code": "gel", + "display": "gel" + }, + { + "code": "pad", + "display": "pad" + }, + { + "code": "viscous", + "display": "Viscous fluid" + }, + { + "code": "elastomer", + "display": "Elastomer" + }, + { + "code": "solid", + "display": "Solid surface" + }, + { + "code": "water", + "display": "Water" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json new file mode 100755 index 0000000..461f1c3 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceFeatureVS.json @@ -0,0 +1,72 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-SupportSurfaceFeatureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceFeatureVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceFeatureVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceFeatureVS" + } + ], + "name": "SHR SupportSurfaceFeatureVS ValueSet", + "title": "SHR SupportSurfaceFeatureVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceFeatureVS", + "concept": [ + { + "code": "fluidized", + "display": "Air fluidized" + }, + { + "code": "alternating", + "display": "Alternating pressure" + }, + { + "code": "rotation", + "display": "Lateral rotation" + }, + { + "code": "low_air_loss", + "display": "Low air loss" + }, + { + "code": "envelopment", + "display": "Envelopment" + }, + { + "code": "multi_zone", + "display": "Multi-zone surface" + }, + { + "code": "redist", + "display": "Pressure redistribution" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json new file mode 100755 index 0000000..09e9244 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-SupportSurfaceVS.json @@ -0,0 +1,49 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-SupportSurfaceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR SupportSurfaceVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.SupportSurfaceVS" + } + ], + "name": "SHR SupportSurfaceVS ValueSet", + "title": "SHR SupportSurfaceVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "272243001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json new file mode 100755 index 0000000..0ed85ab --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-VisibleInternalStructureVS.json @@ -0,0 +1,76 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-VisibleInternalStructureVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR VisibleInternalStructureVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-VisibleInternalStructureVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.VisibleInternalStructureVS" + } + ], + "name": "SHR VisibleInternalStructureVS ValueSet", + "title": "SHR VisibleInternalStructureVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "3138006", + "display": "Bone tissue" + }, + { + "code": "84820005", + "display": "Fascia tissue" + }, + { + "code": "32551008", + "display": "Joint capsule" + }, + { + "code": "71616004", + "display": "Muscle" + }, + { + "code": "5335007", + "display": "Prothesis (as implanted device)" + }, + { + "code": "77444004", + "display": "Bone pin (as implanted device)" + }, + { + "code": "71966008", + "display": "Subcutaneous tissue" + }, + { + "code": "13024002", + "display": "Tendon tissue" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json b/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json new file mode 100755 index 0000000..b2920d5 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-skin-WoundEdgeAppearanceVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-skin-WoundEdgeAppearanceVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR WoundEdgeAppearanceVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-WoundEdgeAppearanceVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.skin.WoundEdgeAppearanceVS" + } + ], + "name": "SHR WoundEdgeAppearanceVS ValueSet", + "title": "SHR WoundEdgeAppearanceVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "compose": { + "include": [ + { + "system": "http://snomed.info/sct", + "concept": [ + { + "code": "449748001", + "display": "Wound edges attached" + }, + { + "code": "449749009", + "display": "Wound edge diffuse" + }, + { + "code": "449750009", + "display": "Wound edge sharp" + }, + { + "code": "449751008", + "display": "Rolled wound edge" + }, + { + "code": "449760000", + "display": "Scab of wound edge" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json new file mode 100755 index 0000000..4e3251f --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureBodySiteVS.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BloodPressureBodySiteVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressureBodySiteVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureBodySiteVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressureBodySiteVS" + } + ], + "name": "SHR BloodPressureBodySiteVS ValueSet", + "title": "SHR BloodPressureBodySiteVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0446516", + "display": "Arm" + }, + { + "code": "C1140621", + "display": "Leg" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json new file mode 100755 index 0000000..cc54d5e --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureMethodVS.json @@ -0,0 +1,61 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BloodPressureMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressureMethodVS ValueSet

\n

The method used to measure blood pressure.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureMethodVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressureMethodVS" + } + ], + "name": "SHR BloodPressureMethodVS ValueSet", + "title": "SHR BloodPressureMethodVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "description": "The method used to measure blood pressure.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureMethodVS", + "concept": [ + { + "code": "cuff_manual", + "display": "Cuff method, manual" + }, + { + "code": "cuff_auto", + "display": "Cuff method, automatic" + }, + { + "code": "intravascular", + "display": "Intravascular method" + }, + { + "code": "continuous", + "display": "Continuous non-invasive monitoring" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json new file mode 100755 index 0000000..f3ef14c --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BloodPressureQualifierVS.json @@ -0,0 +1,78 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BloodPressureQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BloodPressureQualifierVS ValueSet

\n

Code further describing the blood pressure measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BloodPressureQualifierVS" + } + ], + "name": "SHR BloodPressureQualifierVS ValueSet", + "title": "SHR BloodPressureQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "description": "Code further describing the blood pressure measurement.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureQualifierVS", + "concept": [ + { + "code": "pre_transfusion", + "display": "pre transfusion" + }, + { + "code": "post_transfusion", + "display": "post transfusion" + }, + { + "code": "pre_phlebotomy", + "display": "pre phlebotomy" + }, + { + "code": "post_phlebotomy", + "display": "post phlebotomy" + }, + { + "code": "expiration", + "display": "during expiration" + }, + { + "code": "inspiration", + "display": "during inspiration" + } + ] + }, + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0242880", + "display": "During tilt table test" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json new file mode 100755 index 0000000..3c4c020 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyHeightQualifierVS.json @@ -0,0 +1,77 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BodyHeightQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyHeightQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyHeightQualifierVS" + } + ], + "name": "SHR BodyHeightQualifierVS ValueSet", + "title": "SHR BodyHeightQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "8301-4", + "display": "Body height estimated" + }, + { + "code": "3137-7", + "display": "Body height measured" + }, + { + "code": "8306-3", + "display": "Body height lying" + }, + { + "code": "8305-5", + "display": "Body height post partum" + }, + { + "code": "8307-1", + "display": "Body height preoperative" + }, + { + "code": "8308-9", + "display": "Body height standing" + } + ] + }, + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyHeightQualifierVS", + "concept": [ + { + "code": "shoes_on", + "display": "Body height wearing shoes" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json new file mode 100755 index 0000000..3dddaae --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureBodySiteVS.json @@ -0,0 +1,88 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BodyTemperatureBodySiteVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyTemperatureBodySiteVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureBodySiteVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyTemperatureBodySiteVS" + } + ], + "name": "SHR BodyTemperatureBodySiteVS ValueSet", + "title": "SHR BodyTemperatureBodySiteVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0004454", + "display": "Axilla (underarm)" + }, + { + "code": "C0226896", + "display": "Oral cavity" + }, + { + "code": "C0521421", + "display": "Ear" + }, + { + "code": "C0041445", + "display": "Tympanic membrane" + }, + { + "code": "C0039482", + "display": "Temporal artery (forehead)" + }, + { + "code": "C0034896", + "display": "Rectal" + }, + { + "code": "C0005682", + "display": "Urinary bladder" + }, + { + "code": "C0027423", + "display": "Nasal" + }, + { + "code": "C0027442", + "display": "Nasopharynx" + }, + { + "code": "C0016129", + "display": "Finger" + }, + { + "code": "C0040357", + "display": "Toe" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json new file mode 100755 index 0000000..ece94b5 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyTemperatureQualifierVS.json @@ -0,0 +1,48 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BodyTemperatureQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyTemperatureQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyTemperatureQualifierVS" + } + ], + "name": "SHR BodyTemperatureQualifierVS ValueSet", + "title": "SHR BodyTemperatureQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyTemperatureQualifierVS", + "concept": [ + { + "code": "max_illness", + "display": "Maximum temperature during an illness" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json new file mode 100755 index 0000000..41a505e --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-BodyWeightQualifierVS.json @@ -0,0 +1,100 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-BodyWeightQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR BodyWeightQualifierVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyWeightQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.BodyWeightQualifierVS" + } + ], + "name": "SHR BodyWeightQualifierVS ValueSet", + "title": "SHR BodyWeightQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyWeightQualifierVS", + "concept": [ + { + "code": "meas", + "display": "Measured" + }, + { + "code": "est", + "display": "Estimated" + }, + { + "code": "ideal", + "display": "Ideal" + }, + { + "code": "clothed", + "display": "with clothes" + }, + { + "code": "unclothed", + "display": "without clothes" + }, + { + "code": "pre_dialysis", + "display": "pre dialysis" + }, + { + "code": "post_dialysis", + "display": "post dialysis" + }, + { + "code": "preop", + "display": "pre operative" + }, + { + "code": "postop", + "display": "pre pregnancy" + }, + { + "code": "antepartum", + "display": "ante partum" + }, + { + "code": "delivery", + "display": "mother at delivery" + }, + { + "code": "postpartum", + "display": "post partum" + }, + { + "code": "birth", + "display": "birth weight" + }, + { + "code": "dry", + "display": "dry" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json new file mode 100755 index 0000000..2622d21 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateMethodVS.json @@ -0,0 +1,73 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-HeartRateMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HeartRateMethodVS ValueSet

\n

Method of measuring heart rate.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateMethodVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeartRateMethodVS" + } + ], + "name": "SHR HeartRateMethodVS ValueSet", + "title": "SHR HeartRateMethodVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "description": "Method of measuring heart rate.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateMethodVS", + "concept": [ + { + "code": "pulseox", + "display": "Pulse oximetry" + }, + { + "code": "pedometer", + "display": "Pedometer" + }, + { + "code": "auscul", + "display": "Auscultation" + }, + { + "code": "palp", + "display": "Palpation" + }, + { + "code": "invasive", + "display": "Invasive (e.g. intra arterial)" + }, + { + "code": "us_doppler", + "display": "US Doppler" + }, + { + "code": "ecg", + "display": "Electrocardiogram" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json new file mode 100755 index 0000000..dba542f --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-HeartRateQualifierVS.json @@ -0,0 +1,65 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-HeartRateQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR HeartRateQualifierVS ValueSet

\n

Details of a heart rate measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.HeartRateQualifierVS" + } + ], + "name": "SHR HeartRateQualifierVS ValueSet", + "title": "SHR HeartRateQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "Details of a heart rate measurement.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateQualifierVS", + "concept": [ + { + "code": "rest", + "display": "resting or pre-exercise" + }, + { + "code": "post_exercise", + "display": "post exercise" + }, + { + "code": "apgar_1", + "display": "1 minute Apgar heart rate" + }, + { + "code": "apgar_5", + "display": "5 minute Apgar heart rate" + }, + { + "code": "apgar_10", + "display": "10 minute Apgar heart rate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json new file mode 100755 index 0000000..c81e3cc --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-OxygenSaturationBodySiteVS.json @@ -0,0 +1,64 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-OxygenSaturationBodySiteVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR OxygenSaturationBodySiteVS ValueSet

\n

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-OxygenSaturationBodySiteVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.OxygenSaturationBodySiteVS" + } + ], + "name": "SHR OxygenSaturationBodySiteVS ValueSet", + "title": "SHR OxygenSaturationBodySiteVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.816Z", + "compose": { + "include": [ + { + "system": "http://ncimeta.nci.nih.gov", + "concept": [ + { + "code": "C0729895", + "display": "Fingertip" + }, + { + "code": "C0229315", + "display": "Ear lobe" + }, + { + "code": "C0016504", + "display": "Foot" + }, + { + "code": "C081709", + "display": "Chest" + }, + { + "code": "0016540", + "display": "Forehead" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json new file mode 100755 index 0000000..c2265d7 --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateMethodVS.json @@ -0,0 +1,69 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-RespiratoryRateMethodVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateMethodVS ValueSet

\n

Methods of measuring respiratory rate.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateMethodVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.RespiratoryRateMethodVS" + } + ], + "name": "SHR RespiratoryRateMethodVS ValueSet", + "title": "SHR RespiratoryRateMethodVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "Methods of measuring respiratory rate.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateMethodVS", + "concept": [ + { + "code": "acoustic", + "display": "Acoustic measurement" + }, + { + "code": "airway_flow", + "display": "Airway flow measurement" + }, + { + "code": "co2", + "display": "Carbon dioxide measurement" + }, + { + "code": "imped", + "display": "Transthoracic impedance" + }, + { + "code": "spiro", + "display": "Spirometry" + }, + { + "code": "capillary", + "display": "Capillary blood" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json b/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json new file mode 100755 index 0000000..87b4bed --- /dev/null +++ b/lib/resources/standard_health_record/ValueSet-shr-vital-RespiratoryRateQualifierVS.json @@ -0,0 +1,101 @@ +{ + "resourceType": "ValueSet", + "id": "shr-vital-RespiratoryRateQualifierVS", + "meta": { + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

SHR RespiratoryRateQualifierVS ValueSet

\n

Details of a respiratory rate measurement.

\n
" + }, + "url": "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateQualifierVS", + "identifier": [ + { + "system": "http://standardhealthrecord.org", + "value": "shr.vital.RespiratoryRateQualifierVS" + } + ], + "name": "SHR RespiratoryRateQualifierVS ValueSet", + "title": "SHR RespiratoryRateQualifierVS ValueSet", + "status": "draft", + "publisher": "The MITRE Corporation: Standard Health Record Collaborative", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.standardhealthrecord.org" + } + ] + } + ], + "date": "2017-03-21T00:21:35.815Z", + "description": "Details of a respiratory rate measurement.", + "compose": { + "include": [ + { + "system": "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateQualifierVS", + "concept": [ + { + "code": "rest", + "display": "resting or pre-exercise" + }, + { + "code": "post_exercise", + "display": "post exercise" + }, + { + "code": "max_voluntary", + "display": "maximum voluntary ventilation" + }, + { + "code": "post_bronchoscopy", + "display": "post bronchoscopy" + }, + { + "code": "post_cardioversion", + "display": "post cardioversion" + }, + { + "code": "post_sedation", + "display": "post conscious sedation" + }, + { + "code": "post_therapy", + "display": "post inhalation therapy" + }, + { + "code": "pre_bronchoscopy", + "display": "pre bronchoscopy" + }, + { + "code": "pre_cardioversion", + "display": "pre cardioversion" + }, + { + "code": "pre_sedation", + "display": "pre conscious sedation" + }, + { + "code": "pre_therapy", + "display": "pre inhalation therapy" + }, + { + "code": "vent_spont", + "display": "on ventilator, spontaneous" + }, + { + "code": "vent", + "display": "on ventilator, mechanical and spontaneous" + }, + { + "code": "vent_mech", + "display": "on ventilator, mechanical" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/standard_health_record/spec.internals b/lib/resources/standard_health_record/spec.internals new file mode 100755 index 0000000..36e16a9 --- /dev/null +++ b/lib/resources/standard_health_record/spec.internals @@ -0,0 +1,3081 @@ +{ + "version": "1.8.0", + "build": "10514", + "webUrl": "http://standardhealthrecord.org/fhir", + "date": "2017-03-20", + "paths": { + "http://standardhealthrecord.org/fhir/ImplementationGuide/1": "ImplementationGuide-1.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-EmergencyContact": "StructureDefinition-shr-actor-EmergencyContact.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-NoPrimaryCareProvider": "StructureDefinition-shr-actor-NoPrimaryCareProvider.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Organization": "StructureDefinition-shr-actor-Organization.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner": "StructureDefinition-shr-actor-Practitioner.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-PrimaryCareProvider": "StructureDefinition-shr-actor-PrimaryCareProvider.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ProviderRelationship": "StructureDefinition-shr-actor-ProviderRelationship.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson": "StructureDefinition-shr-actor-RelatedPerson.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction": "StructureDefinition-shr-adverse-AdverseReaction.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-AllergyIntolerance": "StructureDefinition-shr-allergy-AllergyIntolerance.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-DrugAllergy": "StructureDefinition-shr-allergy-DrugAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy": "StructureDefinition-shr-allergy-FoodAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownAllergy": "StructureDefinition-shr-allergy-NoKnownAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownDrugAllergy": "StructureDefinition-shr-allergy-NoKnownDrugAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownEnvironmentalAllergy": "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-NoKnownFoodAllergy": "StructureDefinition-shr-allergy-NoKnownFoodAllergy.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Entry": "StructureDefinition-shr-base-Entry.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Narrative": "StructureDefinition-shr-base-Narrative.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholUse": "StructureDefinition-shr-behavior-AlcoholUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-BehavioralObservation": "StructureDefinition-shr-behavior-BehavioralObservation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietAndNutrition": "StructureDefinition-shr-behavior-DietAndNutrition.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-IntravenousDrugUse": "StructureDefinition-shr-behavior-IntravenousDrugUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-NicotineUse": "StructureDefinition-shr-behavior-NicotineUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ONCSmokingStatus": "StructureDefinition-shr-behavior-ONCSmokingStatus.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLevel": "StructureDefinition-shr-behavior-PhysicalActivityLevel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPractice": "StructureDefinition-shr-behavior-ReligiousPractice.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQuality": "StructureDefinition-shr-behavior-SleepQuality.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceAbuseTreatment": "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SubstanceUse": "StructureDefinition-shr-behavior-SubstanceUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentBehaviorRisk": "StructureDefinition-shr-behavior-ViolentBehaviorRisk.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Address": "StructureDefinition-shr-core-Address.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age": "StructureDefinition-shr-core-Age.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Annotation": "StructureDefinition-shr-core-Annotation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite": "StructureDefinition-shr-core-BodySite.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept": "StructureDefinition-shr-core-CodeableConcept.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Coding": "StructureDefinition-shr-core-Coding.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-DollarAmount": "StructureDefinition-shr-core-DollarAmount.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration": "StructureDefinition-shr-core-Duration.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod": "StructureDefinition-shr-core-EffectiveTimePeriod.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeopoliticalLocation": "StructureDefinition-shr-core-GeopoliticalLocation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Geoposition": "StructureDefinition-shr-core-Geoposition.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-HumanName": "StructureDefinition-shr-core-HumanName.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Identifier": "StructureDefinition-shr-core-Identifier.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound": "StructureDefinition-shr-core-LowerBound.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-PeriodOfUse": "StructureDefinition-shr-core-PeriodOfUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity": "StructureDefinition-shr-core-Quantity.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Statistic": "StructureDefinition-shr-core-Statistic.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod": "StructureDefinition-shr-core-TimePeriod.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UnitedStatesAddress": "StructureDefinition-shr-core-UnitedStatesAddress.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound": "StructureDefinition-shr-core-UpperBound.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HealthInsurance": "StructureDefinition-shr-demographics-HealthInsurance.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-HomeTelephoneNumber": "StructureDefinition-shr-demographics-HomeTelephoneNumber.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord": "StructureDefinition-shr-demographics-PersonOfRecord.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-Telecom": "StructureDefinition-shr-demographics-Telecom.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelephoneNumber": "StructureDefinition-shr-demographics-TelephoneNumber.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-WorkTelephoneNumber": "StructureDefinition-shr-demographics-WorkTelephoneNumber.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Device": "StructureDefinition-shr-device-Device.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUse": "StructureDefinition-shr-device-DeviceUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Encounter": "StructureDefinition-shr-encounter-Encounter.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility": "StructureDefinition-shr-encounter-Facility.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure": "StructureDefinition-shr-environment-AnimalExposure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome": "StructureDefinition-shr-environment-AnnualIncome.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare": "StructureDefinition-shr-environment-CanAffordChildCare.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing": "StructureDefinition-shr-environment-CanAffordClothing.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare": "StructureDefinition-shr-environment-CanAffordDentalCare.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood": "StructureDefinition-shr-environment-CanAffordFood.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing": "StructureDefinition-shr-environment-CanAffordHousing.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication": "StructureDefinition-shr-environment-CanAffordMedication.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation": "StructureDefinition-shr-environment-CanAffordTransportation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities": "StructureDefinition-shr-environment-CanAffordUtilities.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant": "StructureDefinition-shr-environment-Coinhabitant.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence": "StructureDefinition-shr-environment-DomesticViolence.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety": "StructureDefinition-shr-environment-EmotionalSafety.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EnvironmentalExposuresPanel": "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureToSubstance": "StructureDefinition-shr-environment-ExposureToSubstance.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-FinancialSituationPanel": "StructureDefinition-shr-environment-FinancialSituationPanel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk": "StructureDefinition-shr-environment-HomeEnvironmentRisk.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSituationPanel": "StructureDefinition-shr-environment-HouseholdSituationPanel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize": "StructureDefinition-shr-environment-HouseholdSize.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity": "StructureDefinition-shr-environment-HousingSecurity.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource": "StructureDefinition-shr-environment-IncomeSource.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability": "StructureDefinition-shr-environment-IncomeStability.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit": "StructureDefinition-shr-environment-NonCashBenefit.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents": "StructureDefinition-shr-environment-NumberOfDependents.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety": "StructureDefinition-shr-environment-PhysicalSafety.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-SocialEnvironmentPanel": "StructureDefinition-shr-environment-SocialEnvironmentPanel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability": "StructureDefinition-shr-environment-TransportationAvailability.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-Immunization": "StructureDefinition-shr-immunization-Immunization.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationAdministered": "StructureDefinition-shr-immunization-ImmunizationAdministered.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-immunization-ImmunizationNotGiven": "StructureDefinition-shr-immunization-ImmunizationNotGiven.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVScreeningTest": "StructureDefinition-shr-lab-HIVScreeningTest.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVScreeningTestRequest": "StructureDefinition-shr-lab-HIVScreeningTestRequest.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVSupplementalTest": "StructureDefinition-shr-lab-HIVSupplementalTest.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-HIVSupplementalTestRequest": "StructureDefinition-shr-lab-HIVSupplementalTestRequest.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test": "StructureDefinition-shr-lab-Test.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest": "StructureDefinition-shr-lab-TestRequest.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-CongenitalAbnormalities": "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EducationalAttainment": "StructureDefinition-shr-lifehistory-EducationalAttainment.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employment": "StructureDefinition-shr-lifehistory-Employment.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryService": "StructureDefinition-shr-lifehistory-MilitaryService.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus": "StructureDefinition-shr-lifehistory-MilitaryStatus.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Occupation": "StructureDefinition-shr-lifehistory-Occupation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-PrenatalExposure": "StructureDefinition-shr-lifehistory-PrenatalExposure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Travel": "StructureDefinition-shr-lifehistory-Travel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Medication": "StructureDefinition-shr-medication-Medication.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationChange": "StructureDefinition-shr-medication-MedicationChange.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotAdministered": "StructureDefinition-shr-medication-MedicationNotAdministered.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribed": "StructureDefinition-shr-medication-MedicationNotPrescribed.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationPrescription": "StructureDefinition-shr-medication-MedicationPrescription.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationUse": "StructureDefinition-shr-medication-MedicationUse.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-CodeableConceptObservation": "StructureDefinition-shr-observation-CodeableConceptObservation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-HistoryObservation": "StructureDefinition-shr-observation-HistoryObservation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Observation": "StructureDefinition-shr-observation-Observation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-Panel": "StructureDefinition-shr-observation-Panel.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-SocialHistory": "StructureDefinition-shr-observation-SocialHistory.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-AcademicProblem": "StructureDefinition-shr-problem-AcademicProblem.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Asplenia": "StructureDefinition-shr-problem-Asplenia.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Injury": "StructureDefinition-shr-problem-Injury.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation": "StructureDefinition-shr-problem-Manifestation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-MentalHealthProblem": "StructureDefinition-shr-problem-MentalHealthProblem.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Problem": "StructureDefinition-shr-problem-Problem.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-procedure-Procedure": "StructureDefinition-shr-procedure-Procedure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodRecommendation": "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ContraceptiveMethodsUsed": "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity": "StructureDefinition-shr-sex-GenderIdentity.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyHistory": "StructureDefinition-shr-sex-PregnancyHistory.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-PregnancyIntention": "StructureDefinition-shr-sex-PregnancyIntention.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualBehavior": "StructureDefinition-shr-sex-SexualBehavior.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualIdentity": "StructureDefinition-shr-sex-SexualIdentity.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcer": "StructureDefinition-shr-skin-PressureUlcer.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerBodySite": "StructureDefinition-shr-skin-PressureUlcerBodySite.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerManifestation": "StructureDefinition-shr-skin-PressureUlcerManifestation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-PressureUlcerNotPresent": "StructureDefinition-shr-skin-PressureUlcerNotPresent.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurface": "StructureDefinition-shr-skin-SupportSurface.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceEmployed": "StructureDefinition-shr-skin-SupportSurfaceEmployed.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BloodPressure": "StructureDefinition-shr-vital-BloodPressure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyHeight": "StructureDefinition-shr-vital-BodyHeight.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyLength": "StructureDefinition-shr-vital-BodyLength.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyMassIndex": "StructureDefinition-shr-vital-BodyMassIndex.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyTemperature": "StructureDefinition-shr-vital-BodyTemperature.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-BodyWeight": "StructureDefinition-shr-vital-BodyWeight.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-DiastolicPressure": "StructureDefinition-shr-vital-DiastolicPressure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadCircumference": "StructureDefinition-shr-vital-HeadCircumference.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeartRate": "StructureDefinition-shr-vital-HeartRate.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-OxygenSaturation": "StructureDefinition-shr-vital-OxygenSaturation.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-RespiratoryRate": "StructureDefinition-shr-vital-RespiratoryRate.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-SystolicPressure": "StructureDefinition-shr-vital-SystolicPressure.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-VitalSign": "StructureDefinition-shr-vital-VitalSign.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-AgeAtDeath-extension": "StructureDefinition-shr-actor-AgeAtDeath-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Anonymized-extension": "StructureDefinition-shr-actor-Anonymized-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-DateOfDeath-extension": "StructureDefinition-shr-actor-DateOfDeath-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Deceased-extension": "StructureDefinition-shr-actor-Deceased-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-FictionalPerson-extension": "StructureDefinition-shr-actor-FictionalPerson-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageQualifier-extension": "StructureDefinition-shr-actor-LanguageQualifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-LanguageUsed-extension": "StructureDefinition-shr-actor-LanguageUsed-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Participant-extension": "StructureDefinition-shr-actor-Participant-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-ParticipationType-extension": "StructureDefinition-shr-actor-ParticipationType-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-Practitioner-extension": "StructureDefinition-shr-actor-Practitioner-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-RelatedPerson-extension": "StructureDefinition-shr-actor-RelatedPerson-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-SpokenLanguageProficiency-extension": "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-actor-WrittenLanguageProficiency-extension": "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReaction-extension": "StructureDefinition-shr-adverse-AdverseReaction-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AdverseReactionAttribution-extension": "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-adverse-AttributionCertainty-extension": "StructureDefinition-shr-adverse-AttributionCertainty-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-allergy-FoodAllergy-extension": "StructureDefinition-shr-allergy-FoodAllergy-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ActionCode-extension": "StructureDefinition-shr-base-ActionCode-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-AssociatedEncounter-extension": "StructureDefinition-shr-base-AssociatedEncounter-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Author-extension": "StructureDefinition-shr-base-Author-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-FocalSubject-extension": "StructureDefinition-shr-base-FocalSubject-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Informant-extension": "StructureDefinition-shr-base-Informant-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-Language-extension": "StructureDefinition-shr-base-Language-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-NonOccurrenceModifier-extension": "StructureDefinition-shr-base-NonOccurrenceModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-OriginalCreationDate-extension": "StructureDefinition-shr-base-OriginalCreationDate-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PatientInstructions-extension": "StructureDefinition-shr-base-PatientInstructions-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PerformerInstructions-extension": "StructureDefinition-shr-base-PerformerInstructions-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-PriorityOfRequest-extension": "StructureDefinition-shr-base-PriorityOfRequest-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-RequestNotToPerformActionModifier-extension": "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-ShrId-extension": "StructureDefinition-shr-base-ShrId-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-base-SubjectIsThirdPartyModifier-extension": "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AlcoholBingeFrequency-extension": "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-AssessmentTool-extension": "StructureDefinition-shr-behavior-AssessmentTool-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-DietNutritionConcern-extension": "StructureDefinition-shr-behavior-DietNutritionConcern-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ExerciseHoursPerWeek-extension": "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HasSufficientFood-extension": "StructureDefinition-shr-behavior-HasSufficientFood-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-HoursSleepPerNight-extension": "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-PhysicalActivityLimitation-extension": "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReadinessToChange-extension": "StructureDefinition-shr-behavior-ReadinessToChange-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousPracticeStatus-extension": "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ReligiousRestriction-extension": "StructureDefinition-shr-behavior-ReligiousRestriction-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SleepQualityReason-extension": "StructureDefinition-shr-behavior-SleepQualityReason-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-SpecialDietFollowed-extension": "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleFallingAsleep-extension": "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-TroubleStayingAsleep-extension": "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToOthers-extension": "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-ViolentRiskToSelf-extension": "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-behavior-WakeFeelingRested-extension": "StructureDefinition-shr-behavior-WakeFeelingRested-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Age-extension": "StructureDefinition-shr-core-Age-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeGroup-extension": "StructureDefinition-shr-core-AgeGroup-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-AgeRange-extension": "StructureDefinition-shr-core-AgeRange-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Area-extension": "StructureDefinition-shr-core-Area-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-BodySite-extension": "StructureDefinition-shr-core-BodySite-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Circumference-extension": "StructureDefinition-shr-core-Circumference-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-ClockDirection-extension": "StructureDefinition-shr-core-ClockDirection-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodeableConcept-extension": "StructureDefinition-shr-core-CodeableConcept-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-CodingQualifier-extension": "StructureDefinition-shr-core-CodingQualifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Count-extension": "StructureDefinition-shr-core-Count-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Country-extension": "StructureDefinition-shr-core-Country-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Depth-extension": "StructureDefinition-shr-core-Depth-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Details-extension": "StructureDefinition-shr-core-Details-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Duration-extension": "StructureDefinition-shr-core-Duration-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveDate-extension": "StructureDefinition-shr-core-EffectiveDate-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-EffectiveTimePeriod-extension": "StructureDefinition-shr-core-EffectiveTimePeriod-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Explanation-extension": "StructureDefinition-shr-core-Explanation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Frequency-extension": "StructureDefinition-shr-core-Frequency-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedAge-extension": "StructureDefinition-shr-core-GeneralizedAge-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedDateTime-extension": "StructureDefinition-shr-core-GeneralizedDateTime-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedLikelihood-extension": "StructureDefinition-shr-core-GeneralizedLikelihood-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GeneralizedTemporalContext-extension": "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalAge-extension": "StructureDefinition-shr-core-GestationalAge-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTemporalContext-extension": "StructureDefinition-shr-core-GestationalTemporalContext-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-GestationalTimePeriod-extension": "StructureDefinition-shr-core-GestationalTimePeriod-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Length-extension": "StructureDefinition-shr-core-Length-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Likelihood-extension": "StructureDefinition-shr-core-Likelihood-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Location-extension": "StructureDefinition-shr-core-Location-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-LowerBound-extension": "StructureDefinition-shr-core-LowerBound-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-OccurrenceTime-extension": "StructureDefinition-shr-core-OccurrenceTime-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Percentage-extension": "StructureDefinition-shr-core-Percentage-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Priority-extension": "StructureDefinition-shr-core-Priority-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeDateTime-extension": "StructureDefinition-shr-core-QualitativeDateTime-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-QualitativeLikelihood-extension": "StructureDefinition-shr-core-QualitativeLikelihood-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Quantity-extension": "StructureDefinition-shr-core-Quantity-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Reason-extension": "StructureDefinition-shr-core-Reason-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Setting-extension": "StructureDefinition-shr-core-Setting-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-State-extension": "StructureDefinition-shr-core-State-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-StatisticType-extension": "StructureDefinition-shr-core-StatisticType-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Substance-extension": "StructureDefinition-shr-core-Substance-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-TimePeriod-extension": "StructureDefinition-shr-core-TimePeriod-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-UpperBound-extension": "StructureDefinition-shr-core-UpperBound-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Volume-extension": "StructureDefinition-shr-core-Volume-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-core-Width-extension": "StructureDefinition-shr-core-Width-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-CountryOfIssue-extension": "StructureDefinition-shr-demographics-CountryOfIssue-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-DriversLicenseNumber-extension": "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FamilialRelationship-extension": "StructureDefinition-shr-demographics-FamilialRelationship-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-FathersName-extension": "StructureDefinition-shr-demographics-FathersName-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PassportNumber-extension": "StructureDefinition-shr-demographics-PassportNumber-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-PersonOfRecord-extension": "StructureDefinition-shr-demographics-PersonOfRecord-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-SocialSecurityNumber-extension": "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-StateOfIssue-extension": "StructureDefinition-shr-demographics-StateOfIssue-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-demographics-TelecomTypeOther-extension": "StructureDefinition-shr-demographics-TelecomTypeOther-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-DeviceUseStatus-extension": "StructureDefinition-shr-device-DeviceUseStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-device-Implanted-extension": "StructureDefinition-shr-device-Implanted-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-EncounterNonOccurrenceModifier-extension": "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-Facility-extension": "StructureDefinition-shr-encounter-Facility-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-MobileFacility-extension": "StructureDefinition-shr-encounter-MobileFacility-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-PaymentSource-extension": "StructureDefinition-shr-encounter-PaymentSource-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralDate-extension": "StructureDefinition-shr-encounter-ReferralDate-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-ReferralSourceType-extension": "StructureDefinition-shr-encounter-ReferralSourceType-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-encounter-TreatmentCooperation-extension": "StructureDefinition-shr-encounter-TreatmentCooperation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnimalExposure-extension": "StructureDefinition-shr-environment-AnimalExposure-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-AnnualIncome-extension": "StructureDefinition-shr-environment-AnnualIncome-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordChildCare-extension": "StructureDefinition-shr-environment-CanAffordChildCare-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordClothing-extension": "StructureDefinition-shr-environment-CanAffordClothing-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordDentalCare-extension": "StructureDefinition-shr-environment-CanAffordDentalCare-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordFood-extension": "StructureDefinition-shr-environment-CanAffordFood-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordHousing-extension": "StructureDefinition-shr-environment-CanAffordHousing-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordMedication-extension": "StructureDefinition-shr-environment-CanAffordMedication-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordTransportation-extension": "StructureDefinition-shr-environment-CanAffordTransportation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-CanAffordUtilities-extension": "StructureDefinition-shr-environment-CanAffordUtilities-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-Coinhabitant-extension": "StructureDefinition-shr-environment-Coinhabitant-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-DomesticViolence-extension": "StructureDefinition-shr-environment-DomesticViolence-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-EmotionalSafety-extension": "StructureDefinition-shr-environment-EmotionalSafety-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureMethod-extension": "StructureDefinition-shr-environment-ExposureMethod-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureReason-extension": "StructureDefinition-shr-environment-ExposureReason-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-ExposureSourceOrVector-extension": "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HomeEnvironmentRisk-extension": "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HouseholdSize-extension": "StructureDefinition-shr-environment-HouseholdSize-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-HousingSecurity-extension": "StructureDefinition-shr-environment-HousingSecurity-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeSource-extension": "StructureDefinition-shr-environment-IncomeSource-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-IncomeStability-extension": "StructureDefinition-shr-environment-IncomeStability-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NonCashBenefit-extension": "StructureDefinition-shr-environment-NonCashBenefit-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-NumberOfDependents-extension": "StructureDefinition-shr-environment-NumberOfDependents-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-PhysicalSafety-extension": "StructureDefinition-shr-environment-PhysicalSafety-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-environment-TransportationAvailability-extension": "StructureDefinition-shr-environment-TransportationAvailability-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-ChangeFlag-extension": "StructureDefinition-shr-lab-ChangeFlag-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-Test-extension": "StructureDefinition-shr-lab-Test-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lab-TestRequest-extension": "StructureDefinition-shr-lab-TestRequest-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-Employer-extension": "StructureDefinition-shr-lifehistory-Employer-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-EmploymentStatus-extension": "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryBranch-extension": "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceDischargeStatus-extension": "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryServiceEra-extension": "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-MilitaryStatus-extension": "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-lifehistory-ServiceConnectedDisability-extension": "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-Adherence-extension": "StructureDefinition-shr-medication-Adherence-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-AdherenceLevel-extension": "StructureDefinition-shr-medication-AdherenceLevel-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationAfterChange-extension": "StructureDefinition-shr-medication-MedicationAfterChange-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationBeforeChange-extension": "StructureDefinition-shr-medication-MedicationBeforeChange-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-MedicationNotPrescribedModifier-extension": "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-NonAdherenceReason-extension": "StructureDefinition-shr-medication-NonAdherenceReason-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-OverTheCounter-extension": "StructureDefinition-shr-medication-OverTheCounter-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-RouteIntoBody-extension": "StructureDefinition-shr-medication-RouteIntoBody-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-medication-TypeOfChange-extension": "StructureDefinition-shr-medication-TypeOfChange-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationCode-extension": "StructureDefinition-shr-observation-ObservationCode-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationNonOccurrenceModifier-extension": "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationQualifier-extension": "StructureDefinition-shr-observation-ObservationQualifier-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-observation-ObservationReason-extension": "StructureDefinition-shr-observation-ObservationReason-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-base64Binary-extension": "StructureDefinition-primitive-base64Binary-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-boolean-extension": "StructureDefinition-primitive-boolean-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-code-extension": "StructureDefinition-primitive-code-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-date-extension": "StructureDefinition-primitive-date-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-dateTime-extension": "StructureDefinition-primitive-dateTime-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-decimal-extension": "StructureDefinition-primitive-decimal-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-id-extension": "StructureDefinition-primitive-id-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-instant-extension": "StructureDefinition-primitive-instant-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-integer-extension": "StructureDefinition-primitive-integer-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-markdown-extension": "StructureDefinition-primitive-markdown-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-oid-extension": "StructureDefinition-primitive-oid-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-positiveInt-extension": "StructureDefinition-primitive-positiveInt-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-string-extension": "StructureDefinition-primitive-string-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-time-extension": "StructureDefinition-primitive-time-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-unsignedInt-extension": "StructureDefinition-primitive-unsignedInt-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-uri-extension": "StructureDefinition-primitive-uri-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/primitive-xhtml-extension": "StructureDefinition-primitive-xhtml-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Abatement-extension": "StructureDefinition-shr-problem-Abatement-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Criticality-extension": "StructureDefinition-shr-problem-Criticality-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-IncludeOnProblemList-extension": "StructureDefinition-shr-problem-IncludeOnProblemList-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Manifestation-extension": "StructureDefinition-shr-problem-Manifestation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Preexisting-extension": "StructureDefinition-shr-problem-Preexisting-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-Severity-extension": "StructureDefinition-shr-problem-Severity-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-SupportingEvidenceQuality-extension": "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-problem-WhenClinicallyRecognized-extension": "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-CurrentPregnancyStatus-extension": "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-DifficultyWithIntercourse-extension": "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-Dispensed-extension": "StructureDefinition-shr-sex-Dispensed-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-GenderIdentity-extension": "StructureDefinition-shr-sex-GenderIdentity-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfLivingChildren-extension": "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfPreviousPregnancies-extension": "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-NumberOfSexualPartnersPastYear-extension": "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-ReasonForNotRecommendingContraceptive-extension": "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualActivity-extension": "StructureDefinition-shr-sex-SexualActivity-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-sex-SexualOrientation-extension": "StructureDefinition-shr-sex-SexualOrientation-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-CausativeFactor-extension": "StructureDefinition-shr-skin-CausativeFactor-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-ImmersionDepth-extension": "StructureDefinition-shr-skin-ImmersionDepth-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceBodyPosition-extension": "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceCategory-extension": "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-SupportSurfaceComponent-extension": "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-VisibleInternalStructure-extension": "StructureDefinition-shr-skin-VisibleInternalStructure-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundBedAndEdge-extension": "StructureDefinition-shr-skin-WoundBedAndEdge-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundEdgeAppearance-extension": "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundExudate-extension": "StructureDefinition-shr-skin-WoundExudate-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundSize-extension": "StructureDefinition-shr-skin-WoundSize-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundTunnelling-extension": "StructureDefinition-shr-skin-WoundTunnelling-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-skin-WoundUndermining-extension": "StructureDefinition-shr-skin-WoundUndermining-extension.html", + "http://standardhealthrecord.org/fhir/StructureDefinition/shr-vital-HeadTiltAngle-extension": "StructureDefinition-shr-vital-HeadTiltAngle-extension.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-AgeGroupVS": "ValueSet-shr-actor-AgeGroupVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-HealthcareRoleVS": "ValueSet-shr-actor-HealthcareRoleVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-actor-LanguageQualifierVS": "ValueSet-shr-actor-LanguageQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergenIrritantVS": "ValueSet-shr-allergy-AllergenIrritantVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-AllergyVerificationStatusVS": "ValueSet-shr-allergy-AllergyVerificationStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-DrugIngredientVS": "ValueSet-shr-allergy-DrugIngredientVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-allergy-FoodSubstanceVS": "ValueSet-shr-allergy-FoodSubstanceVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-base-GenericAnswersVS": "ValueSet-shr-base-GenericAnswersVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-base-MissingValueReasonVS": "ValueSet-shr-base-MissingValueReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-AlcoholUseScreeningToolVS": "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-DietNutritionConcernVS": "ValueSet-shr-behavior-DietNutritionConcernVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-PhysicalActivityLimitationVS": "ValueSet-shr-behavior-PhysicalActivityLimitationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousPracticeStatusVS": "ValueSet-shr-behavior-ReligiousPracticeStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-ReligiousRestrictionVS": "ValueSet-shr-behavior-ReligiousRestrictionVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SleepQualityReasonVS": "ValueSet-shr-behavior-SleepQualityReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SpecialDietFollowedVS": "ValueSet-shr-behavior-SpecialDietFollowedVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceAbuseTreatmentTypeVS": "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-behavior-SubstanceOfAbuseVS": "ValueSet-shr-behavior-SubstanceOfAbuseVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodyPositionVS": "ValueSet-shr-core-BodyPositionVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-BodySiteVS": "ValueSet-shr-core-BodySiteVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClinicalFindingAbsentVS": "ValueSet-shr-core-ClinicalFindingAbsentVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ClockDirectionVS": "ValueSet-shr-core-ClockDirectionVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-CodingQualifierVS": "ValueSet-shr-core-CodingQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DirectionalityVS": "ValueSet-shr-core-DirectionalityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-DiseaseFindingVS": "ValueSet-shr-core-DiseaseFindingVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LateralityVS": "ValueSet-shr-core-LateralityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-LowerBoundTypeVS": "ValueSet-shr-core-LowerBoundTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ManifestationVS": "ValueSet-shr-core-ManifestationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PerformanceGradingScaleVS": "ValueSet-shr-core-PerformanceGradingScaleVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-PortionTotalityVS": "ValueSet-shr-core-PortionTotalityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeDateTimeVS": "ValueSet-shr-core-QualitativeDateTimeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeFrequencyVS": "ValueSet-shr-core-QualitativeFrequencyVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeLikelihoodVS": "ValueSet-shr-core-QualitativeLikelihoodVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-QualitativeValueScaleVS": "ValueSet-shr-core-QualitativeValueScaleVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeDurationVS": "ValueSet-shr-core-SemiquantitativeDurationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SemiquantitativeFrequencyVS": "ValueSet-shr-core-SemiquantitativeFrequencyVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-SettingVS": "ValueSet-shr-core-SettingVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-StatisticTypeVS": "ValueSet-shr-core-StatisticTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreePriorityVS": "ValueSet-shr-core-ThreePriorityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-ThreeValueLogicVS": "ValueSet-shr-core-ThreeValueLogicVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-TimeUnitOfMeasureVS": "ValueSet-shr-core-TimeUnitOfMeasureVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-core-UpperBoundTypeVS": "ValueSet-shr-core-UpperBoundTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-AddressUseVS": "ValueSet-shr-demographics-AddressUseVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-InsuranceProviderTypeVS": "ValueSet-shr-demographics-InsuranceProviderTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-TelecomQualifierVS": "ValueSet-shr-demographics-TelecomQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-demographics-TelephoneTypeVS": "ValueSet-shr-demographics-TelephoneTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-device-RespiratoryAssistDeviceVS": "ValueSet-shr-device-RespiratoryAssistDeviceVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-device-RespiratoryRateSettingVS": "ValueSet-shr-device-RespiratoryRateSettingVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterTypeVS": "ValueSet-shr-encounter-EncounterTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EncounterUrgencyVS": "ValueSet-shr-encounter-EncounterUrgencyVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-EpisodeOfCareCompletionVS": "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReasonEncounterDidNotHappenVS": "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-ReferralSourceTypeVS": "ValueSet-shr-encounter-ReferralSourceTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-encounter-TreatmentCooperationVS": "ValueSet-shr-encounter-TreatmentCooperationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-AnimalExposureVS": "ValueSet-shr-environment-AnimalExposureVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-CoinhabitantVS": "ValueSet-shr-environment-CoinhabitantVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-HomeEnvironmentRiskVS": "ValueSet-shr-environment-HomeEnvironmentRiskVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-IncomeSourceVS": "ValueSet-shr-environment-IncomeSourceVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-NonCashBenefitVS": "ValueSet-shr-environment-NonCashBenefitVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-environment-ResourceStabilityVS": "ValueSet-shr-environment-ResourceStabilityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-immunization-ImmunizationNotGivenReasonVS": "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-ChangeFlagVS": "ValueSet-shr-lab-ChangeFlagVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestCodeVS": "ValueSet-shr-lab-HIVScreeningTestCodeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVScreeningTestResultVS": "ValueSet-shr-lab-HIVScreeningTestResultVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestCodeVS": "ValueSet-shr-lab-HIVSupplementalTestCodeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-HIVSupplementalTestResultVS": "ValueSet-shr-lab-HIVSupplementalTestResultVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-RequestStatusVS": "ValueSet-shr-lab-RequestStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lab-TestInterpretationVS": "ValueSet-shr-lab-TestInterpretationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-CongenitalAbnormalitiesVS": "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EducationalAttainmentVS": "ValueSet-shr-lifehistory-EducationalAttainmentVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-EmploymentStatusVS": "ValueSet-shr-lifehistory-EmploymentStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceDischargeStatusVS": "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryServiceEraVS": "ValueSet-shr-lifehistory-MilitaryServiceEraVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-MilitaryStatusVS": "ValueSet-shr-lifehistory-MilitaryStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-TeratogenVS": "ValueSet-shr-lifehistory-TeratogenVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-lifehistory-USMilitaryBranchVS": "ValueSet-shr-lifehistory-USMilitaryBranchVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeReasonVS": "ValueSet-shr-medication-MedicationChangeReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationChangeTypeVS": "ValueSet-shr-medication-MedicationChangeTypeVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-MedicationNonAdherenceReasonVS": "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-medication-ReasonMedicationNotUsedVS": "ValueSet-shr-medication-ReasonMedicationNotUsedVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ExposureReasonVS": "ValueSet-shr-observation-ExposureReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-NonLabObservationStatusVS": "ValueSet-shr-observation-NonLabObservationStatusVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-observation-ObservationNotMadeReasonVS": "ValueSet-shr-observation-ObservationNotMadeReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-EvidenceQualityVS": "ValueSet-shr-problem-EvidenceQualityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-GradeOrStageVS": "ValueSet-shr-problem-GradeOrStageVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-problem-ProblemCategoryVS": "ValueSet-shr-problem-ProblemCategoryVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-CommonPregnancyComplicationVS": "ValueSet-shr-sex-CommonPregnancyComplicationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodReasonVS": "ValueSet-shr-sex-ContraceptiveMethodReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveMethodVS": "ValueSet-shr-sex-ContraceptiveMethodVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-ContraceptiveNotUsedReasonVS": "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-DifficultyWithIntercourseVS": "ValueSet-shr-sex-DifficultyWithIntercourseVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-GenderIdentityVS": "ValueSet-shr-sex-GenderIdentityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualActivityVS": "ValueSet-shr-sex-SexualActivityVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-sex-SexualOrientationVS": "ValueSet-shr-sex-SexualOrientationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerAssociationVS": "ValueSet-shr-skin-PressureUlcerAssociationVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-PressureUlcerBodySiteVS": "ValueSet-shr-skin-PressureUlcerBodySiteVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceBodyPositionVS": "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceCategoryVS": "ValueSet-shr-skin-SupportSurfaceCategoryVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceComponentVS": "ValueSet-shr-skin-SupportSurfaceComponentVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceFeatureVS": "ValueSet-shr-skin-SupportSurfaceFeatureVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-SupportSurfaceVS": "ValueSet-shr-skin-SupportSurfaceVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-VisibleInternalStructureVS": "ValueSet-shr-skin-VisibleInternalStructureVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-skin-WoundEdgeAppearanceVS": "ValueSet-shr-skin-WoundEdgeAppearanceVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureBodySiteVS": "ValueSet-shr-vital-BloodPressureBodySiteVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureMethodVS": "ValueSet-shr-vital-BloodPressureMethodVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BloodPressureQualifierVS": "ValueSet-shr-vital-BloodPressureQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyHeightQualifierVS": "ValueSet-shr-vital-BodyHeightQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureBodySiteVS": "ValueSet-shr-vital-BodyTemperatureBodySiteVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyTemperatureQualifierVS": "ValueSet-shr-vital-BodyTemperatureQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-BodyWeightQualifierVS": "ValueSet-shr-vital-BodyWeightQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateMethodVS": "ValueSet-shr-vital-HeartRateMethodVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-HeartRateQualifierVS": "ValueSet-shr-vital-HeartRateQualifierVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-OxygenSaturationBodySiteVS": "ValueSet-shr-vital-OxygenSaturationBodySiteVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateMethodVS": "ValueSet-shr-vital-RespiratoryRateMethodVS.html", + "http://standardhealthrecord.org/fhir/ValueSet/shr-vital-RespiratoryRateQualifierVS": "ValueSet-shr-vital-RespiratoryRateQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-actor-LanguageQualifierVS": "CodeSystem-shr-actor-LanguageQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-GenericAnswersVS": "CodeSystem-shr-base-GenericAnswersVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-base-MissingValueReasonVS": "CodeSystem-shr-base-MissingValueReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-AlcoholUseScreeningToolVS": "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-DietNutritionConcernVS": "CodeSystem-shr-behavior-DietNutritionConcernVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-PhysicalActivityLimitationVS": "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousPracticeStatusVS": "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-ReligiousRestrictionVS": "CodeSystem-shr-behavior-ReligiousRestrictionVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SleepQualityReasonVS": "CodeSystem-shr-behavior-SleepQualityReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SpecialDietFollowedVS": "CodeSystem-shr-behavior-SpecialDietFollowedVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-behavior-SubstanceAbuseTreatmentTypeVS": "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-CodingQualifierVS": "CodeSystem-shr-core-CodingQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-PerformanceGradingScaleVS": "CodeSystem-shr-core-PerformanceGradingScaleVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeDateTimeVS": "CodeSystem-shr-core-QualitativeDateTimeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeFrequencyVS": "CodeSystem-shr-core-QualitativeFrequencyVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeLikelihoodVS": "CodeSystem-shr-core-QualitativeLikelihoodVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-QualitativeValueScaleVS": "CodeSystem-shr-core-QualitativeValueScaleVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeDurationVS": "CodeSystem-shr-core-SemiquantitativeDurationVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SemiquantitativeFrequencyVS": "CodeSystem-shr-core-SemiquantitativeFrequencyVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-SettingVS": "CodeSystem-shr-core-SettingVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreePriorityVS": "CodeSystem-shr-core-ThreePriorityVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-core-ThreeValueLogicVS": "CodeSystem-shr-core-ThreeValueLogicVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-AddressUseVS": "CodeSystem-shr-demographics-AddressUseVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-InsuranceProviderTypeVS": "CodeSystem-shr-demographics-InsuranceProviderTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelecomQualifierVS": "CodeSystem-shr-demographics-TelecomQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-demographics-TelephoneTypeVS": "CodeSystem-shr-demographics-TelephoneTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryAssistDeviceVS": "CodeSystem-shr-device-RespiratoryAssistDeviceVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-device-RespiratoryRateSettingVS": "CodeSystem-shr-device-RespiratoryRateSettingVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EncounterTypeVS": "CodeSystem-shr-encounter-EncounterTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-EpisodeOfCareCompletionVS": "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReasonEncounterDidNotHappenVS": "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-ReferralSourceTypeVS": "CodeSystem-shr-encounter-ReferralSourceTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-encounter-TreatmentCooperationVS": "CodeSystem-shr-encounter-TreatmentCooperationVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-AnimalExposureVS": "CodeSystem-shr-environment-AnimalExposureVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-CoinhabitantVS": "CodeSystem-shr-environment-CoinhabitantVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-HomeEnvironmentRiskVS": "CodeSystem-shr-environment-HomeEnvironmentRiskVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-IncomeSourceVS": "CodeSystem-shr-environment-IncomeSourceVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-NonCashBenefitVS": "CodeSystem-shr-environment-NonCashBenefitVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-environment-ResourceStabilityVS": "CodeSystem-shr-environment-ResourceStabilityVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lab-RequestStatusVS": "CodeSystem-shr-lab-RequestStatusVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EducationalAttainmentVS": "CodeSystem-shr-lifehistory-EducationalAttainmentVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-EmploymentStatusVS": "CodeSystem-shr-lifehistory-EmploymentStatusVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceDischargeStatusVS": "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryServiceEraVS": "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-MilitaryStatusVS": "CodeSystem-shr-lifehistory-MilitaryStatusVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-TeratogenVS": "CodeSystem-shr-lifehistory-TeratogenVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-lifehistory-USMilitaryBranchVS": "CodeSystem-shr-lifehistory-USMilitaryBranchVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeReasonVS": "CodeSystem-shr-medication-MedicationChangeReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-MedicationChangeTypeVS": "CodeSystem-shr-medication-MedicationChangeTypeVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-medication-ReasonMedicationNotUsedVS": "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ExposureReasonVS": "CodeSystem-shr-observation-ExposureReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-observation-ObservationNotMadeReasonVS": "CodeSystem-shr-observation-ObservationNotMadeReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-EvidenceQualityVS": "CodeSystem-shr-problem-EvidenceQualityVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-GradeOrStageVS": "CodeSystem-shr-problem-GradeOrStageVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-problem-ProblemCategoryVS": "CodeSystem-shr-problem-ProblemCategoryVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodReasonVS": "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveMethodVS": "CodeSystem-shr-sex-ContraceptiveMethodVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-ContraceptiveNotUsedReasonVS": "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-sex-GenderIdentityVS": "CodeSystem-shr-sex-GenderIdentityVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-PressureUlcerAssociationVS": "CodeSystem-shr-skin-PressureUlcerAssociationVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceBodyPositionVS": "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceCategoryVS": "CodeSystem-shr-skin-SupportSurfaceCategoryVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceComponentVS": "CodeSystem-shr-skin-SupportSurfaceComponentVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-skin-SupportSurfaceFeatureVS": "CodeSystem-shr-skin-SupportSurfaceFeatureVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureMethodVS": "CodeSystem-shr-vital-BloodPressureMethodVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BloodPressureQualifierVS": "CodeSystem-shr-vital-BloodPressureQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyHeightQualifierVS": "CodeSystem-shr-vital-BodyHeightQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyTemperatureQualifierVS": "CodeSystem-shr-vital-BodyTemperatureQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-BodyWeightQualifierVS": "CodeSystem-shr-vital-BodyWeightQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateMethodVS": "CodeSystem-shr-vital-HeartRateMethodVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-HeartRateQualifierVS": "CodeSystem-shr-vital-HeartRateQualifierVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateMethodVS": "CodeSystem-shr-vital-RespiratoryRateMethodVS.html", + "http://standardhealthrecord.org/fhir/CodeSystem/shr-vital-RespiratoryRateQualifierVS": "CodeSystem-shr-vital-RespiratoryRateQualifierVS.html" + }, + "pages": {}, + "targets": [ + "CodeSystem-shr-actor-LanguageQualifierVS.html", + "CodeSystem-shr-actor-LanguageQualifierVS.json.html", + "CodeSystem-shr-actor-LanguageQualifierVS.ttl.html", + "CodeSystem-shr-actor-LanguageQualifierVS.xml.html", + "CodeSystem-shr-base-GenericAnswersVS.html", + "CodeSystem-shr-base-GenericAnswersVS.json.html", + "CodeSystem-shr-base-GenericAnswersVS.ttl.html", + "CodeSystem-shr-base-GenericAnswersVS.xml.html", + "CodeSystem-shr-base-MissingValueReasonVS.html", + "CodeSystem-shr-base-MissingValueReasonVS.json.html", + "CodeSystem-shr-base-MissingValueReasonVS.ttl.html", + "CodeSystem-shr-base-MissingValueReasonVS.xml.html", + "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.html", + "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.json.html", + "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.ttl.html", + "CodeSystem-shr-behavior-AlcoholUseScreeningToolVS.xml.html", + "CodeSystem-shr-behavior-DietNutritionConcernVS.html", + "CodeSystem-shr-behavior-DietNutritionConcernVS.json.html", + "CodeSystem-shr-behavior-DietNutritionConcernVS.ttl.html", + "CodeSystem-shr-behavior-DietNutritionConcernVS.xml.html", + "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.html", + "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.json.html", + "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.ttl.html", + "CodeSystem-shr-behavior-PhysicalActivityLimitationVS.xml.html", + "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.html", + "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.json.html", + "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.ttl.html", + "CodeSystem-shr-behavior-ReligiousPracticeStatusVS.xml.html", + "CodeSystem-shr-behavior-ReligiousRestrictionVS.html", + "CodeSystem-shr-behavior-ReligiousRestrictionVS.json.html", + "CodeSystem-shr-behavior-ReligiousRestrictionVS.ttl.html", + "CodeSystem-shr-behavior-ReligiousRestrictionVS.xml.html", + "CodeSystem-shr-behavior-SleepQualityReasonVS.html", + "CodeSystem-shr-behavior-SleepQualityReasonVS.json.html", + "CodeSystem-shr-behavior-SleepQualityReasonVS.ttl.html", + "CodeSystem-shr-behavior-SleepQualityReasonVS.xml.html", + "CodeSystem-shr-behavior-SpecialDietFollowedVS.html", + "CodeSystem-shr-behavior-SpecialDietFollowedVS.json.html", + "CodeSystem-shr-behavior-SpecialDietFollowedVS.ttl.html", + "CodeSystem-shr-behavior-SpecialDietFollowedVS.xml.html", + "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.html", + "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.json.html", + "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.ttl.html", + "CodeSystem-shr-behavior-SubstanceAbuseTreatmentTypeVS.xml.html", + "CodeSystem-shr-core-CodingQualifierVS.html", + "CodeSystem-shr-core-CodingQualifierVS.json.html", + "CodeSystem-shr-core-CodingQualifierVS.ttl.html", + "CodeSystem-shr-core-CodingQualifierVS.xml.html", + "CodeSystem-shr-core-PerformanceGradingScaleVS.html", + "CodeSystem-shr-core-PerformanceGradingScaleVS.json.html", + "CodeSystem-shr-core-PerformanceGradingScaleVS.ttl.html", + "CodeSystem-shr-core-PerformanceGradingScaleVS.xml.html", + "CodeSystem-shr-core-QualitativeDateTimeVS.html", + "CodeSystem-shr-core-QualitativeDateTimeVS.json.html", + "CodeSystem-shr-core-QualitativeDateTimeVS.ttl.html", + "CodeSystem-shr-core-QualitativeDateTimeVS.xml.html", + "CodeSystem-shr-core-QualitativeFrequencyVS.html", + "CodeSystem-shr-core-QualitativeFrequencyVS.json.html", + "CodeSystem-shr-core-QualitativeFrequencyVS.ttl.html", + "CodeSystem-shr-core-QualitativeFrequencyVS.xml.html", + "CodeSystem-shr-core-QualitativeLikelihoodVS.html", + "CodeSystem-shr-core-QualitativeLikelihoodVS.json.html", + "CodeSystem-shr-core-QualitativeLikelihoodVS.ttl.html", + "CodeSystem-shr-core-QualitativeLikelihoodVS.xml.html", + "CodeSystem-shr-core-QualitativeValueScaleVS.html", + "CodeSystem-shr-core-QualitativeValueScaleVS.json.html", + "CodeSystem-shr-core-QualitativeValueScaleVS.ttl.html", + "CodeSystem-shr-core-QualitativeValueScaleVS.xml.html", + "CodeSystem-shr-core-SemiquantitativeDurationVS.html", + "CodeSystem-shr-core-SemiquantitativeDurationVS.json.html", + "CodeSystem-shr-core-SemiquantitativeDurationVS.ttl.html", + "CodeSystem-shr-core-SemiquantitativeDurationVS.xml.html", + "CodeSystem-shr-core-SemiquantitativeFrequencyVS.html", + "CodeSystem-shr-core-SemiquantitativeFrequencyVS.json.html", + "CodeSystem-shr-core-SemiquantitativeFrequencyVS.ttl.html", + "CodeSystem-shr-core-SemiquantitativeFrequencyVS.xml.html", + "CodeSystem-shr-core-SettingVS.html", + "CodeSystem-shr-core-SettingVS.json.html", + "CodeSystem-shr-core-SettingVS.ttl.html", + "CodeSystem-shr-core-SettingVS.xml.html", + "CodeSystem-shr-core-ThreePriorityVS.html", + "CodeSystem-shr-core-ThreePriorityVS.json.html", + "CodeSystem-shr-core-ThreePriorityVS.ttl.html", + "CodeSystem-shr-core-ThreePriorityVS.xml.html", + "CodeSystem-shr-core-ThreeValueLogicVS.html", + "CodeSystem-shr-core-ThreeValueLogicVS.json.html", + "CodeSystem-shr-core-ThreeValueLogicVS.ttl.html", + "CodeSystem-shr-core-ThreeValueLogicVS.xml.html", + "CodeSystem-shr-demographics-AddressUseVS.html", + "CodeSystem-shr-demographics-AddressUseVS.json.html", + "CodeSystem-shr-demographics-AddressUseVS.ttl.html", + "CodeSystem-shr-demographics-AddressUseVS.xml.html", + "CodeSystem-shr-demographics-InsuranceProviderTypeVS.html", + "CodeSystem-shr-demographics-InsuranceProviderTypeVS.json.html", + "CodeSystem-shr-demographics-InsuranceProviderTypeVS.ttl.html", + "CodeSystem-shr-demographics-InsuranceProviderTypeVS.xml.html", + "CodeSystem-shr-demographics-TelecomQualifierVS.html", + "CodeSystem-shr-demographics-TelecomQualifierVS.json.html", + "CodeSystem-shr-demographics-TelecomQualifierVS.ttl.html", + "CodeSystem-shr-demographics-TelecomQualifierVS.xml.html", + "CodeSystem-shr-demographics-TelephoneTypeVS.html", + "CodeSystem-shr-demographics-TelephoneTypeVS.json.html", + "CodeSystem-shr-demographics-TelephoneTypeVS.ttl.html", + "CodeSystem-shr-demographics-TelephoneTypeVS.xml.html", + "CodeSystem-shr-device-RespiratoryAssistDeviceVS.html", + "CodeSystem-shr-device-RespiratoryAssistDeviceVS.json.html", + "CodeSystem-shr-device-RespiratoryAssistDeviceVS.ttl.html", + "CodeSystem-shr-device-RespiratoryAssistDeviceVS.xml.html", + "CodeSystem-shr-device-RespiratoryRateSettingVS.html", + "CodeSystem-shr-device-RespiratoryRateSettingVS.json.html", + "CodeSystem-shr-device-RespiratoryRateSettingVS.ttl.html", + "CodeSystem-shr-device-RespiratoryRateSettingVS.xml.html", + "CodeSystem-shr-encounter-EncounterTypeVS.html", + "CodeSystem-shr-encounter-EncounterTypeVS.json.html", + "CodeSystem-shr-encounter-EncounterTypeVS.ttl.html", + "CodeSystem-shr-encounter-EncounterTypeVS.xml.html", + "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.html", + "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.json.html", + "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.ttl.html", + "CodeSystem-shr-encounter-EpisodeOfCareCompletionVS.xml.html", + "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.html", + "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.json.html", + "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.ttl.html", + "CodeSystem-shr-encounter-ReasonEncounterDidNotHappenVS.xml.html", + "CodeSystem-shr-encounter-ReferralSourceTypeVS.html", + "CodeSystem-shr-encounter-ReferralSourceTypeVS.json.html", + "CodeSystem-shr-encounter-ReferralSourceTypeVS.ttl.html", + "CodeSystem-shr-encounter-ReferralSourceTypeVS.xml.html", + "CodeSystem-shr-encounter-TreatmentCooperationVS.html", + "CodeSystem-shr-encounter-TreatmentCooperationVS.json.html", + "CodeSystem-shr-encounter-TreatmentCooperationVS.ttl.html", + "CodeSystem-shr-encounter-TreatmentCooperationVS.xml.html", + "CodeSystem-shr-environment-AnimalExposureVS.html", + "CodeSystem-shr-environment-AnimalExposureVS.json.html", + "CodeSystem-shr-environment-AnimalExposureVS.ttl.html", + "CodeSystem-shr-environment-AnimalExposureVS.xml.html", + "CodeSystem-shr-environment-CoinhabitantVS.html", + "CodeSystem-shr-environment-CoinhabitantVS.json.html", + "CodeSystem-shr-environment-CoinhabitantVS.ttl.html", + "CodeSystem-shr-environment-CoinhabitantVS.xml.html", + "CodeSystem-shr-environment-HomeEnvironmentRiskVS.html", + "CodeSystem-shr-environment-HomeEnvironmentRiskVS.json.html", + "CodeSystem-shr-environment-HomeEnvironmentRiskVS.ttl.html", + "CodeSystem-shr-environment-HomeEnvironmentRiskVS.xml.html", + "CodeSystem-shr-environment-IncomeSourceVS.html", + "CodeSystem-shr-environment-IncomeSourceVS.json.html", + "CodeSystem-shr-environment-IncomeSourceVS.ttl.html", + "CodeSystem-shr-environment-IncomeSourceVS.xml.html", + "CodeSystem-shr-environment-NonCashBenefitVS.html", + "CodeSystem-shr-environment-NonCashBenefitVS.json.html", + "CodeSystem-shr-environment-NonCashBenefitVS.ttl.html", + "CodeSystem-shr-environment-NonCashBenefitVS.xml.html", + "CodeSystem-shr-environment-ResourceStabilityVS.html", + "CodeSystem-shr-environment-ResourceStabilityVS.json.html", + "CodeSystem-shr-environment-ResourceStabilityVS.ttl.html", + "CodeSystem-shr-environment-ResourceStabilityVS.xml.html", + "CodeSystem-shr-lab-RequestStatusVS.html", + "CodeSystem-shr-lab-RequestStatusVS.json.html", + "CodeSystem-shr-lab-RequestStatusVS.ttl.html", + "CodeSystem-shr-lab-RequestStatusVS.xml.html", + "CodeSystem-shr-lifehistory-EducationalAttainmentVS.html", + "CodeSystem-shr-lifehistory-EducationalAttainmentVS.json.html", + "CodeSystem-shr-lifehistory-EducationalAttainmentVS.ttl.html", + "CodeSystem-shr-lifehistory-EducationalAttainmentVS.xml.html", + "CodeSystem-shr-lifehistory-EmploymentStatusVS.html", + "CodeSystem-shr-lifehistory-EmploymentStatusVS.json.html", + "CodeSystem-shr-lifehistory-EmploymentStatusVS.ttl.html", + "CodeSystem-shr-lifehistory-EmploymentStatusVS.xml.html", + "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.html", + "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.json.html", + "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.ttl.html", + "CodeSystem-shr-lifehistory-MilitaryServiceDischargeStatusVS.xml.html", + "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.html", + "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.json.html", + "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.ttl.html", + "CodeSystem-shr-lifehistory-MilitaryServiceEraVS.xml.html", + "CodeSystem-shr-lifehistory-MilitaryStatusVS.html", + "CodeSystem-shr-lifehistory-MilitaryStatusVS.json.html", + "CodeSystem-shr-lifehistory-MilitaryStatusVS.ttl.html", + "CodeSystem-shr-lifehistory-MilitaryStatusVS.xml.html", + "CodeSystem-shr-lifehistory-TeratogenVS.html", + "CodeSystem-shr-lifehistory-TeratogenVS.json.html", + "CodeSystem-shr-lifehistory-TeratogenVS.ttl.html", + "CodeSystem-shr-lifehistory-TeratogenVS.xml.html", + "CodeSystem-shr-lifehistory-USMilitaryBranchVS.html", + "CodeSystem-shr-lifehistory-USMilitaryBranchVS.json.html", + "CodeSystem-shr-lifehistory-USMilitaryBranchVS.ttl.html", + "CodeSystem-shr-lifehistory-USMilitaryBranchVS.xml.html", + "CodeSystem-shr-medication-MedicationChangeReasonVS.html", + "CodeSystem-shr-medication-MedicationChangeReasonVS.json.html", + "CodeSystem-shr-medication-MedicationChangeReasonVS.ttl.html", + "CodeSystem-shr-medication-MedicationChangeReasonVS.xml.html", + "CodeSystem-shr-medication-MedicationChangeTypeVS.html", + "CodeSystem-shr-medication-MedicationChangeTypeVS.json.html", + "CodeSystem-shr-medication-MedicationChangeTypeVS.ttl.html", + "CodeSystem-shr-medication-MedicationChangeTypeVS.xml.html", + "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.html", + "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.json.html", + "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.ttl.html", + "CodeSystem-shr-medication-ReasonMedicationNotUsedVS.xml.html", + "CodeSystem-shr-observation-ExposureReasonVS.html", + "CodeSystem-shr-observation-ExposureReasonVS.json.html", + "CodeSystem-shr-observation-ExposureReasonVS.ttl.html", + "CodeSystem-shr-observation-ExposureReasonVS.xml.html", + "CodeSystem-shr-observation-ObservationNotMadeReasonVS.html", + "CodeSystem-shr-observation-ObservationNotMadeReasonVS.json.html", + "CodeSystem-shr-observation-ObservationNotMadeReasonVS.ttl.html", + "CodeSystem-shr-observation-ObservationNotMadeReasonVS.xml.html", + "CodeSystem-shr-problem-EvidenceQualityVS.html", + "CodeSystem-shr-problem-EvidenceQualityVS.json.html", + "CodeSystem-shr-problem-EvidenceQualityVS.ttl.html", + "CodeSystem-shr-problem-EvidenceQualityVS.xml.html", + "CodeSystem-shr-problem-GradeOrStageVS.html", + "CodeSystem-shr-problem-GradeOrStageVS.json.html", + "CodeSystem-shr-problem-GradeOrStageVS.ttl.html", + "CodeSystem-shr-problem-GradeOrStageVS.xml.html", + "CodeSystem-shr-problem-ProblemCategoryVS.html", + "CodeSystem-shr-problem-ProblemCategoryVS.json.html", + "CodeSystem-shr-problem-ProblemCategoryVS.ttl.html", + "CodeSystem-shr-problem-ProblemCategoryVS.xml.html", + "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.html", + "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.json.html", + "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.ttl.html", + "CodeSystem-shr-sex-ContraceptiveMethodReasonVS.xml.html", + "CodeSystem-shr-sex-ContraceptiveMethodVS.html", + "CodeSystem-shr-sex-ContraceptiveMethodVS.json.html", + "CodeSystem-shr-sex-ContraceptiveMethodVS.ttl.html", + "CodeSystem-shr-sex-ContraceptiveMethodVS.xml.html", + "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.html", + "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.json.html", + "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.ttl.html", + "CodeSystem-shr-sex-ContraceptiveNotUsedReasonVS.xml.html", + "CodeSystem-shr-sex-GenderIdentityVS.html", + "CodeSystem-shr-sex-GenderIdentityVS.json.html", + "CodeSystem-shr-sex-GenderIdentityVS.ttl.html", + "CodeSystem-shr-sex-GenderIdentityVS.xml.html", + "CodeSystem-shr-skin-PressureUlcerAssociationVS.html", + "CodeSystem-shr-skin-PressureUlcerAssociationVS.json.html", + "CodeSystem-shr-skin-PressureUlcerAssociationVS.ttl.html", + "CodeSystem-shr-skin-PressureUlcerAssociationVS.xml.html", + "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.html", + "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.json.html", + "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.ttl.html", + "CodeSystem-shr-skin-SupportSurfaceBodyPositionVS.xml.html", + "CodeSystem-shr-skin-SupportSurfaceCategoryVS.html", + "CodeSystem-shr-skin-SupportSurfaceCategoryVS.json.html", + "CodeSystem-shr-skin-SupportSurfaceCategoryVS.ttl.html", + "CodeSystem-shr-skin-SupportSurfaceCategoryVS.xml.html", + "CodeSystem-shr-skin-SupportSurfaceComponentVS.html", + "CodeSystem-shr-skin-SupportSurfaceComponentVS.json.html", + "CodeSystem-shr-skin-SupportSurfaceComponentVS.ttl.html", + "CodeSystem-shr-skin-SupportSurfaceComponentVS.xml.html", + "CodeSystem-shr-skin-SupportSurfaceFeatureVS.html", + "CodeSystem-shr-skin-SupportSurfaceFeatureVS.json.html", + "CodeSystem-shr-skin-SupportSurfaceFeatureVS.ttl.html", + "CodeSystem-shr-skin-SupportSurfaceFeatureVS.xml.html", + "CodeSystem-shr-vital-BloodPressureMethodVS.html", + "CodeSystem-shr-vital-BloodPressureMethodVS.json.html", + "CodeSystem-shr-vital-BloodPressureMethodVS.ttl.html", + "CodeSystem-shr-vital-BloodPressureMethodVS.xml.html", + "CodeSystem-shr-vital-BloodPressureQualifierVS.html", + "CodeSystem-shr-vital-BloodPressureQualifierVS.json.html", + "CodeSystem-shr-vital-BloodPressureQualifierVS.ttl.html", + "CodeSystem-shr-vital-BloodPressureQualifierVS.xml.html", + "CodeSystem-shr-vital-BodyHeightQualifierVS.html", + "CodeSystem-shr-vital-BodyHeightQualifierVS.json.html", + "CodeSystem-shr-vital-BodyHeightQualifierVS.ttl.html", + "CodeSystem-shr-vital-BodyHeightQualifierVS.xml.html", + "CodeSystem-shr-vital-BodyTemperatureQualifierVS.html", + "CodeSystem-shr-vital-BodyTemperatureQualifierVS.json.html", + "CodeSystem-shr-vital-BodyTemperatureQualifierVS.ttl.html", + "CodeSystem-shr-vital-BodyTemperatureQualifierVS.xml.html", + "CodeSystem-shr-vital-BodyWeightQualifierVS.html", + "CodeSystem-shr-vital-BodyWeightQualifierVS.json.html", + "CodeSystem-shr-vital-BodyWeightQualifierVS.ttl.html", + "CodeSystem-shr-vital-BodyWeightQualifierVS.xml.html", + "CodeSystem-shr-vital-HeartRateMethodVS.html", + "CodeSystem-shr-vital-HeartRateMethodVS.json.html", + "CodeSystem-shr-vital-HeartRateMethodVS.ttl.html", + "CodeSystem-shr-vital-HeartRateMethodVS.xml.html", + "CodeSystem-shr-vital-HeartRateQualifierVS.html", + "CodeSystem-shr-vital-HeartRateQualifierVS.json.html", + "CodeSystem-shr-vital-HeartRateQualifierVS.ttl.html", + "CodeSystem-shr-vital-HeartRateQualifierVS.xml.html", + "CodeSystem-shr-vital-RespiratoryRateMethodVS.html", + "CodeSystem-shr-vital-RespiratoryRateMethodVS.json.html", + "CodeSystem-shr-vital-RespiratoryRateMethodVS.ttl.html", + "CodeSystem-shr-vital-RespiratoryRateMethodVS.xml.html", + "CodeSystem-shr-vital-RespiratoryRateQualifierVS.html", + "CodeSystem-shr-vital-RespiratoryRateQualifierVS.json.html", + "CodeSystem-shr-vital-RespiratoryRateQualifierVS.ttl.html", + "CodeSystem-shr-vital-RespiratoryRateQualifierVS.xml.html", + "codesystems.html", + "downloads.html", + "extensions.html", + "ImplementationGuide-1.html", + "ImplementationGuide-1.json.html", + "ImplementationGuide-1.ttl.html", + "ImplementationGuide-1.xml.html", + "index.html", + "profiles.html", + "StructureDefinition-primitive-base64Binary-extension-definitions.html", + "StructureDefinition-primitive-base64Binary-extension.html", + "StructureDefinition-primitive-base64Binary-extension.json.html", + "StructureDefinition-primitive-base64Binary-extension.ttl.html", + "StructureDefinition-primitive-base64Binary-extension.xml.html", + "StructureDefinition-primitive-boolean-extension-definitions.html", + "StructureDefinition-primitive-boolean-extension.html", + "StructureDefinition-primitive-boolean-extension.json.html", + "StructureDefinition-primitive-boolean-extension.ttl.html", + "StructureDefinition-primitive-boolean-extension.xml.html", + "StructureDefinition-primitive-code-extension-definitions.html", + "StructureDefinition-primitive-code-extension.html", + "StructureDefinition-primitive-code-extension.json.html", + "StructureDefinition-primitive-code-extension.ttl.html", + "StructureDefinition-primitive-code-extension.xml.html", + "StructureDefinition-primitive-date-extension-definitions.html", + "StructureDefinition-primitive-date-extension.html", + "StructureDefinition-primitive-date-extension.json.html", + "StructureDefinition-primitive-date-extension.ttl.html", + "StructureDefinition-primitive-date-extension.xml.html", + "StructureDefinition-primitive-dateTime-extension-definitions.html", + "StructureDefinition-primitive-dateTime-extension.html", + "StructureDefinition-primitive-dateTime-extension.json.html", + "StructureDefinition-primitive-dateTime-extension.ttl.html", + "StructureDefinition-primitive-dateTime-extension.xml.html", + "StructureDefinition-primitive-decimal-extension-definitions.html", + "StructureDefinition-primitive-decimal-extension.html", + "StructureDefinition-primitive-decimal-extension.json.html", + "StructureDefinition-primitive-decimal-extension.ttl.html", + "StructureDefinition-primitive-decimal-extension.xml.html", + "StructureDefinition-primitive-id-extension-definitions.html", + "StructureDefinition-primitive-id-extension.html", + "StructureDefinition-primitive-id-extension.json.html", + "StructureDefinition-primitive-id-extension.ttl.html", + "StructureDefinition-primitive-id-extension.xml.html", + "StructureDefinition-primitive-instant-extension-definitions.html", + "StructureDefinition-primitive-instant-extension.html", + "StructureDefinition-primitive-instant-extension.json.html", + "StructureDefinition-primitive-instant-extension.ttl.html", + "StructureDefinition-primitive-instant-extension.xml.html", + "StructureDefinition-primitive-integer-extension-definitions.html", + "StructureDefinition-primitive-integer-extension.html", + "StructureDefinition-primitive-integer-extension.json.html", + "StructureDefinition-primitive-integer-extension.ttl.html", + "StructureDefinition-primitive-integer-extension.xml.html", + "StructureDefinition-primitive-markdown-extension-definitions.html", + "StructureDefinition-primitive-markdown-extension.html", + "StructureDefinition-primitive-markdown-extension.json.html", + "StructureDefinition-primitive-markdown-extension.ttl.html", + "StructureDefinition-primitive-markdown-extension.xml.html", + "StructureDefinition-primitive-oid-extension-definitions.html", + "StructureDefinition-primitive-oid-extension.html", + "StructureDefinition-primitive-oid-extension.json.html", + "StructureDefinition-primitive-oid-extension.ttl.html", + "StructureDefinition-primitive-oid-extension.xml.html", + "StructureDefinition-primitive-positiveInt-extension-definitions.html", + "StructureDefinition-primitive-positiveInt-extension.html", + "StructureDefinition-primitive-positiveInt-extension.json.html", + "StructureDefinition-primitive-positiveInt-extension.ttl.html", + "StructureDefinition-primitive-positiveInt-extension.xml.html", + "StructureDefinition-primitive-string-extension-definitions.html", + "StructureDefinition-primitive-string-extension.html", + "StructureDefinition-primitive-string-extension.json.html", + "StructureDefinition-primitive-string-extension.ttl.html", + "StructureDefinition-primitive-string-extension.xml.html", + "StructureDefinition-primitive-time-extension-definitions.html", + "StructureDefinition-primitive-time-extension.html", + "StructureDefinition-primitive-time-extension.json.html", + "StructureDefinition-primitive-time-extension.ttl.html", + "StructureDefinition-primitive-time-extension.xml.html", + "StructureDefinition-primitive-unsignedInt-extension-definitions.html", + "StructureDefinition-primitive-unsignedInt-extension.html", + "StructureDefinition-primitive-unsignedInt-extension.json.html", + "StructureDefinition-primitive-unsignedInt-extension.ttl.html", + "StructureDefinition-primitive-unsignedInt-extension.xml.html", + "StructureDefinition-primitive-uri-extension-definitions.html", + "StructureDefinition-primitive-uri-extension.html", + "StructureDefinition-primitive-uri-extension.json.html", + "StructureDefinition-primitive-uri-extension.ttl.html", + "StructureDefinition-primitive-uri-extension.xml.html", + "StructureDefinition-primitive-xhtml-extension-definitions.html", + "StructureDefinition-primitive-xhtml-extension.html", + "StructureDefinition-primitive-xhtml-extension.json.html", + "StructureDefinition-primitive-xhtml-extension.ttl.html", + "StructureDefinition-primitive-xhtml-extension.xml.html", + "StructureDefinition-shr-actor-AgeAtDeath-extension-definitions.html", + "StructureDefinition-shr-actor-AgeAtDeath-extension.html", + "StructureDefinition-shr-actor-AgeAtDeath-extension.json.html", + "StructureDefinition-shr-actor-AgeAtDeath-extension.ttl.html", + "StructureDefinition-shr-actor-AgeAtDeath-extension.xml.html", + "StructureDefinition-shr-actor-Anonymized-extension-definitions.html", + "StructureDefinition-shr-actor-Anonymized-extension.html", + "StructureDefinition-shr-actor-Anonymized-extension.json.html", + "StructureDefinition-shr-actor-Anonymized-extension.ttl.html", + "StructureDefinition-shr-actor-Anonymized-extension.xml.html", + "StructureDefinition-shr-actor-DateOfDeath-extension-definitions.html", + "StructureDefinition-shr-actor-DateOfDeath-extension.html", + "StructureDefinition-shr-actor-DateOfDeath-extension.json.html", + "StructureDefinition-shr-actor-DateOfDeath-extension.ttl.html", + "StructureDefinition-shr-actor-DateOfDeath-extension.xml.html", + "StructureDefinition-shr-actor-Deceased-extension-definitions.html", + "StructureDefinition-shr-actor-Deceased-extension.html", + "StructureDefinition-shr-actor-Deceased-extension.json.html", + "StructureDefinition-shr-actor-Deceased-extension.ttl.html", + "StructureDefinition-shr-actor-Deceased-extension.xml.html", + "StructureDefinition-shr-actor-EmergencyContact-definitions.html", + "StructureDefinition-shr-actor-EmergencyContact.html", + "StructureDefinition-shr-actor-EmergencyContact.json.html", + "StructureDefinition-shr-actor-EmergencyContact.ttl.html", + "StructureDefinition-shr-actor-EmergencyContact.xml.html", + "StructureDefinition-shr-actor-FictionalPerson-extension-definitions.html", + "StructureDefinition-shr-actor-FictionalPerson-extension.html", + "StructureDefinition-shr-actor-FictionalPerson-extension.json.html", + "StructureDefinition-shr-actor-FictionalPerson-extension.ttl.html", + "StructureDefinition-shr-actor-FictionalPerson-extension.xml.html", + "StructureDefinition-shr-actor-LanguageQualifier-extension-definitions.html", + "StructureDefinition-shr-actor-LanguageQualifier-extension.html", + "StructureDefinition-shr-actor-LanguageQualifier-extension.json.html", + "StructureDefinition-shr-actor-LanguageQualifier-extension.ttl.html", + "StructureDefinition-shr-actor-LanguageQualifier-extension.xml.html", + "StructureDefinition-shr-actor-LanguageUsed-extension-definitions.html", + "StructureDefinition-shr-actor-LanguageUsed-extension.html", + "StructureDefinition-shr-actor-LanguageUsed-extension.json.html", + "StructureDefinition-shr-actor-LanguageUsed-extension.ttl.html", + "StructureDefinition-shr-actor-LanguageUsed-extension.xml.html", + "StructureDefinition-shr-actor-NoPrimaryCareProvider-definitions.html", + "StructureDefinition-shr-actor-NoPrimaryCareProvider.html", + "StructureDefinition-shr-actor-NoPrimaryCareProvider.json.html", + "StructureDefinition-shr-actor-NoPrimaryCareProvider.ttl.html", + "StructureDefinition-shr-actor-NoPrimaryCareProvider.xml.html", + "StructureDefinition-shr-actor-Organization-definitions.html", + "StructureDefinition-shr-actor-Organization.html", + "StructureDefinition-shr-actor-Organization.json.html", + "StructureDefinition-shr-actor-Organization.ttl.html", + "StructureDefinition-shr-actor-Organization.xml.html", + "StructureDefinition-shr-actor-Participant-extension-definitions.html", + "StructureDefinition-shr-actor-Participant-extension.html", + "StructureDefinition-shr-actor-Participant-extension.json.html", + "StructureDefinition-shr-actor-Participant-extension.ttl.html", + "StructureDefinition-shr-actor-Participant-extension.xml.html", + "StructureDefinition-shr-actor-ParticipationType-extension-definitions.html", + "StructureDefinition-shr-actor-ParticipationType-extension.html", + "StructureDefinition-shr-actor-ParticipationType-extension.json.html", + "StructureDefinition-shr-actor-ParticipationType-extension.ttl.html", + "StructureDefinition-shr-actor-ParticipationType-extension.xml.html", + "StructureDefinition-shr-actor-Practitioner-definitions.html", + "StructureDefinition-shr-actor-Practitioner-extension-definitions.html", + "StructureDefinition-shr-actor-Practitioner-extension.html", + "StructureDefinition-shr-actor-Practitioner-extension.json.html", + "StructureDefinition-shr-actor-Practitioner-extension.ttl.html", + "StructureDefinition-shr-actor-Practitioner-extension.xml.html", + "StructureDefinition-shr-actor-Practitioner.html", + "StructureDefinition-shr-actor-Practitioner.json.html", + "StructureDefinition-shr-actor-Practitioner.ttl.html", + "StructureDefinition-shr-actor-Practitioner.xml.html", + "StructureDefinition-shr-actor-PrimaryCareProvider-definitions.html", + "StructureDefinition-shr-actor-PrimaryCareProvider.html", + "StructureDefinition-shr-actor-PrimaryCareProvider.json.html", + "StructureDefinition-shr-actor-PrimaryCareProvider.ttl.html", + "StructureDefinition-shr-actor-PrimaryCareProvider.xml.html", + "StructureDefinition-shr-actor-ProviderRelationship-definitions.html", + "StructureDefinition-shr-actor-ProviderRelationship.html", + "StructureDefinition-shr-actor-ProviderRelationship.json.html", + "StructureDefinition-shr-actor-ProviderRelationship.ttl.html", + "StructureDefinition-shr-actor-ProviderRelationship.xml.html", + "StructureDefinition-shr-actor-RelatedPerson-definitions.html", + "StructureDefinition-shr-actor-RelatedPerson-extension-definitions.html", + "StructureDefinition-shr-actor-RelatedPerson-extension.html", + "StructureDefinition-shr-actor-RelatedPerson-extension.json.html", + "StructureDefinition-shr-actor-RelatedPerson-extension.ttl.html", + "StructureDefinition-shr-actor-RelatedPerson-extension.xml.html", + "StructureDefinition-shr-actor-RelatedPerson.html", + "StructureDefinition-shr-actor-RelatedPerson.json.html", + "StructureDefinition-shr-actor-RelatedPerson.ttl.html", + "StructureDefinition-shr-actor-RelatedPerson.xml.html", + "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension-definitions.html", + "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.html", + "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.json.html", + "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.ttl.html", + "StructureDefinition-shr-actor-SpokenLanguageProficiency-extension.xml.html", + "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension-definitions.html", + "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.html", + "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.json.html", + "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.ttl.html", + "StructureDefinition-shr-actor-WrittenLanguageProficiency-extension.xml.html", + "StructureDefinition-shr-adverse-AdverseReaction-definitions.html", + "StructureDefinition-shr-adverse-AdverseReaction-extension-definitions.html", + "StructureDefinition-shr-adverse-AdverseReaction-extension.html", + "StructureDefinition-shr-adverse-AdverseReaction-extension.json.html", + "StructureDefinition-shr-adverse-AdverseReaction-extension.ttl.html", + "StructureDefinition-shr-adverse-AdverseReaction-extension.xml.html", + "StructureDefinition-shr-adverse-AdverseReaction.html", + "StructureDefinition-shr-adverse-AdverseReaction.json.html", + "StructureDefinition-shr-adverse-AdverseReaction.ttl.html", + "StructureDefinition-shr-adverse-AdverseReaction.xml.html", + "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension-definitions.html", + "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.html", + "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.json.html", + "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.ttl.html", + "StructureDefinition-shr-adverse-AdverseReactionAttribution-extension.xml.html", + "StructureDefinition-shr-adverse-AttributionCertainty-extension-definitions.html", + "StructureDefinition-shr-adverse-AttributionCertainty-extension.html", + "StructureDefinition-shr-adverse-AttributionCertainty-extension.json.html", + "StructureDefinition-shr-adverse-AttributionCertainty-extension.ttl.html", + "StructureDefinition-shr-adverse-AttributionCertainty-extension.xml.html", + "StructureDefinition-shr-allergy-AllergyIntolerance-definitions.html", + "StructureDefinition-shr-allergy-AllergyIntolerance.html", + "StructureDefinition-shr-allergy-AllergyIntolerance.json.html", + "StructureDefinition-shr-allergy-AllergyIntolerance.ttl.html", + "StructureDefinition-shr-allergy-AllergyIntolerance.xml.html", + "StructureDefinition-shr-allergy-DrugAllergy-definitions.html", + "StructureDefinition-shr-allergy-DrugAllergy.html", + "StructureDefinition-shr-allergy-DrugAllergy.json.html", + "StructureDefinition-shr-allergy-DrugAllergy.ttl.html", + "StructureDefinition-shr-allergy-DrugAllergy.xml.html", + "StructureDefinition-shr-allergy-FoodAllergy-definitions.html", + "StructureDefinition-shr-allergy-FoodAllergy-extension-definitions.html", + "StructureDefinition-shr-allergy-FoodAllergy-extension.html", + "StructureDefinition-shr-allergy-FoodAllergy-extension.json.html", + "StructureDefinition-shr-allergy-FoodAllergy-extension.ttl.html", + "StructureDefinition-shr-allergy-FoodAllergy-extension.xml.html", + "StructureDefinition-shr-allergy-FoodAllergy.html", + "StructureDefinition-shr-allergy-FoodAllergy.json.html", + "StructureDefinition-shr-allergy-FoodAllergy.ttl.html", + "StructureDefinition-shr-allergy-FoodAllergy.xml.html", + "StructureDefinition-shr-allergy-NoKnownAllergy-definitions.html", + "StructureDefinition-shr-allergy-NoKnownAllergy.html", + "StructureDefinition-shr-allergy-NoKnownAllergy.json.html", + "StructureDefinition-shr-allergy-NoKnownAllergy.ttl.html", + "StructureDefinition-shr-allergy-NoKnownAllergy.xml.html", + "StructureDefinition-shr-allergy-NoKnownDrugAllergy-definitions.html", + "StructureDefinition-shr-allergy-NoKnownDrugAllergy.html", + "StructureDefinition-shr-allergy-NoKnownDrugAllergy.json.html", + "StructureDefinition-shr-allergy-NoKnownDrugAllergy.ttl.html", + "StructureDefinition-shr-allergy-NoKnownDrugAllergy.xml.html", + "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy-definitions.html", + "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.html", + "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.json.html", + "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.ttl.html", + "StructureDefinition-shr-allergy-NoKnownEnvironmentalAllergy.xml.html", + "StructureDefinition-shr-allergy-NoKnownFoodAllergy-definitions.html", + "StructureDefinition-shr-allergy-NoKnownFoodAllergy.html", + "StructureDefinition-shr-allergy-NoKnownFoodAllergy.json.html", + "StructureDefinition-shr-allergy-NoKnownFoodAllergy.ttl.html", + "StructureDefinition-shr-allergy-NoKnownFoodAllergy.xml.html", + "StructureDefinition-shr-base-ActionCode-extension-definitions.html", + "StructureDefinition-shr-base-ActionCode-extension.html", + "StructureDefinition-shr-base-ActionCode-extension.json.html", + "StructureDefinition-shr-base-ActionCode-extension.ttl.html", + "StructureDefinition-shr-base-ActionCode-extension.xml.html", + "StructureDefinition-shr-base-AssociatedEncounter-extension-definitions.html", + "StructureDefinition-shr-base-AssociatedEncounter-extension.html", + "StructureDefinition-shr-base-AssociatedEncounter-extension.json.html", + "StructureDefinition-shr-base-AssociatedEncounter-extension.ttl.html", + "StructureDefinition-shr-base-AssociatedEncounter-extension.xml.html", + "StructureDefinition-shr-base-Author-extension-definitions.html", + "StructureDefinition-shr-base-Author-extension.html", + "StructureDefinition-shr-base-Author-extension.json.html", + "StructureDefinition-shr-base-Author-extension.ttl.html", + "StructureDefinition-shr-base-Author-extension.xml.html", + "StructureDefinition-shr-base-Entry-definitions.html", + "StructureDefinition-shr-base-Entry.html", + "StructureDefinition-shr-base-Entry.json.html", + "StructureDefinition-shr-base-Entry.ttl.html", + "StructureDefinition-shr-base-Entry.xml.html", + "StructureDefinition-shr-base-FocalSubject-extension-definitions.html", + "StructureDefinition-shr-base-FocalSubject-extension.html", + "StructureDefinition-shr-base-FocalSubject-extension.json.html", + "StructureDefinition-shr-base-FocalSubject-extension.ttl.html", + "StructureDefinition-shr-base-FocalSubject-extension.xml.html", + "StructureDefinition-shr-base-Informant-extension-definitions.html", + "StructureDefinition-shr-base-Informant-extension.html", + "StructureDefinition-shr-base-Informant-extension.json.html", + "StructureDefinition-shr-base-Informant-extension.ttl.html", + "StructureDefinition-shr-base-Informant-extension.xml.html", + "StructureDefinition-shr-base-Language-extension-definitions.html", + "StructureDefinition-shr-base-Language-extension.html", + "StructureDefinition-shr-base-Language-extension.json.html", + "StructureDefinition-shr-base-Language-extension.ttl.html", + "StructureDefinition-shr-base-Language-extension.xml.html", + "StructureDefinition-shr-base-Narrative-definitions.html", + "StructureDefinition-shr-base-Narrative.html", + "StructureDefinition-shr-base-Narrative.json.html", + "StructureDefinition-shr-base-Narrative.ttl.html", + "StructureDefinition-shr-base-Narrative.xml.html", + "StructureDefinition-shr-base-NonOccurrenceModifier-extension-definitions.html", + "StructureDefinition-shr-base-NonOccurrenceModifier-extension.html", + "StructureDefinition-shr-base-NonOccurrenceModifier-extension.json.html", + "StructureDefinition-shr-base-NonOccurrenceModifier-extension.ttl.html", + "StructureDefinition-shr-base-NonOccurrenceModifier-extension.xml.html", + "StructureDefinition-shr-base-OriginalCreationDate-extension-definitions.html", + "StructureDefinition-shr-base-OriginalCreationDate-extension.html", + "StructureDefinition-shr-base-OriginalCreationDate-extension.json.html", + "StructureDefinition-shr-base-OriginalCreationDate-extension.ttl.html", + "StructureDefinition-shr-base-OriginalCreationDate-extension.xml.html", + "StructureDefinition-shr-base-PatientInstructions-extension-definitions.html", + "StructureDefinition-shr-base-PatientInstructions-extension.html", + "StructureDefinition-shr-base-PatientInstructions-extension.json.html", + "StructureDefinition-shr-base-PatientInstructions-extension.ttl.html", + "StructureDefinition-shr-base-PatientInstructions-extension.xml.html", + "StructureDefinition-shr-base-PerformerInstructions-extension-definitions.html", + "StructureDefinition-shr-base-PerformerInstructions-extension.html", + "StructureDefinition-shr-base-PerformerInstructions-extension.json.html", + "StructureDefinition-shr-base-PerformerInstructions-extension.ttl.html", + "StructureDefinition-shr-base-PerformerInstructions-extension.xml.html", + "StructureDefinition-shr-base-PriorityOfRequest-extension-definitions.html", + "StructureDefinition-shr-base-PriorityOfRequest-extension.html", + "StructureDefinition-shr-base-PriorityOfRequest-extension.json.html", + "StructureDefinition-shr-base-PriorityOfRequest-extension.ttl.html", + "StructureDefinition-shr-base-PriorityOfRequest-extension.xml.html", + "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension-definitions.html", + "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.html", + "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.json.html", + "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.ttl.html", + "StructureDefinition-shr-base-RequestNotToPerformActionModifier-extension.xml.html", + "StructureDefinition-shr-base-ShrId-extension-definitions.html", + "StructureDefinition-shr-base-ShrId-extension.html", + "StructureDefinition-shr-base-ShrId-extension.json.html", + "StructureDefinition-shr-base-ShrId-extension.ttl.html", + "StructureDefinition-shr-base-ShrId-extension.xml.html", + "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension-definitions.html", + "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.html", + "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.json.html", + "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.ttl.html", + "StructureDefinition-shr-base-SubjectIsThirdPartyModifier-extension.xml.html", + "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension-definitions.html", + "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.html", + "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.json.html", + "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.ttl.html", + "StructureDefinition-shr-behavior-AlcoholBingeFrequency-extension.xml.html", + "StructureDefinition-shr-behavior-AlcoholUse-definitions.html", + "StructureDefinition-shr-behavior-AlcoholUse.html", + "StructureDefinition-shr-behavior-AlcoholUse.json.html", + "StructureDefinition-shr-behavior-AlcoholUse.ttl.html", + "StructureDefinition-shr-behavior-AlcoholUse.xml.html", + "StructureDefinition-shr-behavior-AssessmentTool-extension-definitions.html", + "StructureDefinition-shr-behavior-AssessmentTool-extension.html", + "StructureDefinition-shr-behavior-AssessmentTool-extension.json.html", + "StructureDefinition-shr-behavior-AssessmentTool-extension.ttl.html", + "StructureDefinition-shr-behavior-AssessmentTool-extension.xml.html", + "StructureDefinition-shr-behavior-BehavioralObservation-definitions.html", + "StructureDefinition-shr-behavior-BehavioralObservation.html", + "StructureDefinition-shr-behavior-BehavioralObservation.json.html", + "StructureDefinition-shr-behavior-BehavioralObservation.ttl.html", + "StructureDefinition-shr-behavior-BehavioralObservation.xml.html", + "StructureDefinition-shr-behavior-DietAndNutrition-definitions.html", + "StructureDefinition-shr-behavior-DietAndNutrition.html", + "StructureDefinition-shr-behavior-DietAndNutrition.json.html", + "StructureDefinition-shr-behavior-DietAndNutrition.ttl.html", + "StructureDefinition-shr-behavior-DietAndNutrition.xml.html", + "StructureDefinition-shr-behavior-DietNutritionConcern-extension-definitions.html", + "StructureDefinition-shr-behavior-DietNutritionConcern-extension.html", + "StructureDefinition-shr-behavior-DietNutritionConcern-extension.json.html", + "StructureDefinition-shr-behavior-DietNutritionConcern-extension.ttl.html", + "StructureDefinition-shr-behavior-DietNutritionConcern-extension.xml.html", + "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension-definitions.html", + "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.html", + "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.json.html", + "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.ttl.html", + "StructureDefinition-shr-behavior-ExerciseHoursPerWeek-extension.xml.html", + "StructureDefinition-shr-behavior-HasSufficientFood-extension-definitions.html", + "StructureDefinition-shr-behavior-HasSufficientFood-extension.html", + "StructureDefinition-shr-behavior-HasSufficientFood-extension.json.html", + "StructureDefinition-shr-behavior-HasSufficientFood-extension.ttl.html", + "StructureDefinition-shr-behavior-HasSufficientFood-extension.xml.html", + "StructureDefinition-shr-behavior-HoursSleepPerNight-extension-definitions.html", + "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.html", + "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.json.html", + "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.ttl.html", + "StructureDefinition-shr-behavior-HoursSleepPerNight-extension.xml.html", + "StructureDefinition-shr-behavior-IntravenousDrugUse-definitions.html", + "StructureDefinition-shr-behavior-IntravenousDrugUse.html", + "StructureDefinition-shr-behavior-IntravenousDrugUse.json.html", + "StructureDefinition-shr-behavior-IntravenousDrugUse.ttl.html", + "StructureDefinition-shr-behavior-IntravenousDrugUse.xml.html", + "StructureDefinition-shr-behavior-NicotineUse-definitions.html", + "StructureDefinition-shr-behavior-NicotineUse.html", + "StructureDefinition-shr-behavior-NicotineUse.json.html", + "StructureDefinition-shr-behavior-NicotineUse.ttl.html", + "StructureDefinition-shr-behavior-NicotineUse.xml.html", + "StructureDefinition-shr-behavior-ONCSmokingStatus-definitions.html", + "StructureDefinition-shr-behavior-ONCSmokingStatus.html", + "StructureDefinition-shr-behavior-ONCSmokingStatus.json.html", + "StructureDefinition-shr-behavior-ONCSmokingStatus.ttl.html", + "StructureDefinition-shr-behavior-ONCSmokingStatus.xml.html", + "StructureDefinition-shr-behavior-PhysicalActivityLevel-definitions.html", + "StructureDefinition-shr-behavior-PhysicalActivityLevel.html", + "StructureDefinition-shr-behavior-PhysicalActivityLevel.json.html", + "StructureDefinition-shr-behavior-PhysicalActivityLevel.ttl.html", + "StructureDefinition-shr-behavior-PhysicalActivityLevel.xml.html", + "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension-definitions.html", + "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.html", + "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.json.html", + "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.ttl.html", + "StructureDefinition-shr-behavior-PhysicalActivityLimitation-extension.xml.html", + "StructureDefinition-shr-behavior-ReadinessToChange-extension-definitions.html", + "StructureDefinition-shr-behavior-ReadinessToChange-extension.html", + "StructureDefinition-shr-behavior-ReadinessToChange-extension.json.html", + "StructureDefinition-shr-behavior-ReadinessToChange-extension.ttl.html", + "StructureDefinition-shr-behavior-ReadinessToChange-extension.xml.html", + "StructureDefinition-shr-behavior-ReligiousPractice-definitions.html", + "StructureDefinition-shr-behavior-ReligiousPractice.html", + "StructureDefinition-shr-behavior-ReligiousPractice.json.html", + "StructureDefinition-shr-behavior-ReligiousPractice.ttl.html", + "StructureDefinition-shr-behavior-ReligiousPractice.xml.html", + "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension-definitions.html", + "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.html", + "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.json.html", + "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.ttl.html", + "StructureDefinition-shr-behavior-ReligiousPracticeStatus-extension.xml.html", + "StructureDefinition-shr-behavior-ReligiousRestriction-extension-definitions.html", + "StructureDefinition-shr-behavior-ReligiousRestriction-extension.html", + "StructureDefinition-shr-behavior-ReligiousRestriction-extension.json.html", + "StructureDefinition-shr-behavior-ReligiousRestriction-extension.ttl.html", + "StructureDefinition-shr-behavior-ReligiousRestriction-extension.xml.html", + "StructureDefinition-shr-behavior-SleepQuality-definitions.html", + "StructureDefinition-shr-behavior-SleepQuality.html", + "StructureDefinition-shr-behavior-SleepQuality.json.html", + "StructureDefinition-shr-behavior-SleepQuality.ttl.html", + "StructureDefinition-shr-behavior-SleepQuality.xml.html", + "StructureDefinition-shr-behavior-SleepQualityReason-extension-definitions.html", + "StructureDefinition-shr-behavior-SleepQualityReason-extension.html", + "StructureDefinition-shr-behavior-SleepQualityReason-extension.json.html", + "StructureDefinition-shr-behavior-SleepQualityReason-extension.ttl.html", + "StructureDefinition-shr-behavior-SleepQualityReason-extension.xml.html", + "StructureDefinition-shr-behavior-SpecialDietFollowed-extension-definitions.html", + "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.html", + "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.json.html", + "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.ttl.html", + "StructureDefinition-shr-behavior-SpecialDietFollowed-extension.xml.html", + "StructureDefinition-shr-behavior-SubstanceAbuseTreatment-definitions.html", + "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.html", + "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.json.html", + "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.ttl.html", + "StructureDefinition-shr-behavior-SubstanceAbuseTreatment.xml.html", + "StructureDefinition-shr-behavior-SubstanceUse-definitions.html", + "StructureDefinition-shr-behavior-SubstanceUse.html", + "StructureDefinition-shr-behavior-SubstanceUse.json.html", + "StructureDefinition-shr-behavior-SubstanceUse.ttl.html", + "StructureDefinition-shr-behavior-SubstanceUse.xml.html", + "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension-definitions.html", + "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.html", + "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.json.html", + "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.ttl.html", + "StructureDefinition-shr-behavior-TroubleFallingAsleep-extension.xml.html", + "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension-definitions.html", + "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.html", + "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.json.html", + "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.ttl.html", + "StructureDefinition-shr-behavior-TroubleStayingAsleep-extension.xml.html", + "StructureDefinition-shr-behavior-ViolentBehaviorRisk-definitions.html", + "StructureDefinition-shr-behavior-ViolentBehaviorRisk.html", + "StructureDefinition-shr-behavior-ViolentBehaviorRisk.json.html", + "StructureDefinition-shr-behavior-ViolentBehaviorRisk.ttl.html", + "StructureDefinition-shr-behavior-ViolentBehaviorRisk.xml.html", + "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension-definitions.html", + "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.html", + "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.json.html", + "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.ttl.html", + "StructureDefinition-shr-behavior-ViolentRiskToOthers-extension.xml.html", + "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension-definitions.html", + "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.html", + "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.json.html", + "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.ttl.html", + "StructureDefinition-shr-behavior-ViolentRiskToSelf-extension.xml.html", + "StructureDefinition-shr-behavior-WakeFeelingRested-extension-definitions.html", + "StructureDefinition-shr-behavior-WakeFeelingRested-extension.html", + "StructureDefinition-shr-behavior-WakeFeelingRested-extension.json.html", + "StructureDefinition-shr-behavior-WakeFeelingRested-extension.ttl.html", + "StructureDefinition-shr-behavior-WakeFeelingRested-extension.xml.html", + "StructureDefinition-shr-core-Address-definitions.html", + "StructureDefinition-shr-core-Address.html", + "StructureDefinition-shr-core-Address.json.html", + "StructureDefinition-shr-core-Address.ttl.html", + "StructureDefinition-shr-core-Address.xml.html", + "StructureDefinition-shr-core-Age-definitions.html", + "StructureDefinition-shr-core-Age-extension-definitions.html", + "StructureDefinition-shr-core-Age-extension.html", + "StructureDefinition-shr-core-Age-extension.json.html", + "StructureDefinition-shr-core-Age-extension.ttl.html", + "StructureDefinition-shr-core-Age-extension.xml.html", + "StructureDefinition-shr-core-Age.html", + "StructureDefinition-shr-core-Age.json.html", + "StructureDefinition-shr-core-Age.ttl.html", + "StructureDefinition-shr-core-Age.xml.html", + "StructureDefinition-shr-core-AgeGroup-extension-definitions.html", + "StructureDefinition-shr-core-AgeGroup-extension.html", + "StructureDefinition-shr-core-AgeGroup-extension.json.html", + "StructureDefinition-shr-core-AgeGroup-extension.ttl.html", + "StructureDefinition-shr-core-AgeGroup-extension.xml.html", + "StructureDefinition-shr-core-AgeRange-extension-definitions.html", + "StructureDefinition-shr-core-AgeRange-extension.html", + "StructureDefinition-shr-core-AgeRange-extension.json.html", + "StructureDefinition-shr-core-AgeRange-extension.ttl.html", + "StructureDefinition-shr-core-AgeRange-extension.xml.html", + "StructureDefinition-shr-core-Annotation-definitions.html", + "StructureDefinition-shr-core-Annotation.html", + "StructureDefinition-shr-core-Annotation.json.html", + "StructureDefinition-shr-core-Annotation.ttl.html", + "StructureDefinition-shr-core-Annotation.xml.html", + "StructureDefinition-shr-core-Area-extension-definitions.html", + "StructureDefinition-shr-core-Area-extension.html", + "StructureDefinition-shr-core-Area-extension.json.html", + "StructureDefinition-shr-core-Area-extension.ttl.html", + "StructureDefinition-shr-core-Area-extension.xml.html", + "StructureDefinition-shr-core-BodySite-definitions.html", + "StructureDefinition-shr-core-BodySite-extension-definitions.html", + "StructureDefinition-shr-core-BodySite-extension.html", + "StructureDefinition-shr-core-BodySite-extension.json.html", + "StructureDefinition-shr-core-BodySite-extension.ttl.html", + "StructureDefinition-shr-core-BodySite-extension.xml.html", + "StructureDefinition-shr-core-BodySite.html", + "StructureDefinition-shr-core-BodySite.json.html", + "StructureDefinition-shr-core-BodySite.ttl.html", + "StructureDefinition-shr-core-BodySite.xml.html", + "StructureDefinition-shr-core-Circumference-extension-definitions.html", + "StructureDefinition-shr-core-Circumference-extension.html", + "StructureDefinition-shr-core-Circumference-extension.json.html", + "StructureDefinition-shr-core-Circumference-extension.ttl.html", + "StructureDefinition-shr-core-Circumference-extension.xml.html", + "StructureDefinition-shr-core-ClockDirection-extension-definitions.html", + "StructureDefinition-shr-core-ClockDirection-extension.html", + "StructureDefinition-shr-core-ClockDirection-extension.json.html", + "StructureDefinition-shr-core-ClockDirection-extension.ttl.html", + "StructureDefinition-shr-core-ClockDirection-extension.xml.html", + "StructureDefinition-shr-core-CodeableConcept-definitions.html", + "StructureDefinition-shr-core-CodeableConcept-extension-definitions.html", + "StructureDefinition-shr-core-CodeableConcept-extension.html", + "StructureDefinition-shr-core-CodeableConcept-extension.json.html", + "StructureDefinition-shr-core-CodeableConcept-extension.ttl.html", + "StructureDefinition-shr-core-CodeableConcept-extension.xml.html", + "StructureDefinition-shr-core-CodeableConcept.html", + "StructureDefinition-shr-core-CodeableConcept.json.html", + "StructureDefinition-shr-core-CodeableConcept.ttl.html", + "StructureDefinition-shr-core-CodeableConcept.xml.html", + "StructureDefinition-shr-core-Coding-definitions.html", + "StructureDefinition-shr-core-Coding.html", + "StructureDefinition-shr-core-Coding.json.html", + "StructureDefinition-shr-core-Coding.ttl.html", + "StructureDefinition-shr-core-Coding.xml.html", + "StructureDefinition-shr-core-CodingQualifier-extension-definitions.html", + "StructureDefinition-shr-core-CodingQualifier-extension.html", + "StructureDefinition-shr-core-CodingQualifier-extension.json.html", + "StructureDefinition-shr-core-CodingQualifier-extension.ttl.html", + "StructureDefinition-shr-core-CodingQualifier-extension.xml.html", + "StructureDefinition-shr-core-Count-extension-definitions.html", + "StructureDefinition-shr-core-Count-extension.html", + "StructureDefinition-shr-core-Count-extension.json.html", + "StructureDefinition-shr-core-Count-extension.ttl.html", + "StructureDefinition-shr-core-Count-extension.xml.html", + "StructureDefinition-shr-core-Country-extension-definitions.html", + "StructureDefinition-shr-core-Country-extension.html", + "StructureDefinition-shr-core-Country-extension.json.html", + "StructureDefinition-shr-core-Country-extension.ttl.html", + "StructureDefinition-shr-core-Country-extension.xml.html", + "StructureDefinition-shr-core-Depth-extension-definitions.html", + "StructureDefinition-shr-core-Depth-extension.html", + "StructureDefinition-shr-core-Depth-extension.json.html", + "StructureDefinition-shr-core-Depth-extension.ttl.html", + "StructureDefinition-shr-core-Depth-extension.xml.html", + "StructureDefinition-shr-core-Details-extension-definitions.html", + "StructureDefinition-shr-core-Details-extension.html", + "StructureDefinition-shr-core-Details-extension.json.html", + "StructureDefinition-shr-core-Details-extension.ttl.html", + "StructureDefinition-shr-core-Details-extension.xml.html", + "StructureDefinition-shr-core-DollarAmount-definitions.html", + "StructureDefinition-shr-core-DollarAmount.html", + "StructureDefinition-shr-core-DollarAmount.json.html", + "StructureDefinition-shr-core-DollarAmount.ttl.html", + "StructureDefinition-shr-core-DollarAmount.xml.html", + "StructureDefinition-shr-core-Duration-definitions.html", + "StructureDefinition-shr-core-Duration-extension-definitions.html", + "StructureDefinition-shr-core-Duration-extension.html", + "StructureDefinition-shr-core-Duration-extension.json.html", + "StructureDefinition-shr-core-Duration-extension.ttl.html", + "StructureDefinition-shr-core-Duration-extension.xml.html", + "StructureDefinition-shr-core-Duration.html", + "StructureDefinition-shr-core-Duration.json.html", + "StructureDefinition-shr-core-Duration.ttl.html", + "StructureDefinition-shr-core-Duration.xml.html", + "StructureDefinition-shr-core-EffectiveDate-extension-definitions.html", + "StructureDefinition-shr-core-EffectiveDate-extension.html", + "StructureDefinition-shr-core-EffectiveDate-extension.json.html", + "StructureDefinition-shr-core-EffectiveDate-extension.ttl.html", + "StructureDefinition-shr-core-EffectiveDate-extension.xml.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-definitions.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-extension-definitions.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-extension.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-extension.json.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-extension.ttl.html", + "StructureDefinition-shr-core-EffectiveTimePeriod-extension.xml.html", + "StructureDefinition-shr-core-EffectiveTimePeriod.html", + "StructureDefinition-shr-core-EffectiveTimePeriod.json.html", + "StructureDefinition-shr-core-EffectiveTimePeriod.ttl.html", + "StructureDefinition-shr-core-EffectiveTimePeriod.xml.html", + "StructureDefinition-shr-core-Explanation-extension-definitions.html", + "StructureDefinition-shr-core-Explanation-extension.html", + "StructureDefinition-shr-core-Explanation-extension.json.html", + "StructureDefinition-shr-core-Explanation-extension.ttl.html", + "StructureDefinition-shr-core-Explanation-extension.xml.html", + "StructureDefinition-shr-core-Frequency-extension-definitions.html", + "StructureDefinition-shr-core-Frequency-extension.html", + "StructureDefinition-shr-core-Frequency-extension.json.html", + "StructureDefinition-shr-core-Frequency-extension.ttl.html", + "StructureDefinition-shr-core-Frequency-extension.xml.html", + "StructureDefinition-shr-core-GeneralizedAge-extension-definitions.html", + "StructureDefinition-shr-core-GeneralizedAge-extension.html", + "StructureDefinition-shr-core-GeneralizedAge-extension.json.html", + "StructureDefinition-shr-core-GeneralizedAge-extension.ttl.html", + "StructureDefinition-shr-core-GeneralizedAge-extension.xml.html", + "StructureDefinition-shr-core-GeneralizedDateTime-extension-definitions.html", + "StructureDefinition-shr-core-GeneralizedDateTime-extension.html", + "StructureDefinition-shr-core-GeneralizedDateTime-extension.json.html", + "StructureDefinition-shr-core-GeneralizedDateTime-extension.ttl.html", + "StructureDefinition-shr-core-GeneralizedDateTime-extension.xml.html", + "StructureDefinition-shr-core-GeneralizedLikelihood-extension-definitions.html", + "StructureDefinition-shr-core-GeneralizedLikelihood-extension.html", + "StructureDefinition-shr-core-GeneralizedLikelihood-extension.json.html", + "StructureDefinition-shr-core-GeneralizedLikelihood-extension.ttl.html", + "StructureDefinition-shr-core-GeneralizedLikelihood-extension.xml.html", + "StructureDefinition-shr-core-GeneralizedTemporalContext-extension-definitions.html", + "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.html", + "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.json.html", + "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.ttl.html", + "StructureDefinition-shr-core-GeneralizedTemporalContext-extension.xml.html", + "StructureDefinition-shr-core-GeopoliticalLocation-definitions.html", + "StructureDefinition-shr-core-GeopoliticalLocation.html", + "StructureDefinition-shr-core-GeopoliticalLocation.json.html", + "StructureDefinition-shr-core-GeopoliticalLocation.ttl.html", + "StructureDefinition-shr-core-GeopoliticalLocation.xml.html", + "StructureDefinition-shr-core-Geoposition-definitions.html", + "StructureDefinition-shr-core-Geoposition.html", + "StructureDefinition-shr-core-Geoposition.json.html", + "StructureDefinition-shr-core-Geoposition.ttl.html", + "StructureDefinition-shr-core-Geoposition.xml.html", + "StructureDefinition-shr-core-GestationalAge-extension-definitions.html", + "StructureDefinition-shr-core-GestationalAge-extension.html", + "StructureDefinition-shr-core-GestationalAge-extension.json.html", + "StructureDefinition-shr-core-GestationalAge-extension.ttl.html", + "StructureDefinition-shr-core-GestationalAge-extension.xml.html", + "StructureDefinition-shr-core-GestationalTemporalContext-extension-definitions.html", + "StructureDefinition-shr-core-GestationalTemporalContext-extension.html", + "StructureDefinition-shr-core-GestationalTemporalContext-extension.json.html", + "StructureDefinition-shr-core-GestationalTemporalContext-extension.ttl.html", + "StructureDefinition-shr-core-GestationalTemporalContext-extension.xml.html", + "StructureDefinition-shr-core-GestationalTimePeriod-extension-definitions.html", + "StructureDefinition-shr-core-GestationalTimePeriod-extension.html", + "StructureDefinition-shr-core-GestationalTimePeriod-extension.json.html", + "StructureDefinition-shr-core-GestationalTimePeriod-extension.ttl.html", + "StructureDefinition-shr-core-GestationalTimePeriod-extension.xml.html", + "StructureDefinition-shr-core-HumanName-definitions.html", + "StructureDefinition-shr-core-HumanName.html", + "StructureDefinition-shr-core-HumanName.json.html", + "StructureDefinition-shr-core-HumanName.ttl.html", + "StructureDefinition-shr-core-HumanName.xml.html", + "StructureDefinition-shr-core-Identifier-definitions.html", + "StructureDefinition-shr-core-Identifier.html", + "StructureDefinition-shr-core-Identifier.json.html", + "StructureDefinition-shr-core-Identifier.ttl.html", + "StructureDefinition-shr-core-Identifier.xml.html", + "StructureDefinition-shr-core-Length-extension-definitions.html", + "StructureDefinition-shr-core-Length-extension.html", + "StructureDefinition-shr-core-Length-extension.json.html", + "StructureDefinition-shr-core-Length-extension.ttl.html", + "StructureDefinition-shr-core-Length-extension.xml.html", + "StructureDefinition-shr-core-Likelihood-extension-definitions.html", + "StructureDefinition-shr-core-Likelihood-extension.html", + "StructureDefinition-shr-core-Likelihood-extension.json.html", + "StructureDefinition-shr-core-Likelihood-extension.ttl.html", + "StructureDefinition-shr-core-Likelihood-extension.xml.html", + "StructureDefinition-shr-core-Location-extension-definitions.html", + "StructureDefinition-shr-core-Location-extension.html", + "StructureDefinition-shr-core-Location-extension.json.html", + "StructureDefinition-shr-core-Location-extension.ttl.html", + "StructureDefinition-shr-core-Location-extension.xml.html", + "StructureDefinition-shr-core-LowerBound-definitions.html", + "StructureDefinition-shr-core-LowerBound-extension-definitions.html", + "StructureDefinition-shr-core-LowerBound-extension.html", + "StructureDefinition-shr-core-LowerBound-extension.json.html", + "StructureDefinition-shr-core-LowerBound-extension.ttl.html", + "StructureDefinition-shr-core-LowerBound-extension.xml.html", + "StructureDefinition-shr-core-LowerBound.html", + "StructureDefinition-shr-core-LowerBound.json.html", + "StructureDefinition-shr-core-LowerBound.ttl.html", + "StructureDefinition-shr-core-LowerBound.xml.html", + "StructureDefinition-shr-core-OccurrenceTime-extension-definitions.html", + "StructureDefinition-shr-core-OccurrenceTime-extension.html", + "StructureDefinition-shr-core-OccurrenceTime-extension.json.html", + "StructureDefinition-shr-core-OccurrenceTime-extension.ttl.html", + "StructureDefinition-shr-core-OccurrenceTime-extension.xml.html", + "StructureDefinition-shr-core-Percentage-extension-definitions.html", + "StructureDefinition-shr-core-Percentage-extension.html", + "StructureDefinition-shr-core-Percentage-extension.json.html", + "StructureDefinition-shr-core-Percentage-extension.ttl.html", + "StructureDefinition-shr-core-Percentage-extension.xml.html", + "StructureDefinition-shr-core-PeriodOfUse-definitions.html", + "StructureDefinition-shr-core-PeriodOfUse.html", + "StructureDefinition-shr-core-PeriodOfUse.json.html", + "StructureDefinition-shr-core-PeriodOfUse.ttl.html", + "StructureDefinition-shr-core-PeriodOfUse.xml.html", + "StructureDefinition-shr-core-Priority-extension-definitions.html", + "StructureDefinition-shr-core-Priority-extension.html", + "StructureDefinition-shr-core-Priority-extension.json.html", + "StructureDefinition-shr-core-Priority-extension.ttl.html", + "StructureDefinition-shr-core-Priority-extension.xml.html", + "StructureDefinition-shr-core-QualitativeDateTime-extension-definitions.html", + "StructureDefinition-shr-core-QualitativeDateTime-extension.html", + "StructureDefinition-shr-core-QualitativeDateTime-extension.json.html", + "StructureDefinition-shr-core-QualitativeDateTime-extension.ttl.html", + "StructureDefinition-shr-core-QualitativeDateTime-extension.xml.html", + "StructureDefinition-shr-core-QualitativeLikelihood-extension-definitions.html", + "StructureDefinition-shr-core-QualitativeLikelihood-extension.html", + "StructureDefinition-shr-core-QualitativeLikelihood-extension.json.html", + "StructureDefinition-shr-core-QualitativeLikelihood-extension.ttl.html", + "StructureDefinition-shr-core-QualitativeLikelihood-extension.xml.html", + "StructureDefinition-shr-core-Quantity-definitions.html", + "StructureDefinition-shr-core-Quantity-extension-definitions.html", + "StructureDefinition-shr-core-Quantity-extension.html", + "StructureDefinition-shr-core-Quantity-extension.json.html", + "StructureDefinition-shr-core-Quantity-extension.ttl.html", + "StructureDefinition-shr-core-Quantity-extension.xml.html", + "StructureDefinition-shr-core-Quantity.html", + "StructureDefinition-shr-core-Quantity.json.html", + "StructureDefinition-shr-core-Quantity.ttl.html", + "StructureDefinition-shr-core-Quantity.xml.html", + "StructureDefinition-shr-core-Reason-extension-definitions.html", + "StructureDefinition-shr-core-Reason-extension.html", + "StructureDefinition-shr-core-Reason-extension.json.html", + "StructureDefinition-shr-core-Reason-extension.ttl.html", + "StructureDefinition-shr-core-Reason-extension.xml.html", + "StructureDefinition-shr-core-Setting-extension-definitions.html", + "StructureDefinition-shr-core-Setting-extension.html", + "StructureDefinition-shr-core-Setting-extension.json.html", + "StructureDefinition-shr-core-Setting-extension.ttl.html", + "StructureDefinition-shr-core-Setting-extension.xml.html", + "StructureDefinition-shr-core-State-extension-definitions.html", + "StructureDefinition-shr-core-State-extension.html", + "StructureDefinition-shr-core-State-extension.json.html", + "StructureDefinition-shr-core-State-extension.ttl.html", + "StructureDefinition-shr-core-State-extension.xml.html", + "StructureDefinition-shr-core-Statistic-definitions.html", + "StructureDefinition-shr-core-Statistic.html", + "StructureDefinition-shr-core-Statistic.json.html", + "StructureDefinition-shr-core-Statistic.ttl.html", + "StructureDefinition-shr-core-Statistic.xml.html", + "StructureDefinition-shr-core-StatisticType-extension-definitions.html", + "StructureDefinition-shr-core-StatisticType-extension.html", + "StructureDefinition-shr-core-StatisticType-extension.json.html", + "StructureDefinition-shr-core-StatisticType-extension.ttl.html", + "StructureDefinition-shr-core-StatisticType-extension.xml.html", + "StructureDefinition-shr-core-Substance-extension-definitions.html", + "StructureDefinition-shr-core-Substance-extension.html", + "StructureDefinition-shr-core-Substance-extension.json.html", + "StructureDefinition-shr-core-Substance-extension.ttl.html", + "StructureDefinition-shr-core-Substance-extension.xml.html", + "StructureDefinition-shr-core-TimePeriod-definitions.html", + "StructureDefinition-shr-core-TimePeriod-extension-definitions.html", + "StructureDefinition-shr-core-TimePeriod-extension.html", + "StructureDefinition-shr-core-TimePeriod-extension.json.html", + "StructureDefinition-shr-core-TimePeriod-extension.ttl.html", + "StructureDefinition-shr-core-TimePeriod-extension.xml.html", + "StructureDefinition-shr-core-TimePeriod.html", + "StructureDefinition-shr-core-TimePeriod.json.html", + "StructureDefinition-shr-core-TimePeriod.ttl.html", + "StructureDefinition-shr-core-TimePeriod.xml.html", + "StructureDefinition-shr-core-UnitedStatesAddress-definitions.html", + "StructureDefinition-shr-core-UnitedStatesAddress.html", + "StructureDefinition-shr-core-UnitedStatesAddress.json.html", + "StructureDefinition-shr-core-UnitedStatesAddress.ttl.html", + "StructureDefinition-shr-core-UnitedStatesAddress.xml.html", + "StructureDefinition-shr-core-UpperBound-definitions.html", + "StructureDefinition-shr-core-UpperBound-extension-definitions.html", + "StructureDefinition-shr-core-UpperBound-extension.html", + "StructureDefinition-shr-core-UpperBound-extension.json.html", + "StructureDefinition-shr-core-UpperBound-extension.ttl.html", + "StructureDefinition-shr-core-UpperBound-extension.xml.html", + "StructureDefinition-shr-core-UpperBound.html", + "StructureDefinition-shr-core-UpperBound.json.html", + "StructureDefinition-shr-core-UpperBound.ttl.html", + "StructureDefinition-shr-core-UpperBound.xml.html", + "StructureDefinition-shr-core-Volume-extension-definitions.html", + "StructureDefinition-shr-core-Volume-extension.html", + "StructureDefinition-shr-core-Volume-extension.json.html", + "StructureDefinition-shr-core-Volume-extension.ttl.html", + "StructureDefinition-shr-core-Volume-extension.xml.html", + "StructureDefinition-shr-core-Width-extension-definitions.html", + "StructureDefinition-shr-core-Width-extension.html", + "StructureDefinition-shr-core-Width-extension.json.html", + "StructureDefinition-shr-core-Width-extension.ttl.html", + "StructureDefinition-shr-core-Width-extension.xml.html", + "StructureDefinition-shr-demographics-CountryOfIssue-extension-definitions.html", + "StructureDefinition-shr-demographics-CountryOfIssue-extension.html", + "StructureDefinition-shr-demographics-CountryOfIssue-extension.json.html", + "StructureDefinition-shr-demographics-CountryOfIssue-extension.ttl.html", + "StructureDefinition-shr-demographics-CountryOfIssue-extension.xml.html", + "StructureDefinition-shr-demographics-DriversLicenseNumber-extension-definitions.html", + "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.html", + "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.json.html", + "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.ttl.html", + "StructureDefinition-shr-demographics-DriversLicenseNumber-extension.xml.html", + "StructureDefinition-shr-demographics-FamilialRelationship-extension-definitions.html", + "StructureDefinition-shr-demographics-FamilialRelationship-extension.html", + "StructureDefinition-shr-demographics-FamilialRelationship-extension.json.html", + "StructureDefinition-shr-demographics-FamilialRelationship-extension.ttl.html", + "StructureDefinition-shr-demographics-FamilialRelationship-extension.xml.html", + "StructureDefinition-shr-demographics-FathersName-extension-definitions.html", + "StructureDefinition-shr-demographics-FathersName-extension.html", + "StructureDefinition-shr-demographics-FathersName-extension.json.html", + "StructureDefinition-shr-demographics-FathersName-extension.ttl.html", + "StructureDefinition-shr-demographics-FathersName-extension.xml.html", + "StructureDefinition-shr-demographics-HealthInsurance-definitions.html", + "StructureDefinition-shr-demographics-HealthInsurance.html", + "StructureDefinition-shr-demographics-HealthInsurance.json.html", + "StructureDefinition-shr-demographics-HealthInsurance.ttl.html", + "StructureDefinition-shr-demographics-HealthInsurance.xml.html", + "StructureDefinition-shr-demographics-HomeTelephoneNumber-definitions.html", + "StructureDefinition-shr-demographics-HomeTelephoneNumber.html", + "StructureDefinition-shr-demographics-HomeTelephoneNumber.json.html", + "StructureDefinition-shr-demographics-HomeTelephoneNumber.ttl.html", + "StructureDefinition-shr-demographics-HomeTelephoneNumber.xml.html", + "StructureDefinition-shr-demographics-PassportNumber-extension-definitions.html", + "StructureDefinition-shr-demographics-PassportNumber-extension.html", + "StructureDefinition-shr-demographics-PassportNumber-extension.json.html", + "StructureDefinition-shr-demographics-PassportNumber-extension.ttl.html", + "StructureDefinition-shr-demographics-PassportNumber-extension.xml.html", + "StructureDefinition-shr-demographics-PersonOfRecord-definitions.html", + "StructureDefinition-shr-demographics-PersonOfRecord-extension-definitions.html", + "StructureDefinition-shr-demographics-PersonOfRecord-extension.html", + "StructureDefinition-shr-demographics-PersonOfRecord-extension.json.html", + "StructureDefinition-shr-demographics-PersonOfRecord-extension.ttl.html", + "StructureDefinition-shr-demographics-PersonOfRecord-extension.xml.html", + "StructureDefinition-shr-demographics-PersonOfRecord.html", + "StructureDefinition-shr-demographics-PersonOfRecord.json.html", + "StructureDefinition-shr-demographics-PersonOfRecord.ttl.html", + "StructureDefinition-shr-demographics-PersonOfRecord.xml.html", + "StructureDefinition-shr-demographics-SocialSecurityNumber-extension-definitions.html", + "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.html", + "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.json.html", + "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.ttl.html", + "StructureDefinition-shr-demographics-SocialSecurityNumber-extension.xml.html", + "StructureDefinition-shr-demographics-StateOfIssue-extension-definitions.html", + "StructureDefinition-shr-demographics-StateOfIssue-extension.html", + "StructureDefinition-shr-demographics-StateOfIssue-extension.json.html", + "StructureDefinition-shr-demographics-StateOfIssue-extension.ttl.html", + "StructureDefinition-shr-demographics-StateOfIssue-extension.xml.html", + "StructureDefinition-shr-demographics-Telecom-definitions.html", + "StructureDefinition-shr-demographics-Telecom.html", + "StructureDefinition-shr-demographics-Telecom.json.html", + "StructureDefinition-shr-demographics-Telecom.ttl.html", + "StructureDefinition-shr-demographics-Telecom.xml.html", + "StructureDefinition-shr-demographics-TelecomTypeOther-extension-definitions.html", + "StructureDefinition-shr-demographics-TelecomTypeOther-extension.html", + "StructureDefinition-shr-demographics-TelecomTypeOther-extension.json.html", + "StructureDefinition-shr-demographics-TelecomTypeOther-extension.ttl.html", + "StructureDefinition-shr-demographics-TelecomTypeOther-extension.xml.html", + "StructureDefinition-shr-demographics-TelephoneNumber-definitions.html", + "StructureDefinition-shr-demographics-TelephoneNumber.html", + "StructureDefinition-shr-demographics-TelephoneNumber.json.html", + "StructureDefinition-shr-demographics-TelephoneNumber.ttl.html", + "StructureDefinition-shr-demographics-TelephoneNumber.xml.html", + "StructureDefinition-shr-demographics-WorkTelephoneNumber-definitions.html", + "StructureDefinition-shr-demographics-WorkTelephoneNumber.html", + "StructureDefinition-shr-demographics-WorkTelephoneNumber.json.html", + "StructureDefinition-shr-demographics-WorkTelephoneNumber.ttl.html", + "StructureDefinition-shr-demographics-WorkTelephoneNumber.xml.html", + "StructureDefinition-shr-device-Device-definitions.html", + "StructureDefinition-shr-device-Device.html", + "StructureDefinition-shr-device-Device.json.html", + "StructureDefinition-shr-device-Device.ttl.html", + "StructureDefinition-shr-device-Device.xml.html", + "StructureDefinition-shr-device-DeviceUse-definitions.html", + "StructureDefinition-shr-device-DeviceUse.html", + "StructureDefinition-shr-device-DeviceUse.json.html", + "StructureDefinition-shr-device-DeviceUse.ttl.html", + "StructureDefinition-shr-device-DeviceUse.xml.html", + "StructureDefinition-shr-device-DeviceUseStatus-extension-definitions.html", + "StructureDefinition-shr-device-DeviceUseStatus-extension.html", + "StructureDefinition-shr-device-DeviceUseStatus-extension.json.html", + "StructureDefinition-shr-device-DeviceUseStatus-extension.ttl.html", + "StructureDefinition-shr-device-DeviceUseStatus-extension.xml.html", + "StructureDefinition-shr-device-Implanted-extension-definitions.html", + "StructureDefinition-shr-device-Implanted-extension.html", + "StructureDefinition-shr-device-Implanted-extension.json.html", + "StructureDefinition-shr-device-Implanted-extension.ttl.html", + "StructureDefinition-shr-device-Implanted-extension.xml.html", + "StructureDefinition-shr-encounter-Encounter-definitions.html", + "StructureDefinition-shr-encounter-Encounter.html", + "StructureDefinition-shr-encounter-Encounter.json.html", + "StructureDefinition-shr-encounter-Encounter.ttl.html", + "StructureDefinition-shr-encounter-Encounter.xml.html", + "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension-definitions.html", + "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.html", + "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.json.html", + "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.ttl.html", + "StructureDefinition-shr-encounter-EncounterNonOccurrenceModifier-extension.xml.html", + "StructureDefinition-shr-encounter-Facility-definitions.html", + "StructureDefinition-shr-encounter-Facility-extension-definitions.html", + "StructureDefinition-shr-encounter-Facility-extension.html", + "StructureDefinition-shr-encounter-Facility-extension.json.html", + "StructureDefinition-shr-encounter-Facility-extension.ttl.html", + "StructureDefinition-shr-encounter-Facility-extension.xml.html", + "StructureDefinition-shr-encounter-Facility.html", + "StructureDefinition-shr-encounter-Facility.json.html", + "StructureDefinition-shr-encounter-Facility.ttl.html", + "StructureDefinition-shr-encounter-Facility.xml.html", + "StructureDefinition-shr-encounter-MobileFacility-extension-definitions.html", + "StructureDefinition-shr-encounter-MobileFacility-extension.html", + "StructureDefinition-shr-encounter-MobileFacility-extension.json.html", + "StructureDefinition-shr-encounter-MobileFacility-extension.ttl.html", + "StructureDefinition-shr-encounter-MobileFacility-extension.xml.html", + "StructureDefinition-shr-encounter-PaymentSource-extension-definitions.html", + "StructureDefinition-shr-encounter-PaymentSource-extension.html", + "StructureDefinition-shr-encounter-PaymentSource-extension.json.html", + "StructureDefinition-shr-encounter-PaymentSource-extension.ttl.html", + "StructureDefinition-shr-encounter-PaymentSource-extension.xml.html", + "StructureDefinition-shr-encounter-ReferralDate-extension-definitions.html", + "StructureDefinition-shr-encounter-ReferralDate-extension.html", + "StructureDefinition-shr-encounter-ReferralDate-extension.json.html", + "StructureDefinition-shr-encounter-ReferralDate-extension.ttl.html", + "StructureDefinition-shr-encounter-ReferralDate-extension.xml.html", + "StructureDefinition-shr-encounter-ReferralSourceType-extension-definitions.html", + "StructureDefinition-shr-encounter-ReferralSourceType-extension.html", + "StructureDefinition-shr-encounter-ReferralSourceType-extension.json.html", + "StructureDefinition-shr-encounter-ReferralSourceType-extension.ttl.html", + "StructureDefinition-shr-encounter-ReferralSourceType-extension.xml.html", + "StructureDefinition-shr-encounter-TreatmentCooperation-extension-definitions.html", + "StructureDefinition-shr-encounter-TreatmentCooperation-extension.html", + "StructureDefinition-shr-encounter-TreatmentCooperation-extension.json.html", + "StructureDefinition-shr-encounter-TreatmentCooperation-extension.ttl.html", + "StructureDefinition-shr-encounter-TreatmentCooperation-extension.xml.html", + "StructureDefinition-shr-environment-AnimalExposure-definitions.html", + "StructureDefinition-shr-environment-AnimalExposure-extension-definitions.html", + "StructureDefinition-shr-environment-AnimalExposure-extension.html", + "StructureDefinition-shr-environment-AnimalExposure-extension.json.html", + "StructureDefinition-shr-environment-AnimalExposure-extension.ttl.html", + "StructureDefinition-shr-environment-AnimalExposure-extension.xml.html", + "StructureDefinition-shr-environment-AnimalExposure.html", + "StructureDefinition-shr-environment-AnimalExposure.json.html", + "StructureDefinition-shr-environment-AnimalExposure.ttl.html", + "StructureDefinition-shr-environment-AnimalExposure.xml.html", + "StructureDefinition-shr-environment-AnnualIncome-definitions.html", + "StructureDefinition-shr-environment-AnnualIncome-extension-definitions.html", + "StructureDefinition-shr-environment-AnnualIncome-extension.html", + "StructureDefinition-shr-environment-AnnualIncome-extension.json.html", + "StructureDefinition-shr-environment-AnnualIncome-extension.ttl.html", + "StructureDefinition-shr-environment-AnnualIncome-extension.xml.html", + "StructureDefinition-shr-environment-AnnualIncome.html", + "StructureDefinition-shr-environment-AnnualIncome.json.html", + "StructureDefinition-shr-environment-AnnualIncome.ttl.html", + "StructureDefinition-shr-environment-AnnualIncome.xml.html", + "StructureDefinition-shr-environment-CanAffordChildCare-definitions.html", + "StructureDefinition-shr-environment-CanAffordChildCare-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordChildCare-extension.html", + "StructureDefinition-shr-environment-CanAffordChildCare-extension.json.html", + "StructureDefinition-shr-environment-CanAffordChildCare-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordChildCare-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordChildCare.html", + "StructureDefinition-shr-environment-CanAffordChildCare.json.html", + "StructureDefinition-shr-environment-CanAffordChildCare.ttl.html", + "StructureDefinition-shr-environment-CanAffordChildCare.xml.html", + "StructureDefinition-shr-environment-CanAffordClothing-definitions.html", + "StructureDefinition-shr-environment-CanAffordClothing-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordClothing-extension.html", + "StructureDefinition-shr-environment-CanAffordClothing-extension.json.html", + "StructureDefinition-shr-environment-CanAffordClothing-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordClothing-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordClothing.html", + "StructureDefinition-shr-environment-CanAffordClothing.json.html", + "StructureDefinition-shr-environment-CanAffordClothing.ttl.html", + "StructureDefinition-shr-environment-CanAffordClothing.xml.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-definitions.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-extension.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-extension.json.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordDentalCare-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordDentalCare.html", + "StructureDefinition-shr-environment-CanAffordDentalCare.json.html", + "StructureDefinition-shr-environment-CanAffordDentalCare.ttl.html", + "StructureDefinition-shr-environment-CanAffordDentalCare.xml.html", + "StructureDefinition-shr-environment-CanAffordFood-definitions.html", + "StructureDefinition-shr-environment-CanAffordFood-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordFood-extension.html", + "StructureDefinition-shr-environment-CanAffordFood-extension.json.html", + "StructureDefinition-shr-environment-CanAffordFood-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordFood-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordFood.html", + "StructureDefinition-shr-environment-CanAffordFood.json.html", + "StructureDefinition-shr-environment-CanAffordFood.ttl.html", + "StructureDefinition-shr-environment-CanAffordFood.xml.html", + "StructureDefinition-shr-environment-CanAffordHousing-definitions.html", + "StructureDefinition-shr-environment-CanAffordHousing-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordHousing-extension.html", + "StructureDefinition-shr-environment-CanAffordHousing-extension.json.html", + "StructureDefinition-shr-environment-CanAffordHousing-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordHousing-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordHousing.html", + "StructureDefinition-shr-environment-CanAffordHousing.json.html", + "StructureDefinition-shr-environment-CanAffordHousing.ttl.html", + "StructureDefinition-shr-environment-CanAffordHousing.xml.html", + "StructureDefinition-shr-environment-CanAffordMedication-definitions.html", + "StructureDefinition-shr-environment-CanAffordMedication-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordMedication-extension.html", + "StructureDefinition-shr-environment-CanAffordMedication-extension.json.html", + "StructureDefinition-shr-environment-CanAffordMedication-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordMedication-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordMedication.html", + "StructureDefinition-shr-environment-CanAffordMedication.json.html", + "StructureDefinition-shr-environment-CanAffordMedication.ttl.html", + "StructureDefinition-shr-environment-CanAffordMedication.xml.html", + "StructureDefinition-shr-environment-CanAffordTransportation-definitions.html", + "StructureDefinition-shr-environment-CanAffordTransportation-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordTransportation-extension.html", + "StructureDefinition-shr-environment-CanAffordTransportation-extension.json.html", + "StructureDefinition-shr-environment-CanAffordTransportation-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordTransportation-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordTransportation.html", + "StructureDefinition-shr-environment-CanAffordTransportation.json.html", + "StructureDefinition-shr-environment-CanAffordTransportation.ttl.html", + "StructureDefinition-shr-environment-CanAffordTransportation.xml.html", + "StructureDefinition-shr-environment-CanAffordUtilities-definitions.html", + "StructureDefinition-shr-environment-CanAffordUtilities-extension-definitions.html", + "StructureDefinition-shr-environment-CanAffordUtilities-extension.html", + "StructureDefinition-shr-environment-CanAffordUtilities-extension.json.html", + "StructureDefinition-shr-environment-CanAffordUtilities-extension.ttl.html", + "StructureDefinition-shr-environment-CanAffordUtilities-extension.xml.html", + "StructureDefinition-shr-environment-CanAffordUtilities.html", + "StructureDefinition-shr-environment-CanAffordUtilities.json.html", + "StructureDefinition-shr-environment-CanAffordUtilities.ttl.html", + "StructureDefinition-shr-environment-CanAffordUtilities.xml.html", + "StructureDefinition-shr-environment-Coinhabitant-definitions.html", + "StructureDefinition-shr-environment-Coinhabitant-extension-definitions.html", + "StructureDefinition-shr-environment-Coinhabitant-extension.html", + "StructureDefinition-shr-environment-Coinhabitant-extension.json.html", + "StructureDefinition-shr-environment-Coinhabitant-extension.ttl.html", + "StructureDefinition-shr-environment-Coinhabitant-extension.xml.html", + "StructureDefinition-shr-environment-Coinhabitant.html", + "StructureDefinition-shr-environment-Coinhabitant.json.html", + "StructureDefinition-shr-environment-Coinhabitant.ttl.html", + "StructureDefinition-shr-environment-Coinhabitant.xml.html", + "StructureDefinition-shr-environment-DomesticViolence-definitions.html", + "StructureDefinition-shr-environment-DomesticViolence-extension-definitions.html", + "StructureDefinition-shr-environment-DomesticViolence-extension.html", + "StructureDefinition-shr-environment-DomesticViolence-extension.json.html", + "StructureDefinition-shr-environment-DomesticViolence-extension.ttl.html", + "StructureDefinition-shr-environment-DomesticViolence-extension.xml.html", + "StructureDefinition-shr-environment-DomesticViolence.html", + "StructureDefinition-shr-environment-DomesticViolence.json.html", + "StructureDefinition-shr-environment-DomesticViolence.ttl.html", + "StructureDefinition-shr-environment-DomesticViolence.xml.html", + "StructureDefinition-shr-environment-EmotionalSafety-definitions.html", + "StructureDefinition-shr-environment-EmotionalSafety-extension-definitions.html", + "StructureDefinition-shr-environment-EmotionalSafety-extension.html", + "StructureDefinition-shr-environment-EmotionalSafety-extension.json.html", + "StructureDefinition-shr-environment-EmotionalSafety-extension.ttl.html", + "StructureDefinition-shr-environment-EmotionalSafety-extension.xml.html", + "StructureDefinition-shr-environment-EmotionalSafety.html", + "StructureDefinition-shr-environment-EmotionalSafety.json.html", + "StructureDefinition-shr-environment-EmotionalSafety.ttl.html", + "StructureDefinition-shr-environment-EmotionalSafety.xml.html", + "StructureDefinition-shr-environment-EnvironmentalExposuresPanel-definitions.html", + "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.html", + "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.json.html", + "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.ttl.html", + "StructureDefinition-shr-environment-EnvironmentalExposuresPanel.xml.html", + "StructureDefinition-shr-environment-ExposureMethod-extension-definitions.html", + "StructureDefinition-shr-environment-ExposureMethod-extension.html", + "StructureDefinition-shr-environment-ExposureMethod-extension.json.html", + "StructureDefinition-shr-environment-ExposureMethod-extension.ttl.html", + "StructureDefinition-shr-environment-ExposureMethod-extension.xml.html", + "StructureDefinition-shr-environment-ExposureReason-extension-definitions.html", + "StructureDefinition-shr-environment-ExposureReason-extension.html", + "StructureDefinition-shr-environment-ExposureReason-extension.json.html", + "StructureDefinition-shr-environment-ExposureReason-extension.ttl.html", + "StructureDefinition-shr-environment-ExposureReason-extension.xml.html", + "StructureDefinition-shr-environment-ExposureSourceOrVector-extension-definitions.html", + "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.html", + "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.json.html", + "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.ttl.html", + "StructureDefinition-shr-environment-ExposureSourceOrVector-extension.xml.html", + "StructureDefinition-shr-environment-ExposureToSubstance-definitions.html", + "StructureDefinition-shr-environment-ExposureToSubstance.html", + "StructureDefinition-shr-environment-ExposureToSubstance.json.html", + "StructureDefinition-shr-environment-ExposureToSubstance.ttl.html", + "StructureDefinition-shr-environment-ExposureToSubstance.xml.html", + "StructureDefinition-shr-environment-FinancialSituationPanel-definitions.html", + "StructureDefinition-shr-environment-FinancialSituationPanel.html", + "StructureDefinition-shr-environment-FinancialSituationPanel.json.html", + "StructureDefinition-shr-environment-FinancialSituationPanel.ttl.html", + "StructureDefinition-shr-environment-FinancialSituationPanel.xml.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-definitions.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension-definitions.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.json.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.ttl.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk-extension.xml.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk.json.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk.ttl.html", + "StructureDefinition-shr-environment-HomeEnvironmentRisk.xml.html", + "StructureDefinition-shr-environment-HouseholdSituationPanel-definitions.html", + "StructureDefinition-shr-environment-HouseholdSituationPanel.html", + "StructureDefinition-shr-environment-HouseholdSituationPanel.json.html", + "StructureDefinition-shr-environment-HouseholdSituationPanel.ttl.html", + "StructureDefinition-shr-environment-HouseholdSituationPanel.xml.html", + "StructureDefinition-shr-environment-HouseholdSize-definitions.html", + "StructureDefinition-shr-environment-HouseholdSize-extension-definitions.html", + "StructureDefinition-shr-environment-HouseholdSize-extension.html", + "StructureDefinition-shr-environment-HouseholdSize-extension.json.html", + "StructureDefinition-shr-environment-HouseholdSize-extension.ttl.html", + "StructureDefinition-shr-environment-HouseholdSize-extension.xml.html", + "StructureDefinition-shr-environment-HouseholdSize.html", + "StructureDefinition-shr-environment-HouseholdSize.json.html", + "StructureDefinition-shr-environment-HouseholdSize.ttl.html", + "StructureDefinition-shr-environment-HouseholdSize.xml.html", + "StructureDefinition-shr-environment-HousingSecurity-definitions.html", + "StructureDefinition-shr-environment-HousingSecurity-extension-definitions.html", + "StructureDefinition-shr-environment-HousingSecurity-extension.html", + "StructureDefinition-shr-environment-HousingSecurity-extension.json.html", + "StructureDefinition-shr-environment-HousingSecurity-extension.ttl.html", + "StructureDefinition-shr-environment-HousingSecurity-extension.xml.html", + "StructureDefinition-shr-environment-HousingSecurity.html", + "StructureDefinition-shr-environment-HousingSecurity.json.html", + "StructureDefinition-shr-environment-HousingSecurity.ttl.html", + "StructureDefinition-shr-environment-HousingSecurity.xml.html", + "StructureDefinition-shr-environment-IncomeSource-definitions.html", + "StructureDefinition-shr-environment-IncomeSource-extension-definitions.html", + "StructureDefinition-shr-environment-IncomeSource-extension.html", + "StructureDefinition-shr-environment-IncomeSource-extension.json.html", + "StructureDefinition-shr-environment-IncomeSource-extension.ttl.html", + "StructureDefinition-shr-environment-IncomeSource-extension.xml.html", + "StructureDefinition-shr-environment-IncomeSource.html", + "StructureDefinition-shr-environment-IncomeSource.json.html", + "StructureDefinition-shr-environment-IncomeSource.ttl.html", + "StructureDefinition-shr-environment-IncomeSource.xml.html", + "StructureDefinition-shr-environment-IncomeStability-definitions.html", + "StructureDefinition-shr-environment-IncomeStability-extension-definitions.html", + "StructureDefinition-shr-environment-IncomeStability-extension.html", + "StructureDefinition-shr-environment-IncomeStability-extension.json.html", + "StructureDefinition-shr-environment-IncomeStability-extension.ttl.html", + "StructureDefinition-shr-environment-IncomeStability-extension.xml.html", + "StructureDefinition-shr-environment-IncomeStability.html", + "StructureDefinition-shr-environment-IncomeStability.json.html", + "StructureDefinition-shr-environment-IncomeStability.ttl.html", + "StructureDefinition-shr-environment-IncomeStability.xml.html", + "StructureDefinition-shr-environment-NonCashBenefit-definitions.html", + "StructureDefinition-shr-environment-NonCashBenefit-extension-definitions.html", + "StructureDefinition-shr-environment-NonCashBenefit-extension.html", + "StructureDefinition-shr-environment-NonCashBenefit-extension.json.html", + "StructureDefinition-shr-environment-NonCashBenefit-extension.ttl.html", + "StructureDefinition-shr-environment-NonCashBenefit-extension.xml.html", + "StructureDefinition-shr-environment-NonCashBenefit.html", + "StructureDefinition-shr-environment-NonCashBenefit.json.html", + "StructureDefinition-shr-environment-NonCashBenefit.ttl.html", + "StructureDefinition-shr-environment-NonCashBenefit.xml.html", + "StructureDefinition-shr-environment-NumberOfDependents-definitions.html", + "StructureDefinition-shr-environment-NumberOfDependents-extension-definitions.html", + "StructureDefinition-shr-environment-NumberOfDependents-extension.html", + "StructureDefinition-shr-environment-NumberOfDependents-extension.json.html", + "StructureDefinition-shr-environment-NumberOfDependents-extension.ttl.html", + "StructureDefinition-shr-environment-NumberOfDependents-extension.xml.html", + "StructureDefinition-shr-environment-NumberOfDependents.html", + "StructureDefinition-shr-environment-NumberOfDependents.json.html", + "StructureDefinition-shr-environment-NumberOfDependents.ttl.html", + "StructureDefinition-shr-environment-NumberOfDependents.xml.html", + "StructureDefinition-shr-environment-PhysicalSafety-definitions.html", + "StructureDefinition-shr-environment-PhysicalSafety-extension-definitions.html", + "StructureDefinition-shr-environment-PhysicalSafety-extension.html", + "StructureDefinition-shr-environment-PhysicalSafety-extension.json.html", + "StructureDefinition-shr-environment-PhysicalSafety-extension.ttl.html", + "StructureDefinition-shr-environment-PhysicalSafety-extension.xml.html", + "StructureDefinition-shr-environment-PhysicalSafety.html", + "StructureDefinition-shr-environment-PhysicalSafety.json.html", + "StructureDefinition-shr-environment-PhysicalSafety.ttl.html", + "StructureDefinition-shr-environment-PhysicalSafety.xml.html", + "StructureDefinition-shr-environment-SocialEnvironmentPanel-definitions.html", + "StructureDefinition-shr-environment-SocialEnvironmentPanel.html", + "StructureDefinition-shr-environment-SocialEnvironmentPanel.json.html", + "StructureDefinition-shr-environment-SocialEnvironmentPanel.ttl.html", + "StructureDefinition-shr-environment-SocialEnvironmentPanel.xml.html", + "StructureDefinition-shr-environment-TransportationAvailability-definitions.html", + "StructureDefinition-shr-environment-TransportationAvailability-extension-definitions.html", + "StructureDefinition-shr-environment-TransportationAvailability-extension.html", + "StructureDefinition-shr-environment-TransportationAvailability-extension.json.html", + "StructureDefinition-shr-environment-TransportationAvailability-extension.ttl.html", + "StructureDefinition-shr-environment-TransportationAvailability-extension.xml.html", + "StructureDefinition-shr-environment-TransportationAvailability.html", + "StructureDefinition-shr-environment-TransportationAvailability.json.html", + "StructureDefinition-shr-environment-TransportationAvailability.ttl.html", + "StructureDefinition-shr-environment-TransportationAvailability.xml.html", + "StructureDefinition-shr-immunization-Immunization-definitions.html", + "StructureDefinition-shr-immunization-Immunization.html", + "StructureDefinition-shr-immunization-Immunization.json.html", + "StructureDefinition-shr-immunization-Immunization.ttl.html", + "StructureDefinition-shr-immunization-Immunization.xml.html", + "StructureDefinition-shr-immunization-ImmunizationAdministered-definitions.html", + "StructureDefinition-shr-immunization-ImmunizationAdministered.html", + "StructureDefinition-shr-immunization-ImmunizationAdministered.json.html", + "StructureDefinition-shr-immunization-ImmunizationAdministered.ttl.html", + "StructureDefinition-shr-immunization-ImmunizationAdministered.xml.html", + "StructureDefinition-shr-immunization-ImmunizationNotGiven-definitions.html", + "StructureDefinition-shr-immunization-ImmunizationNotGiven.html", + "StructureDefinition-shr-immunization-ImmunizationNotGiven.json.html", + "StructureDefinition-shr-immunization-ImmunizationNotGiven.ttl.html", + "StructureDefinition-shr-immunization-ImmunizationNotGiven.xml.html", + "StructureDefinition-shr-lab-ChangeFlag-extension-definitions.html", + "StructureDefinition-shr-lab-ChangeFlag-extension.html", + "StructureDefinition-shr-lab-ChangeFlag-extension.json.html", + "StructureDefinition-shr-lab-ChangeFlag-extension.ttl.html", + "StructureDefinition-shr-lab-ChangeFlag-extension.xml.html", + "StructureDefinition-shr-lab-HIVScreeningTest-definitions.html", + "StructureDefinition-shr-lab-HIVScreeningTest.html", + "StructureDefinition-shr-lab-HIVScreeningTest.json.html", + "StructureDefinition-shr-lab-HIVScreeningTest.ttl.html", + "StructureDefinition-shr-lab-HIVScreeningTest.xml.html", + "StructureDefinition-shr-lab-HIVScreeningTestRequest-definitions.html", + "StructureDefinition-shr-lab-HIVScreeningTestRequest.html", + "StructureDefinition-shr-lab-HIVScreeningTestRequest.json.html", + "StructureDefinition-shr-lab-HIVScreeningTestRequest.ttl.html", + "StructureDefinition-shr-lab-HIVScreeningTestRequest.xml.html", + "StructureDefinition-shr-lab-HIVSupplementalTest-definitions.html", + "StructureDefinition-shr-lab-HIVSupplementalTest.html", + "StructureDefinition-shr-lab-HIVSupplementalTest.json.html", + "StructureDefinition-shr-lab-HIVSupplementalTest.ttl.html", + "StructureDefinition-shr-lab-HIVSupplementalTest.xml.html", + "StructureDefinition-shr-lab-HIVSupplementalTestRequest-definitions.html", + "StructureDefinition-shr-lab-HIVSupplementalTestRequest.html", + "StructureDefinition-shr-lab-HIVSupplementalTestRequest.json.html", + "StructureDefinition-shr-lab-HIVSupplementalTestRequest.ttl.html", + "StructureDefinition-shr-lab-HIVSupplementalTestRequest.xml.html", + "StructureDefinition-shr-lab-Test-definitions.html", + "StructureDefinition-shr-lab-Test-extension-definitions.html", + "StructureDefinition-shr-lab-Test-extension.html", + "StructureDefinition-shr-lab-Test-extension.json.html", + "StructureDefinition-shr-lab-Test-extension.ttl.html", + "StructureDefinition-shr-lab-Test-extension.xml.html", + "StructureDefinition-shr-lab-Test.html", + "StructureDefinition-shr-lab-Test.json.html", + "StructureDefinition-shr-lab-Test.ttl.html", + "StructureDefinition-shr-lab-Test.xml.html", + "StructureDefinition-shr-lab-TestRequest-definitions.html", + "StructureDefinition-shr-lab-TestRequest-extension-definitions.html", + "StructureDefinition-shr-lab-TestRequest-extension.html", + "StructureDefinition-shr-lab-TestRequest-extension.json.html", + "StructureDefinition-shr-lab-TestRequest-extension.ttl.html", + "StructureDefinition-shr-lab-TestRequest-extension.xml.html", + "StructureDefinition-shr-lab-TestRequest.html", + "StructureDefinition-shr-lab-TestRequest.json.html", + "StructureDefinition-shr-lab-TestRequest.ttl.html", + "StructureDefinition-shr-lab-TestRequest.xml.html", + "StructureDefinition-shr-lifehistory-CongenitalAbnormalities-definitions.html", + "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.html", + "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.json.html", + "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.ttl.html", + "StructureDefinition-shr-lifehistory-CongenitalAbnormalities.xml.html", + "StructureDefinition-shr-lifehistory-EducationalAttainment-definitions.html", + "StructureDefinition-shr-lifehistory-EducationalAttainment.html", + "StructureDefinition-shr-lifehistory-EducationalAttainment.json.html", + "StructureDefinition-shr-lifehistory-EducationalAttainment.ttl.html", + "StructureDefinition-shr-lifehistory-EducationalAttainment.xml.html", + "StructureDefinition-shr-lifehistory-Employer-extension-definitions.html", + "StructureDefinition-shr-lifehistory-Employer-extension.html", + "StructureDefinition-shr-lifehistory-Employer-extension.json.html", + "StructureDefinition-shr-lifehistory-Employer-extension.ttl.html", + "StructureDefinition-shr-lifehistory-Employer-extension.xml.html", + "StructureDefinition-shr-lifehistory-Employment-definitions.html", + "StructureDefinition-shr-lifehistory-Employment.html", + "StructureDefinition-shr-lifehistory-Employment.json.html", + "StructureDefinition-shr-lifehistory-Employment.ttl.html", + "StructureDefinition-shr-lifehistory-Employment.xml.html", + "StructureDefinition-shr-lifehistory-EmploymentStatus-extension-definitions.html", + "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.html", + "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.json.html", + "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.ttl.html", + "StructureDefinition-shr-lifehistory-EmploymentStatus-extension.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryBranch-extension-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.html", + "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.json.html", + "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryBranch-extension.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryService-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryService.html", + "StructureDefinition-shr-lifehistory-MilitaryService.json.html", + "StructureDefinition-shr-lifehistory-MilitaryService.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryService.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.json.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceDischargeStatus-extension.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.json.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryServiceEra-extension.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-extension-definitions.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.json.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus-extension.xml.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus.json.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus.ttl.html", + "StructureDefinition-shr-lifehistory-MilitaryStatus.xml.html", + "StructureDefinition-shr-lifehistory-Occupation-definitions.html", + "StructureDefinition-shr-lifehistory-Occupation.html", + "StructureDefinition-shr-lifehistory-Occupation.json.html", + "StructureDefinition-shr-lifehistory-Occupation.ttl.html", + "StructureDefinition-shr-lifehistory-Occupation.xml.html", + "StructureDefinition-shr-lifehistory-PrenatalExposure-definitions.html", + "StructureDefinition-shr-lifehistory-PrenatalExposure.html", + "StructureDefinition-shr-lifehistory-PrenatalExposure.json.html", + "StructureDefinition-shr-lifehistory-PrenatalExposure.ttl.html", + "StructureDefinition-shr-lifehistory-PrenatalExposure.xml.html", + "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension-definitions.html", + "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.html", + "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.json.html", + "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.ttl.html", + "StructureDefinition-shr-lifehistory-ServiceConnectedDisability-extension.xml.html", + "StructureDefinition-shr-lifehistory-Travel-definitions.html", + "StructureDefinition-shr-lifehistory-Travel.html", + "StructureDefinition-shr-lifehistory-Travel.json.html", + "StructureDefinition-shr-lifehistory-Travel.ttl.html", + "StructureDefinition-shr-lifehistory-Travel.xml.html", + "StructureDefinition-shr-medication-Adherence-extension-definitions.html", + "StructureDefinition-shr-medication-Adherence-extension.html", + "StructureDefinition-shr-medication-Adherence-extension.json.html", + "StructureDefinition-shr-medication-Adherence-extension.ttl.html", + "StructureDefinition-shr-medication-Adherence-extension.xml.html", + "StructureDefinition-shr-medication-AdherenceLevel-extension-definitions.html", + "StructureDefinition-shr-medication-AdherenceLevel-extension.html", + "StructureDefinition-shr-medication-AdherenceLevel-extension.json.html", + "StructureDefinition-shr-medication-AdherenceLevel-extension.ttl.html", + "StructureDefinition-shr-medication-AdherenceLevel-extension.xml.html", + "StructureDefinition-shr-medication-Medication-definitions.html", + "StructureDefinition-shr-medication-Medication.html", + "StructureDefinition-shr-medication-Medication.json.html", + "StructureDefinition-shr-medication-Medication.ttl.html", + "StructureDefinition-shr-medication-Medication.xml.html", + "StructureDefinition-shr-medication-MedicationAfterChange-extension-definitions.html", + "StructureDefinition-shr-medication-MedicationAfterChange-extension.html", + "StructureDefinition-shr-medication-MedicationAfterChange-extension.json.html", + "StructureDefinition-shr-medication-MedicationAfterChange-extension.ttl.html", + "StructureDefinition-shr-medication-MedicationAfterChange-extension.xml.html", + "StructureDefinition-shr-medication-MedicationBeforeChange-extension-definitions.html", + "StructureDefinition-shr-medication-MedicationBeforeChange-extension.html", + "StructureDefinition-shr-medication-MedicationBeforeChange-extension.json.html", + "StructureDefinition-shr-medication-MedicationBeforeChange-extension.ttl.html", + "StructureDefinition-shr-medication-MedicationBeforeChange-extension.xml.html", + "StructureDefinition-shr-medication-MedicationChange-definitions.html", + "StructureDefinition-shr-medication-MedicationChange.html", + "StructureDefinition-shr-medication-MedicationChange.json.html", + "StructureDefinition-shr-medication-MedicationChange.ttl.html", + "StructureDefinition-shr-medication-MedicationChange.xml.html", + "StructureDefinition-shr-medication-MedicationNotAdministered-definitions.html", + "StructureDefinition-shr-medication-MedicationNotAdministered.html", + "StructureDefinition-shr-medication-MedicationNotAdministered.json.html", + "StructureDefinition-shr-medication-MedicationNotAdministered.ttl.html", + "StructureDefinition-shr-medication-MedicationNotAdministered.xml.html", + "StructureDefinition-shr-medication-MedicationNotPrescribed-definitions.html", + "StructureDefinition-shr-medication-MedicationNotPrescribed.html", + "StructureDefinition-shr-medication-MedicationNotPrescribed.json.html", + "StructureDefinition-shr-medication-MedicationNotPrescribed.ttl.html", + "StructureDefinition-shr-medication-MedicationNotPrescribed.xml.html", + "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension-definitions.html", + "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.html", + "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.json.html", + "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.ttl.html", + "StructureDefinition-shr-medication-MedicationNotPrescribedModifier-extension.xml.html", + "StructureDefinition-shr-medication-MedicationPrescription-definitions.html", + "StructureDefinition-shr-medication-MedicationPrescription.html", + "StructureDefinition-shr-medication-MedicationPrescription.json.html", + "StructureDefinition-shr-medication-MedicationPrescription.ttl.html", + "StructureDefinition-shr-medication-MedicationPrescription.xml.html", + "StructureDefinition-shr-medication-MedicationUse-definitions.html", + "StructureDefinition-shr-medication-MedicationUse.html", + "StructureDefinition-shr-medication-MedicationUse.json.html", + "StructureDefinition-shr-medication-MedicationUse.ttl.html", + "StructureDefinition-shr-medication-MedicationUse.xml.html", + "StructureDefinition-shr-medication-NonAdherenceReason-extension-definitions.html", + "StructureDefinition-shr-medication-NonAdherenceReason-extension.html", + "StructureDefinition-shr-medication-NonAdherenceReason-extension.json.html", + "StructureDefinition-shr-medication-NonAdherenceReason-extension.ttl.html", + "StructureDefinition-shr-medication-NonAdherenceReason-extension.xml.html", + "StructureDefinition-shr-medication-OverTheCounter-extension-definitions.html", + "StructureDefinition-shr-medication-OverTheCounter-extension.html", + "StructureDefinition-shr-medication-OverTheCounter-extension.json.html", + "StructureDefinition-shr-medication-OverTheCounter-extension.ttl.html", + "StructureDefinition-shr-medication-OverTheCounter-extension.xml.html", + "StructureDefinition-shr-medication-RouteIntoBody-extension-definitions.html", + "StructureDefinition-shr-medication-RouteIntoBody-extension.html", + "StructureDefinition-shr-medication-RouteIntoBody-extension.json.html", + "StructureDefinition-shr-medication-RouteIntoBody-extension.ttl.html", + "StructureDefinition-shr-medication-RouteIntoBody-extension.xml.html", + "StructureDefinition-shr-medication-TypeOfChange-extension-definitions.html", + "StructureDefinition-shr-medication-TypeOfChange-extension.html", + "StructureDefinition-shr-medication-TypeOfChange-extension.json.html", + "StructureDefinition-shr-medication-TypeOfChange-extension.ttl.html", + "StructureDefinition-shr-medication-TypeOfChange-extension.xml.html", + "StructureDefinition-shr-observation-CodeableConceptObservation-definitions.html", + "StructureDefinition-shr-observation-CodeableConceptObservation.html", + "StructureDefinition-shr-observation-CodeableConceptObservation.json.html", + "StructureDefinition-shr-observation-CodeableConceptObservation.ttl.html", + "StructureDefinition-shr-observation-CodeableConceptObservation.xml.html", + "StructureDefinition-shr-observation-HistoryObservation-definitions.html", + "StructureDefinition-shr-observation-HistoryObservation.html", + "StructureDefinition-shr-observation-HistoryObservation.json.html", + "StructureDefinition-shr-observation-HistoryObservation.ttl.html", + "StructureDefinition-shr-observation-HistoryObservation.xml.html", + "StructureDefinition-shr-observation-Observation-definitions.html", + "StructureDefinition-shr-observation-Observation.html", + "StructureDefinition-shr-observation-Observation.json.html", + "StructureDefinition-shr-observation-Observation.ttl.html", + "StructureDefinition-shr-observation-Observation.xml.html", + "StructureDefinition-shr-observation-ObservationCode-extension-definitions.html", + "StructureDefinition-shr-observation-ObservationCode-extension.html", + "StructureDefinition-shr-observation-ObservationCode-extension.json.html", + "StructureDefinition-shr-observation-ObservationCode-extension.ttl.html", + "StructureDefinition-shr-observation-ObservationCode-extension.xml.html", + "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension-definitions.html", + "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.html", + "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.json.html", + "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.ttl.html", + "StructureDefinition-shr-observation-ObservationNonOccurrenceModifier-extension.xml.html", + "StructureDefinition-shr-observation-ObservationQualifier-extension-definitions.html", + "StructureDefinition-shr-observation-ObservationQualifier-extension.html", + "StructureDefinition-shr-observation-ObservationQualifier-extension.json.html", + "StructureDefinition-shr-observation-ObservationQualifier-extension.ttl.html", + "StructureDefinition-shr-observation-ObservationQualifier-extension.xml.html", + "StructureDefinition-shr-observation-ObservationReason-extension-definitions.html", + "StructureDefinition-shr-observation-ObservationReason-extension.html", + "StructureDefinition-shr-observation-ObservationReason-extension.json.html", + "StructureDefinition-shr-observation-ObservationReason-extension.ttl.html", + "StructureDefinition-shr-observation-ObservationReason-extension.xml.html", + "StructureDefinition-shr-observation-Panel-definitions.html", + "StructureDefinition-shr-observation-Panel.html", + "StructureDefinition-shr-observation-Panel.json.html", + "StructureDefinition-shr-observation-Panel.ttl.html", + "StructureDefinition-shr-observation-Panel.xml.html", + "StructureDefinition-shr-observation-SocialHistory-definitions.html", + "StructureDefinition-shr-observation-SocialHistory.html", + "StructureDefinition-shr-observation-SocialHistory.json.html", + "StructureDefinition-shr-observation-SocialHistory.ttl.html", + "StructureDefinition-shr-observation-SocialHistory.xml.html", + "StructureDefinition-shr-problem-Abatement-extension-definitions.html", + "StructureDefinition-shr-problem-Abatement-extension.html", + "StructureDefinition-shr-problem-Abatement-extension.json.html", + "StructureDefinition-shr-problem-Abatement-extension.ttl.html", + "StructureDefinition-shr-problem-Abatement-extension.xml.html", + "StructureDefinition-shr-problem-AcademicProblem-definitions.html", + "StructureDefinition-shr-problem-AcademicProblem.html", + "StructureDefinition-shr-problem-AcademicProblem.json.html", + "StructureDefinition-shr-problem-AcademicProblem.ttl.html", + "StructureDefinition-shr-problem-AcademicProblem.xml.html", + "StructureDefinition-shr-problem-Asplenia-definitions.html", + "StructureDefinition-shr-problem-Asplenia.html", + "StructureDefinition-shr-problem-Asplenia.json.html", + "StructureDefinition-shr-problem-Asplenia.ttl.html", + "StructureDefinition-shr-problem-Asplenia.xml.html", + "StructureDefinition-shr-problem-Criticality-extension-definitions.html", + "StructureDefinition-shr-problem-Criticality-extension.html", + "StructureDefinition-shr-problem-Criticality-extension.json.html", + "StructureDefinition-shr-problem-Criticality-extension.ttl.html", + "StructureDefinition-shr-problem-Criticality-extension.xml.html", + "StructureDefinition-shr-problem-IncludeOnProblemList-extension-definitions.html", + "StructureDefinition-shr-problem-IncludeOnProblemList-extension.html", + "StructureDefinition-shr-problem-IncludeOnProblemList-extension.json.html", + "StructureDefinition-shr-problem-IncludeOnProblemList-extension.ttl.html", + "StructureDefinition-shr-problem-IncludeOnProblemList-extension.xml.html", + "StructureDefinition-shr-problem-Injury-definitions.html", + "StructureDefinition-shr-problem-Injury.html", + "StructureDefinition-shr-problem-Injury.json.html", + "StructureDefinition-shr-problem-Injury.ttl.html", + "StructureDefinition-shr-problem-Injury.xml.html", + "StructureDefinition-shr-problem-Manifestation-definitions.html", + "StructureDefinition-shr-problem-Manifestation-extension-definitions.html", + "StructureDefinition-shr-problem-Manifestation-extension.html", + "StructureDefinition-shr-problem-Manifestation-extension.json.html", + "StructureDefinition-shr-problem-Manifestation-extension.ttl.html", + "StructureDefinition-shr-problem-Manifestation-extension.xml.html", + "StructureDefinition-shr-problem-Manifestation.html", + "StructureDefinition-shr-problem-Manifestation.json.html", + "StructureDefinition-shr-problem-Manifestation.ttl.html", + "StructureDefinition-shr-problem-Manifestation.xml.html", + "StructureDefinition-shr-problem-MentalHealthProblem-definitions.html", + "StructureDefinition-shr-problem-MentalHealthProblem.html", + "StructureDefinition-shr-problem-MentalHealthProblem.json.html", + "StructureDefinition-shr-problem-MentalHealthProblem.ttl.html", + "StructureDefinition-shr-problem-MentalHealthProblem.xml.html", + "StructureDefinition-shr-problem-Preexisting-extension-definitions.html", + "StructureDefinition-shr-problem-Preexisting-extension.html", + "StructureDefinition-shr-problem-Preexisting-extension.json.html", + "StructureDefinition-shr-problem-Preexisting-extension.ttl.html", + "StructureDefinition-shr-problem-Preexisting-extension.xml.html", + "StructureDefinition-shr-problem-Problem-definitions.html", + "StructureDefinition-shr-problem-Problem.html", + "StructureDefinition-shr-problem-Problem.json.html", + "StructureDefinition-shr-problem-Problem.ttl.html", + "StructureDefinition-shr-problem-Problem.xml.html", + "StructureDefinition-shr-problem-Severity-extension-definitions.html", + "StructureDefinition-shr-problem-Severity-extension.html", + "StructureDefinition-shr-problem-Severity-extension.json.html", + "StructureDefinition-shr-problem-Severity-extension.ttl.html", + "StructureDefinition-shr-problem-Severity-extension.xml.html", + "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension-definitions.html", + "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.html", + "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.json.html", + "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.ttl.html", + "StructureDefinition-shr-problem-SupportingEvidenceQuality-extension.xml.html", + "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension-definitions.html", + "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.html", + "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.json.html", + "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.ttl.html", + "StructureDefinition-shr-problem-WhenClinicallyRecognized-extension.xml.html", + "StructureDefinition-shr-procedure-Procedure-definitions.html", + "StructureDefinition-shr-procedure-Procedure.html", + "StructureDefinition-shr-procedure-Procedure.json.html", + "StructureDefinition-shr-procedure-Procedure.ttl.html", + "StructureDefinition-shr-procedure-Procedure.xml.html", + "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation-definitions.html", + "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.html", + "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.json.html", + "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.ttl.html", + "StructureDefinition-shr-sex-ContraceptiveMethodRecommendation.xml.html", + "StructureDefinition-shr-sex-ContraceptiveMethodsUsed-definitions.html", + "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.html", + "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.json.html", + "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.ttl.html", + "StructureDefinition-shr-sex-ContraceptiveMethodsUsed.xml.html", + "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension-definitions.html", + "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.html", + "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.json.html", + "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.ttl.html", + "StructureDefinition-shr-sex-CurrentPregnancyStatus-extension.xml.html", + "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension-definitions.html", + "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.html", + "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.json.html", + "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.ttl.html", + "StructureDefinition-shr-sex-DifficultyWithIntercourse-extension.xml.html", + "StructureDefinition-shr-sex-Dispensed-extension-definitions.html", + "StructureDefinition-shr-sex-Dispensed-extension.html", + "StructureDefinition-shr-sex-Dispensed-extension.json.html", + "StructureDefinition-shr-sex-Dispensed-extension.ttl.html", + "StructureDefinition-shr-sex-Dispensed-extension.xml.html", + "StructureDefinition-shr-sex-GenderIdentity-definitions.html", + "StructureDefinition-shr-sex-GenderIdentity-extension-definitions.html", + "StructureDefinition-shr-sex-GenderIdentity-extension.html", + "StructureDefinition-shr-sex-GenderIdentity-extension.json.html", + "StructureDefinition-shr-sex-GenderIdentity-extension.ttl.html", + "StructureDefinition-shr-sex-GenderIdentity-extension.xml.html", + "StructureDefinition-shr-sex-GenderIdentity.html", + "StructureDefinition-shr-sex-GenderIdentity.json.html", + "StructureDefinition-shr-sex-GenderIdentity.ttl.html", + "StructureDefinition-shr-sex-GenderIdentity.xml.html", + "StructureDefinition-shr-sex-NumberOfLivingChildren-extension-definitions.html", + "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.html", + "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.json.html", + "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.ttl.html", + "StructureDefinition-shr-sex-NumberOfLivingChildren-extension.xml.html", + "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension-definitions.html", + "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.html", + "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.json.html", + "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.ttl.html", + "StructureDefinition-shr-sex-NumberOfPreviousPregnancies-extension.xml.html", + "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension-definitions.html", + "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.html", + "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.json.html", + "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.ttl.html", + "StructureDefinition-shr-sex-NumberOfSexualPartnersPastYear-extension.xml.html", + "StructureDefinition-shr-sex-PregnancyHistory-definitions.html", + "StructureDefinition-shr-sex-PregnancyHistory.html", + "StructureDefinition-shr-sex-PregnancyHistory.json.html", + "StructureDefinition-shr-sex-PregnancyHistory.ttl.html", + "StructureDefinition-shr-sex-PregnancyHistory.xml.html", + "StructureDefinition-shr-sex-PregnancyIntention-definitions.html", + "StructureDefinition-shr-sex-PregnancyIntention.html", + "StructureDefinition-shr-sex-PregnancyIntention.json.html", + "StructureDefinition-shr-sex-PregnancyIntention.ttl.html", + "StructureDefinition-shr-sex-PregnancyIntention.xml.html", + "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension-definitions.html", + "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.html", + "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.json.html", + "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.ttl.html", + "StructureDefinition-shr-sex-ReasonForNotRecommendingContraceptive-extension.xml.html", + "StructureDefinition-shr-sex-SexualActivity-extension-definitions.html", + "StructureDefinition-shr-sex-SexualActivity-extension.html", + "StructureDefinition-shr-sex-SexualActivity-extension.json.html", + "StructureDefinition-shr-sex-SexualActivity-extension.ttl.html", + "StructureDefinition-shr-sex-SexualActivity-extension.xml.html", + "StructureDefinition-shr-sex-SexualBehavior-definitions.html", + "StructureDefinition-shr-sex-SexualBehavior.html", + "StructureDefinition-shr-sex-SexualBehavior.json.html", + "StructureDefinition-shr-sex-SexualBehavior.ttl.html", + "StructureDefinition-shr-sex-SexualBehavior.xml.html", + "StructureDefinition-shr-sex-SexualIdentity-definitions.html", + "StructureDefinition-shr-sex-SexualIdentity.html", + "StructureDefinition-shr-sex-SexualIdentity.json.html", + "StructureDefinition-shr-sex-SexualIdentity.ttl.html", + "StructureDefinition-shr-sex-SexualIdentity.xml.html", + "StructureDefinition-shr-sex-SexualOrientation-extension-definitions.html", + "StructureDefinition-shr-sex-SexualOrientation-extension.html", + "StructureDefinition-shr-sex-SexualOrientation-extension.json.html", + "StructureDefinition-shr-sex-SexualOrientation-extension.ttl.html", + "StructureDefinition-shr-sex-SexualOrientation-extension.xml.html", + "StructureDefinition-shr-skin-CausativeFactor-extension-definitions.html", + "StructureDefinition-shr-skin-CausativeFactor-extension.html", + "StructureDefinition-shr-skin-CausativeFactor-extension.json.html", + "StructureDefinition-shr-skin-CausativeFactor-extension.ttl.html", + "StructureDefinition-shr-skin-CausativeFactor-extension.xml.html", + "StructureDefinition-shr-skin-ImmersionDepth-extension-definitions.html", + "StructureDefinition-shr-skin-ImmersionDepth-extension.html", + "StructureDefinition-shr-skin-ImmersionDepth-extension.json.html", + "StructureDefinition-shr-skin-ImmersionDepth-extension.ttl.html", + "StructureDefinition-shr-skin-ImmersionDepth-extension.xml.html", + "StructureDefinition-shr-skin-PressureUlcer-definitions.html", + "StructureDefinition-shr-skin-PressureUlcer.html", + "StructureDefinition-shr-skin-PressureUlcer.json.html", + "StructureDefinition-shr-skin-PressureUlcer.ttl.html", + "StructureDefinition-shr-skin-PressureUlcer.xml.html", + "StructureDefinition-shr-skin-PressureUlcerBodySite-definitions.html", + "StructureDefinition-shr-skin-PressureUlcerBodySite.html", + "StructureDefinition-shr-skin-PressureUlcerBodySite.json.html", + "StructureDefinition-shr-skin-PressureUlcerBodySite.ttl.html", + "StructureDefinition-shr-skin-PressureUlcerBodySite.xml.html", + "StructureDefinition-shr-skin-PressureUlcerManifestation-definitions.html", + "StructureDefinition-shr-skin-PressureUlcerManifestation.html", + "StructureDefinition-shr-skin-PressureUlcerManifestation.json.html", + "StructureDefinition-shr-skin-PressureUlcerManifestation.ttl.html", + "StructureDefinition-shr-skin-PressureUlcerManifestation.xml.html", + "StructureDefinition-shr-skin-PressureUlcerNotPresent-definitions.html", + "StructureDefinition-shr-skin-PressureUlcerNotPresent.html", + "StructureDefinition-shr-skin-PressureUlcerNotPresent.json.html", + "StructureDefinition-shr-skin-PressureUlcerNotPresent.ttl.html", + "StructureDefinition-shr-skin-PressureUlcerNotPresent.xml.html", + "StructureDefinition-shr-skin-SupportSurface-definitions.html", + "StructureDefinition-shr-skin-SupportSurface.html", + "StructureDefinition-shr-skin-SupportSurface.json.html", + "StructureDefinition-shr-skin-SupportSurface.ttl.html", + "StructureDefinition-shr-skin-SupportSurface.xml.html", + "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension-definitions.html", + "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.html", + "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.json.html", + "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.ttl.html", + "StructureDefinition-shr-skin-SupportSurfaceBodyPosition-extension.xml.html", + "StructureDefinition-shr-skin-SupportSurfaceCategory-extension-definitions.html", + "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.html", + "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.json.html", + "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.ttl.html", + "StructureDefinition-shr-skin-SupportSurfaceCategory-extension.xml.html", + "StructureDefinition-shr-skin-SupportSurfaceComponent-extension-definitions.html", + "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.html", + "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.json.html", + "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.ttl.html", + "StructureDefinition-shr-skin-SupportSurfaceComponent-extension.xml.html", + "StructureDefinition-shr-skin-SupportSurfaceEmployed-definitions.html", + "StructureDefinition-shr-skin-SupportSurfaceEmployed.html", + "StructureDefinition-shr-skin-SupportSurfaceEmployed.json.html", + "StructureDefinition-shr-skin-SupportSurfaceEmployed.ttl.html", + "StructureDefinition-shr-skin-SupportSurfaceEmployed.xml.html", + "StructureDefinition-shr-skin-VisibleInternalStructure-extension-definitions.html", + "StructureDefinition-shr-skin-VisibleInternalStructure-extension.html", + "StructureDefinition-shr-skin-VisibleInternalStructure-extension.json.html", + "StructureDefinition-shr-skin-VisibleInternalStructure-extension.ttl.html", + "StructureDefinition-shr-skin-VisibleInternalStructure-extension.xml.html", + "StructureDefinition-shr-skin-WoundBedAndEdge-extension-definitions.html", + "StructureDefinition-shr-skin-WoundBedAndEdge-extension.html", + "StructureDefinition-shr-skin-WoundBedAndEdge-extension.json.html", + "StructureDefinition-shr-skin-WoundBedAndEdge-extension.ttl.html", + "StructureDefinition-shr-skin-WoundBedAndEdge-extension.xml.html", + "StructureDefinition-shr-skin-WoundEdgeAppearance-extension-definitions.html", + "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.html", + "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.json.html", + "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.ttl.html", + "StructureDefinition-shr-skin-WoundEdgeAppearance-extension.xml.html", + "StructureDefinition-shr-skin-WoundExudate-extension-definitions.html", + "StructureDefinition-shr-skin-WoundExudate-extension.html", + "StructureDefinition-shr-skin-WoundExudate-extension.json.html", + "StructureDefinition-shr-skin-WoundExudate-extension.ttl.html", + "StructureDefinition-shr-skin-WoundExudate-extension.xml.html", + "StructureDefinition-shr-skin-WoundSize-extension-definitions.html", + "StructureDefinition-shr-skin-WoundSize-extension.html", + "StructureDefinition-shr-skin-WoundSize-extension.json.html", + "StructureDefinition-shr-skin-WoundSize-extension.ttl.html", + "StructureDefinition-shr-skin-WoundSize-extension.xml.html", + "StructureDefinition-shr-skin-WoundTunnelling-extension-definitions.html", + "StructureDefinition-shr-skin-WoundTunnelling-extension.html", + "StructureDefinition-shr-skin-WoundTunnelling-extension.json.html", + "StructureDefinition-shr-skin-WoundTunnelling-extension.ttl.html", + "StructureDefinition-shr-skin-WoundTunnelling-extension.xml.html", + "StructureDefinition-shr-skin-WoundUndermining-extension-definitions.html", + "StructureDefinition-shr-skin-WoundUndermining-extension.html", + "StructureDefinition-shr-skin-WoundUndermining-extension.json.html", + "StructureDefinition-shr-skin-WoundUndermining-extension.ttl.html", + "StructureDefinition-shr-skin-WoundUndermining-extension.xml.html", + "StructureDefinition-shr-vital-BloodPressure-definitions.html", + "StructureDefinition-shr-vital-BloodPressure.html", + "StructureDefinition-shr-vital-BloodPressure.json.html", + "StructureDefinition-shr-vital-BloodPressure.ttl.html", + "StructureDefinition-shr-vital-BloodPressure.xml.html", + "StructureDefinition-shr-vital-BodyHeight-definitions.html", + "StructureDefinition-shr-vital-BodyHeight.html", + "StructureDefinition-shr-vital-BodyHeight.json.html", + "StructureDefinition-shr-vital-BodyHeight.ttl.html", + "StructureDefinition-shr-vital-BodyHeight.xml.html", + "StructureDefinition-shr-vital-BodyLength-definitions.html", + "StructureDefinition-shr-vital-BodyLength.html", + "StructureDefinition-shr-vital-BodyLength.json.html", + "StructureDefinition-shr-vital-BodyLength.ttl.html", + "StructureDefinition-shr-vital-BodyLength.xml.html", + "StructureDefinition-shr-vital-BodyMassIndex-definitions.html", + "StructureDefinition-shr-vital-BodyMassIndex.html", + "StructureDefinition-shr-vital-BodyMassIndex.json.html", + "StructureDefinition-shr-vital-BodyMassIndex.ttl.html", + "StructureDefinition-shr-vital-BodyMassIndex.xml.html", + "StructureDefinition-shr-vital-BodyTemperature-definitions.html", + "StructureDefinition-shr-vital-BodyTemperature.html", + "StructureDefinition-shr-vital-BodyTemperature.json.html", + "StructureDefinition-shr-vital-BodyTemperature.ttl.html", + "StructureDefinition-shr-vital-BodyTemperature.xml.html", + "StructureDefinition-shr-vital-BodyWeight-definitions.html", + "StructureDefinition-shr-vital-BodyWeight.html", + "StructureDefinition-shr-vital-BodyWeight.json.html", + "StructureDefinition-shr-vital-BodyWeight.ttl.html", + "StructureDefinition-shr-vital-BodyWeight.xml.html", + "StructureDefinition-shr-vital-DiastolicPressure-definitions.html", + "StructureDefinition-shr-vital-DiastolicPressure.html", + "StructureDefinition-shr-vital-DiastolicPressure.json.html", + "StructureDefinition-shr-vital-DiastolicPressure.ttl.html", + "StructureDefinition-shr-vital-DiastolicPressure.xml.html", + "StructureDefinition-shr-vital-HeadCircumference-definitions.html", + "StructureDefinition-shr-vital-HeadCircumference.html", + "StructureDefinition-shr-vital-HeadCircumference.json.html", + "StructureDefinition-shr-vital-HeadCircumference.ttl.html", + "StructureDefinition-shr-vital-HeadCircumference.xml.html", + "StructureDefinition-shr-vital-HeadTiltAngle-extension-definitions.html", + "StructureDefinition-shr-vital-HeadTiltAngle-extension.html", + "StructureDefinition-shr-vital-HeadTiltAngle-extension.json.html", + "StructureDefinition-shr-vital-HeadTiltAngle-extension.ttl.html", + "StructureDefinition-shr-vital-HeadTiltAngle-extension.xml.html", + "StructureDefinition-shr-vital-HeartRate-definitions.html", + "StructureDefinition-shr-vital-HeartRate.html", + "StructureDefinition-shr-vital-HeartRate.json.html", + "StructureDefinition-shr-vital-HeartRate.ttl.html", + "StructureDefinition-shr-vital-HeartRate.xml.html", + "StructureDefinition-shr-vital-OxygenSaturation-definitions.html", + "StructureDefinition-shr-vital-OxygenSaturation.html", + "StructureDefinition-shr-vital-OxygenSaturation.json.html", + "StructureDefinition-shr-vital-OxygenSaturation.ttl.html", + "StructureDefinition-shr-vital-OxygenSaturation.xml.html", + "StructureDefinition-shr-vital-RespiratoryRate-definitions.html", + "StructureDefinition-shr-vital-RespiratoryRate.html", + "StructureDefinition-shr-vital-RespiratoryRate.json.html", + "StructureDefinition-shr-vital-RespiratoryRate.ttl.html", + "StructureDefinition-shr-vital-RespiratoryRate.xml.html", + "StructureDefinition-shr-vital-SystolicPressure-definitions.html", + "StructureDefinition-shr-vital-SystolicPressure.html", + "StructureDefinition-shr-vital-SystolicPressure.json.html", + "StructureDefinition-shr-vital-SystolicPressure.ttl.html", + "StructureDefinition-shr-vital-SystolicPressure.xml.html", + "StructureDefinition-shr-vital-VitalSign-definitions.html", + "StructureDefinition-shr-vital-VitalSign.html", + "StructureDefinition-shr-vital-VitalSign.json.html", + "StructureDefinition-shr-vital-VitalSign.ttl.html", + "StructureDefinition-shr-vital-VitalSign.xml.html", + "ValueSet-shr-actor-AgeGroupVS.html", + "ValueSet-shr-actor-AgeGroupVS.json.html", + "ValueSet-shr-actor-AgeGroupVS.ttl.html", + "ValueSet-shr-actor-AgeGroupVS.xml.html", + "ValueSet-shr-actor-HealthcareRoleVS.html", + "ValueSet-shr-actor-HealthcareRoleVS.json.html", + "ValueSet-shr-actor-HealthcareRoleVS.ttl.html", + "ValueSet-shr-actor-HealthcareRoleVS.xml.html", + "ValueSet-shr-actor-LanguageQualifierVS.html", + "ValueSet-shr-actor-LanguageQualifierVS.json.html", + "ValueSet-shr-actor-LanguageQualifierVS.ttl.html", + "ValueSet-shr-actor-LanguageQualifierVS.xml.html", + "ValueSet-shr-allergy-AllergenIrritantVS.html", + "ValueSet-shr-allergy-AllergenIrritantVS.json.html", + "ValueSet-shr-allergy-AllergenIrritantVS.ttl.html", + "ValueSet-shr-allergy-AllergenIrritantVS.xml.html", + "ValueSet-shr-allergy-AllergyVerificationStatusVS.html", + "ValueSet-shr-allergy-AllergyVerificationStatusVS.json.html", + "ValueSet-shr-allergy-AllergyVerificationStatusVS.ttl.html", + "ValueSet-shr-allergy-AllergyVerificationStatusVS.xml.html", + "ValueSet-shr-allergy-DrugIngredientVS.html", + "ValueSet-shr-allergy-DrugIngredientVS.json.html", + "ValueSet-shr-allergy-DrugIngredientVS.ttl.html", + "ValueSet-shr-allergy-DrugIngredientVS.xml.html", + "ValueSet-shr-allergy-FoodSubstanceVS.html", + "ValueSet-shr-allergy-FoodSubstanceVS.json.html", + "ValueSet-shr-allergy-FoodSubstanceVS.ttl.html", + "ValueSet-shr-allergy-FoodSubstanceVS.xml.html", + "ValueSet-shr-base-GenericAnswersVS.html", + "ValueSet-shr-base-GenericAnswersVS.json.html", + "ValueSet-shr-base-GenericAnswersVS.ttl.html", + "ValueSet-shr-base-GenericAnswersVS.xml.html", + "ValueSet-shr-base-MissingValueReasonVS.html", + "ValueSet-shr-base-MissingValueReasonVS.json.html", + "ValueSet-shr-base-MissingValueReasonVS.ttl.html", + "ValueSet-shr-base-MissingValueReasonVS.xml.html", + "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.html", + "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.json.html", + "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.ttl.html", + "ValueSet-shr-behavior-AlcoholUseScreeningToolVS.xml.html", + "ValueSet-shr-behavior-DietNutritionConcernVS.html", + "ValueSet-shr-behavior-DietNutritionConcernVS.json.html", + "ValueSet-shr-behavior-DietNutritionConcernVS.ttl.html", + "ValueSet-shr-behavior-DietNutritionConcernVS.xml.html", + "ValueSet-shr-behavior-PhysicalActivityLimitationVS.html", + "ValueSet-shr-behavior-PhysicalActivityLimitationVS.json.html", + "ValueSet-shr-behavior-PhysicalActivityLimitationVS.ttl.html", + "ValueSet-shr-behavior-PhysicalActivityLimitationVS.xml.html", + "ValueSet-shr-behavior-ReligiousPracticeStatusVS.html", + "ValueSet-shr-behavior-ReligiousPracticeStatusVS.json.html", + "ValueSet-shr-behavior-ReligiousPracticeStatusVS.ttl.html", + "ValueSet-shr-behavior-ReligiousPracticeStatusVS.xml.html", + "ValueSet-shr-behavior-ReligiousRestrictionVS.html", + "ValueSet-shr-behavior-ReligiousRestrictionVS.json.html", + "ValueSet-shr-behavior-ReligiousRestrictionVS.ttl.html", + "ValueSet-shr-behavior-ReligiousRestrictionVS.xml.html", + "ValueSet-shr-behavior-SleepQualityReasonVS.html", + "ValueSet-shr-behavior-SleepQualityReasonVS.json.html", + "ValueSet-shr-behavior-SleepQualityReasonVS.ttl.html", + "ValueSet-shr-behavior-SleepQualityReasonVS.xml.html", + "ValueSet-shr-behavior-SpecialDietFollowedVS.html", + "ValueSet-shr-behavior-SpecialDietFollowedVS.json.html", + "ValueSet-shr-behavior-SpecialDietFollowedVS.ttl.html", + "ValueSet-shr-behavior-SpecialDietFollowedVS.xml.html", + "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.html", + "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.json.html", + "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.ttl.html", + "ValueSet-shr-behavior-SubstanceAbuseTreatmentTypeVS.xml.html", + "ValueSet-shr-behavior-SubstanceOfAbuseVS.html", + "ValueSet-shr-behavior-SubstanceOfAbuseVS.json.html", + "ValueSet-shr-behavior-SubstanceOfAbuseVS.ttl.html", + "ValueSet-shr-behavior-SubstanceOfAbuseVS.xml.html", + "ValueSet-shr-core-BodyPositionVS.html", + "ValueSet-shr-core-BodyPositionVS.json.html", + "ValueSet-shr-core-BodyPositionVS.ttl.html", + "ValueSet-shr-core-BodyPositionVS.xml.html", + "ValueSet-shr-core-BodySiteVS.html", + "ValueSet-shr-core-BodySiteVS.json.html", + "ValueSet-shr-core-BodySiteVS.ttl.html", + "ValueSet-shr-core-BodySiteVS.xml.html", + "ValueSet-shr-core-ClinicalFindingAbsentVS.html", + "ValueSet-shr-core-ClinicalFindingAbsentVS.json.html", + "ValueSet-shr-core-ClinicalFindingAbsentVS.ttl.html", + "ValueSet-shr-core-ClinicalFindingAbsentVS.xml.html", + "ValueSet-shr-core-ClockDirectionVS.html", + "ValueSet-shr-core-ClockDirectionVS.json.html", + "ValueSet-shr-core-ClockDirectionVS.ttl.html", + "ValueSet-shr-core-ClockDirectionVS.xml.html", + "ValueSet-shr-core-CodingQualifierVS.html", + "ValueSet-shr-core-CodingQualifierVS.json.html", + "ValueSet-shr-core-CodingQualifierVS.ttl.html", + "ValueSet-shr-core-CodingQualifierVS.xml.html", + "ValueSet-shr-core-DirectionalityVS.html", + "ValueSet-shr-core-DirectionalityVS.json.html", + "ValueSet-shr-core-DirectionalityVS.ttl.html", + "ValueSet-shr-core-DirectionalityVS.xml.html", + "ValueSet-shr-core-DiseaseFindingVS.html", + "ValueSet-shr-core-DiseaseFindingVS.json.html", + "ValueSet-shr-core-DiseaseFindingVS.ttl.html", + "ValueSet-shr-core-DiseaseFindingVS.xml.html", + "ValueSet-shr-core-LateralityVS.html", + "ValueSet-shr-core-LateralityVS.json.html", + "ValueSet-shr-core-LateralityVS.ttl.html", + "ValueSet-shr-core-LateralityVS.xml.html", + "ValueSet-shr-core-LowerBoundTypeVS.html", + "ValueSet-shr-core-LowerBoundTypeVS.json.html", + "ValueSet-shr-core-LowerBoundTypeVS.ttl.html", + "ValueSet-shr-core-LowerBoundTypeVS.xml.html", + "ValueSet-shr-core-ManifestationVS.html", + "ValueSet-shr-core-ManifestationVS.json.html", + "ValueSet-shr-core-ManifestationVS.ttl.html", + "ValueSet-shr-core-ManifestationVS.xml.html", + "ValueSet-shr-core-PerformanceGradingScaleVS.html", + "ValueSet-shr-core-PerformanceGradingScaleVS.json.html", + "ValueSet-shr-core-PerformanceGradingScaleVS.ttl.html", + "ValueSet-shr-core-PerformanceGradingScaleVS.xml.html", + "ValueSet-shr-core-PortionTotalityVS.html", + "ValueSet-shr-core-PortionTotalityVS.json.html", + "ValueSet-shr-core-PortionTotalityVS.ttl.html", + "ValueSet-shr-core-PortionTotalityVS.xml.html", + "ValueSet-shr-core-QualitativeDateTimeVS.html", + "ValueSet-shr-core-QualitativeDateTimeVS.json.html", + "ValueSet-shr-core-QualitativeDateTimeVS.ttl.html", + "ValueSet-shr-core-QualitativeDateTimeVS.xml.html", + "ValueSet-shr-core-QualitativeFrequencyVS.html", + "ValueSet-shr-core-QualitativeFrequencyVS.json.html", + "ValueSet-shr-core-QualitativeFrequencyVS.ttl.html", + "ValueSet-shr-core-QualitativeFrequencyVS.xml.html", + "ValueSet-shr-core-QualitativeLikelihoodVS.html", + "ValueSet-shr-core-QualitativeLikelihoodVS.json.html", + "ValueSet-shr-core-QualitativeLikelihoodVS.ttl.html", + "ValueSet-shr-core-QualitativeLikelihoodVS.xml.html", + "ValueSet-shr-core-QualitativeValueScaleVS.html", + "ValueSet-shr-core-QualitativeValueScaleVS.json.html", + "ValueSet-shr-core-QualitativeValueScaleVS.ttl.html", + "ValueSet-shr-core-QualitativeValueScaleVS.xml.html", + "ValueSet-shr-core-SemiquantitativeDurationVS.html", + "ValueSet-shr-core-SemiquantitativeDurationVS.json.html", + "ValueSet-shr-core-SemiquantitativeDurationVS.ttl.html", + "ValueSet-shr-core-SemiquantitativeDurationVS.xml.html", + "ValueSet-shr-core-SemiquantitativeFrequencyVS.html", + "ValueSet-shr-core-SemiquantitativeFrequencyVS.json.html", + "ValueSet-shr-core-SemiquantitativeFrequencyVS.ttl.html", + "ValueSet-shr-core-SemiquantitativeFrequencyVS.xml.html", + "ValueSet-shr-core-SettingVS.html", + "ValueSet-shr-core-SettingVS.json.html", + "ValueSet-shr-core-SettingVS.ttl.html", + "ValueSet-shr-core-SettingVS.xml.html", + "ValueSet-shr-core-StatisticTypeVS.html", + "ValueSet-shr-core-StatisticTypeVS.json.html", + "ValueSet-shr-core-StatisticTypeVS.ttl.html", + "ValueSet-shr-core-StatisticTypeVS.xml.html", + "ValueSet-shr-core-ThreePriorityVS.html", + "ValueSet-shr-core-ThreePriorityVS.json.html", + "ValueSet-shr-core-ThreePriorityVS.ttl.html", + "ValueSet-shr-core-ThreePriorityVS.xml.html", + "ValueSet-shr-core-ThreeValueLogicVS.html", + "ValueSet-shr-core-ThreeValueLogicVS.json.html", + "ValueSet-shr-core-ThreeValueLogicVS.ttl.html", + "ValueSet-shr-core-ThreeValueLogicVS.xml.html", + "ValueSet-shr-core-TimeUnitOfMeasureVS.html", + "ValueSet-shr-core-TimeUnitOfMeasureVS.json.html", + "ValueSet-shr-core-TimeUnitOfMeasureVS.ttl.html", + "ValueSet-shr-core-TimeUnitOfMeasureVS.xml.html", + "ValueSet-shr-core-UpperBoundTypeVS.html", + "ValueSet-shr-core-UpperBoundTypeVS.json.html", + "ValueSet-shr-core-UpperBoundTypeVS.ttl.html", + "ValueSet-shr-core-UpperBoundTypeVS.xml.html", + "ValueSet-shr-demographics-AddressUseVS.html", + "ValueSet-shr-demographics-AddressUseVS.json.html", + "ValueSet-shr-demographics-AddressUseVS.ttl.html", + "ValueSet-shr-demographics-AddressUseVS.xml.html", + "ValueSet-shr-demographics-InsuranceProviderTypeVS.html", + "ValueSet-shr-demographics-InsuranceProviderTypeVS.json.html", + "ValueSet-shr-demographics-InsuranceProviderTypeVS.ttl.html", + "ValueSet-shr-demographics-InsuranceProviderTypeVS.xml.html", + "ValueSet-shr-demographics-TelecomQualifierVS.html", + "ValueSet-shr-demographics-TelecomQualifierVS.json.html", + "ValueSet-shr-demographics-TelecomQualifierVS.ttl.html", + "ValueSet-shr-demographics-TelecomQualifierVS.xml.html", + "ValueSet-shr-demographics-TelephoneTypeVS.html", + "ValueSet-shr-demographics-TelephoneTypeVS.json.html", + "ValueSet-shr-demographics-TelephoneTypeVS.ttl.html", + "ValueSet-shr-demographics-TelephoneTypeVS.xml.html", + "ValueSet-shr-device-RespiratoryAssistDeviceVS.html", + "ValueSet-shr-device-RespiratoryAssistDeviceVS.json.html", + "ValueSet-shr-device-RespiratoryAssistDeviceVS.ttl.html", + "ValueSet-shr-device-RespiratoryAssistDeviceVS.xml.html", + "ValueSet-shr-device-RespiratoryRateSettingVS.html", + "ValueSet-shr-device-RespiratoryRateSettingVS.json.html", + "ValueSet-shr-device-RespiratoryRateSettingVS.ttl.html", + "ValueSet-shr-device-RespiratoryRateSettingVS.xml.html", + "ValueSet-shr-encounter-EncounterTypeVS.html", + "ValueSet-shr-encounter-EncounterTypeVS.json.html", + "ValueSet-shr-encounter-EncounterTypeVS.ttl.html", + "ValueSet-shr-encounter-EncounterTypeVS.xml.html", + "ValueSet-shr-encounter-EncounterUrgencyVS.html", + "ValueSet-shr-encounter-EncounterUrgencyVS.json.html", + "ValueSet-shr-encounter-EncounterUrgencyVS.ttl.html", + "ValueSet-shr-encounter-EncounterUrgencyVS.xml.html", + "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.html", + "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.json.html", + "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.ttl.html", + "ValueSet-shr-encounter-EpisodeOfCareCompletionVS.xml.html", + "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.html", + "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.json.html", + "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.ttl.html", + "ValueSet-shr-encounter-ReasonEncounterDidNotHappenVS.xml.html", + "ValueSet-shr-encounter-ReferralSourceTypeVS.html", + "ValueSet-shr-encounter-ReferralSourceTypeVS.json.html", + "ValueSet-shr-encounter-ReferralSourceTypeVS.ttl.html", + "ValueSet-shr-encounter-ReferralSourceTypeVS.xml.html", + "ValueSet-shr-encounter-TreatmentCooperationVS.html", + "ValueSet-shr-encounter-TreatmentCooperationVS.json.html", + "ValueSet-shr-encounter-TreatmentCooperationVS.ttl.html", + "ValueSet-shr-encounter-TreatmentCooperationVS.xml.html", + "ValueSet-shr-environment-AnimalExposureVS.html", + "ValueSet-shr-environment-AnimalExposureVS.json.html", + "ValueSet-shr-environment-AnimalExposureVS.ttl.html", + "ValueSet-shr-environment-AnimalExposureVS.xml.html", + "ValueSet-shr-environment-CoinhabitantVS.html", + "ValueSet-shr-environment-CoinhabitantVS.json.html", + "ValueSet-shr-environment-CoinhabitantVS.ttl.html", + "ValueSet-shr-environment-CoinhabitantVS.xml.html", + "ValueSet-shr-environment-HomeEnvironmentRiskVS.html", + "ValueSet-shr-environment-HomeEnvironmentRiskVS.json.html", + "ValueSet-shr-environment-HomeEnvironmentRiskVS.ttl.html", + "ValueSet-shr-environment-HomeEnvironmentRiskVS.xml.html", + "ValueSet-shr-environment-IncomeSourceVS.html", + "ValueSet-shr-environment-IncomeSourceVS.json.html", + "ValueSet-shr-environment-IncomeSourceVS.ttl.html", + "ValueSet-shr-environment-IncomeSourceVS.xml.html", + "ValueSet-shr-environment-NonCashBenefitVS.html", + "ValueSet-shr-environment-NonCashBenefitVS.json.html", + "ValueSet-shr-environment-NonCashBenefitVS.ttl.html", + "ValueSet-shr-environment-NonCashBenefitVS.xml.html", + "ValueSet-shr-environment-ResourceStabilityVS.html", + "ValueSet-shr-environment-ResourceStabilityVS.json.html", + "ValueSet-shr-environment-ResourceStabilityVS.ttl.html", + "ValueSet-shr-environment-ResourceStabilityVS.xml.html", + "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.html", + "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.json.html", + "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.ttl.html", + "ValueSet-shr-immunization-ImmunizationNotGivenReasonVS.xml.html", + "ValueSet-shr-lab-ChangeFlagVS.html", + "ValueSet-shr-lab-ChangeFlagVS.json.html", + "ValueSet-shr-lab-ChangeFlagVS.ttl.html", + "ValueSet-shr-lab-ChangeFlagVS.xml.html", + "ValueSet-shr-lab-HIVScreeningTestCodeVS.html", + "ValueSet-shr-lab-HIVScreeningTestCodeVS.json.html", + "ValueSet-shr-lab-HIVScreeningTestCodeVS.ttl.html", + "ValueSet-shr-lab-HIVScreeningTestCodeVS.xml.html", + "ValueSet-shr-lab-HIVScreeningTestResultVS.html", + "ValueSet-shr-lab-HIVScreeningTestResultVS.json.html", + "ValueSet-shr-lab-HIVScreeningTestResultVS.ttl.html", + "ValueSet-shr-lab-HIVScreeningTestResultVS.xml.html", + "ValueSet-shr-lab-HIVSupplementalTestCodeVS.html", + "ValueSet-shr-lab-HIVSupplementalTestCodeVS.json.html", + "ValueSet-shr-lab-HIVSupplementalTestCodeVS.ttl.html", + "ValueSet-shr-lab-HIVSupplementalTestCodeVS.xml.html", + "ValueSet-shr-lab-HIVSupplementalTestResultVS.html", + "ValueSet-shr-lab-HIVSupplementalTestResultVS.json.html", + "ValueSet-shr-lab-HIVSupplementalTestResultVS.ttl.html", + "ValueSet-shr-lab-HIVSupplementalTestResultVS.xml.html", + "ValueSet-shr-lab-RequestStatusVS.html", + "ValueSet-shr-lab-RequestStatusVS.json.html", + "ValueSet-shr-lab-RequestStatusVS.ttl.html", + "ValueSet-shr-lab-RequestStatusVS.xml.html", + "ValueSet-shr-lab-TestInterpretationVS.html", + "ValueSet-shr-lab-TestInterpretationVS.json.html", + "ValueSet-shr-lab-TestInterpretationVS.ttl.html", + "ValueSet-shr-lab-TestInterpretationVS.xml.html", + "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.html", + "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.json.html", + "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.ttl.html", + "ValueSet-shr-lifehistory-CongenitalAbnormalitiesVS.xml.html", + "ValueSet-shr-lifehistory-EducationalAttainmentVS.html", + "ValueSet-shr-lifehistory-EducationalAttainmentVS.json.html", + "ValueSet-shr-lifehistory-EducationalAttainmentVS.ttl.html", + "ValueSet-shr-lifehistory-EducationalAttainmentVS.xml.html", + "ValueSet-shr-lifehistory-EmploymentStatusVS.html", + "ValueSet-shr-lifehistory-EmploymentStatusVS.json.html", + "ValueSet-shr-lifehistory-EmploymentStatusVS.ttl.html", + "ValueSet-shr-lifehistory-EmploymentStatusVS.xml.html", + "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.html", + "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.json.html", + "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.ttl.html", + "ValueSet-shr-lifehistory-MilitaryServiceDischargeStatusVS.xml.html", + "ValueSet-shr-lifehistory-MilitaryServiceEraVS.html", + "ValueSet-shr-lifehistory-MilitaryServiceEraVS.json.html", + "ValueSet-shr-lifehistory-MilitaryServiceEraVS.ttl.html", + "ValueSet-shr-lifehistory-MilitaryServiceEraVS.xml.html", + "ValueSet-shr-lifehistory-MilitaryStatusVS.html", + "ValueSet-shr-lifehistory-MilitaryStatusVS.json.html", + "ValueSet-shr-lifehistory-MilitaryStatusVS.ttl.html", + "ValueSet-shr-lifehistory-MilitaryStatusVS.xml.html", + "ValueSet-shr-lifehistory-TeratogenVS.html", + "ValueSet-shr-lifehistory-TeratogenVS.json.html", + "ValueSet-shr-lifehistory-TeratogenVS.ttl.html", + "ValueSet-shr-lifehistory-TeratogenVS.xml.html", + "ValueSet-shr-lifehistory-USMilitaryBranchVS.html", + "ValueSet-shr-lifehistory-USMilitaryBranchVS.json.html", + "ValueSet-shr-lifehistory-USMilitaryBranchVS.ttl.html", + "ValueSet-shr-lifehistory-USMilitaryBranchVS.xml.html", + "ValueSet-shr-medication-MedicationChangeReasonVS.html", + "ValueSet-shr-medication-MedicationChangeReasonVS.json.html", + "ValueSet-shr-medication-MedicationChangeReasonVS.ttl.html", + "ValueSet-shr-medication-MedicationChangeReasonVS.xml.html", + "ValueSet-shr-medication-MedicationChangeTypeVS.html", + "ValueSet-shr-medication-MedicationChangeTypeVS.json.html", + "ValueSet-shr-medication-MedicationChangeTypeVS.ttl.html", + "ValueSet-shr-medication-MedicationChangeTypeVS.xml.html", + "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.html", + "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.json.html", + "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.ttl.html", + "ValueSet-shr-medication-MedicationNonAdherenceReasonVS.xml.html", + "ValueSet-shr-medication-ReasonMedicationNotUsedVS.html", + "ValueSet-shr-medication-ReasonMedicationNotUsedVS.json.html", + "ValueSet-shr-medication-ReasonMedicationNotUsedVS.ttl.html", + "ValueSet-shr-medication-ReasonMedicationNotUsedVS.xml.html", + "ValueSet-shr-observation-ExposureReasonVS.html", + "ValueSet-shr-observation-ExposureReasonVS.json.html", + "ValueSet-shr-observation-ExposureReasonVS.ttl.html", + "ValueSet-shr-observation-ExposureReasonVS.xml.html", + "ValueSet-shr-observation-NonLabObservationStatusVS.html", + "ValueSet-shr-observation-NonLabObservationStatusVS.json.html", + "ValueSet-shr-observation-NonLabObservationStatusVS.ttl.html", + "ValueSet-shr-observation-NonLabObservationStatusVS.xml.html", + "ValueSet-shr-observation-ObservationNotMadeReasonVS.html", + "ValueSet-shr-observation-ObservationNotMadeReasonVS.json.html", + "ValueSet-shr-observation-ObservationNotMadeReasonVS.ttl.html", + "ValueSet-shr-observation-ObservationNotMadeReasonVS.xml.html", + "ValueSet-shr-problem-EvidenceQualityVS.html", + "ValueSet-shr-problem-EvidenceQualityVS.json.html", + "ValueSet-shr-problem-EvidenceQualityVS.ttl.html", + "ValueSet-shr-problem-EvidenceQualityVS.xml.html", + "ValueSet-shr-problem-GradeOrStageVS.html", + "ValueSet-shr-problem-GradeOrStageVS.json.html", + "ValueSet-shr-problem-GradeOrStageVS.ttl.html", + "ValueSet-shr-problem-GradeOrStageVS.xml.html", + "ValueSet-shr-problem-ProblemCategoryVS.html", + "ValueSet-shr-problem-ProblemCategoryVS.json.html", + "ValueSet-shr-problem-ProblemCategoryVS.ttl.html", + "ValueSet-shr-problem-ProblemCategoryVS.xml.html", + "ValueSet-shr-sex-CommonPregnancyComplicationVS.html", + "ValueSet-shr-sex-CommonPregnancyComplicationVS.json.html", + "ValueSet-shr-sex-CommonPregnancyComplicationVS.ttl.html", + "ValueSet-shr-sex-CommonPregnancyComplicationVS.xml.html", + "ValueSet-shr-sex-ContraceptiveMethodReasonVS.html", + "ValueSet-shr-sex-ContraceptiveMethodReasonVS.json.html", + "ValueSet-shr-sex-ContraceptiveMethodReasonVS.ttl.html", + "ValueSet-shr-sex-ContraceptiveMethodReasonVS.xml.html", + "ValueSet-shr-sex-ContraceptiveMethodVS.html", + "ValueSet-shr-sex-ContraceptiveMethodVS.json.html", + "ValueSet-shr-sex-ContraceptiveMethodVS.ttl.html", + "ValueSet-shr-sex-ContraceptiveMethodVS.xml.html", + "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.html", + "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.json.html", + "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.ttl.html", + "ValueSet-shr-sex-ContraceptiveNotUsedReasonVS.xml.html", + "ValueSet-shr-sex-DifficultyWithIntercourseVS.html", + "ValueSet-shr-sex-DifficultyWithIntercourseVS.json.html", + "ValueSet-shr-sex-DifficultyWithIntercourseVS.ttl.html", + "ValueSet-shr-sex-DifficultyWithIntercourseVS.xml.html", + "ValueSet-shr-sex-GenderIdentityVS.html", + "ValueSet-shr-sex-GenderIdentityVS.json.html", + "ValueSet-shr-sex-GenderIdentityVS.ttl.html", + "ValueSet-shr-sex-GenderIdentityVS.xml.html", + "ValueSet-shr-sex-SexualActivityVS.html", + "ValueSet-shr-sex-SexualActivityVS.json.html", + "ValueSet-shr-sex-SexualActivityVS.ttl.html", + "ValueSet-shr-sex-SexualActivityVS.xml.html", + "ValueSet-shr-sex-SexualOrientationVS.html", + "ValueSet-shr-sex-SexualOrientationVS.json.html", + "ValueSet-shr-sex-SexualOrientationVS.ttl.html", + "ValueSet-shr-sex-SexualOrientationVS.xml.html", + "ValueSet-shr-skin-PressureUlcerAssociationVS.html", + "ValueSet-shr-skin-PressureUlcerAssociationVS.json.html", + "ValueSet-shr-skin-PressureUlcerAssociationVS.ttl.html", + "ValueSet-shr-skin-PressureUlcerAssociationVS.xml.html", + "ValueSet-shr-skin-PressureUlcerBodySiteVS.html", + "ValueSet-shr-skin-PressureUlcerBodySiteVS.json.html", + "ValueSet-shr-skin-PressureUlcerBodySiteVS.ttl.html", + "ValueSet-shr-skin-PressureUlcerBodySiteVS.xml.html", + "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.html", + "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.json.html", + "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.ttl.html", + "ValueSet-shr-skin-SupportSurfaceBodyPositionVS.xml.html", + "ValueSet-shr-skin-SupportSurfaceCategoryVS.html", + "ValueSet-shr-skin-SupportSurfaceCategoryVS.json.html", + "ValueSet-shr-skin-SupportSurfaceCategoryVS.ttl.html", + "ValueSet-shr-skin-SupportSurfaceCategoryVS.xml.html", + "ValueSet-shr-skin-SupportSurfaceComponentVS.html", + "ValueSet-shr-skin-SupportSurfaceComponentVS.json.html", + "ValueSet-shr-skin-SupportSurfaceComponentVS.ttl.html", + "ValueSet-shr-skin-SupportSurfaceComponentVS.xml.html", + "ValueSet-shr-skin-SupportSurfaceFeatureVS.html", + "ValueSet-shr-skin-SupportSurfaceFeatureVS.json.html", + "ValueSet-shr-skin-SupportSurfaceFeatureVS.ttl.html", + "ValueSet-shr-skin-SupportSurfaceFeatureVS.xml.html", + "ValueSet-shr-skin-SupportSurfaceVS.html", + "ValueSet-shr-skin-SupportSurfaceVS.json.html", + "ValueSet-shr-skin-SupportSurfaceVS.ttl.html", + "ValueSet-shr-skin-SupportSurfaceVS.xml.html", + "ValueSet-shr-skin-VisibleInternalStructureVS.html", + "ValueSet-shr-skin-VisibleInternalStructureVS.json.html", + "ValueSet-shr-skin-VisibleInternalStructureVS.ttl.html", + "ValueSet-shr-skin-VisibleInternalStructureVS.xml.html", + "ValueSet-shr-skin-WoundEdgeAppearanceVS.html", + "ValueSet-shr-skin-WoundEdgeAppearanceVS.json.html", + "ValueSet-shr-skin-WoundEdgeAppearanceVS.ttl.html", + "ValueSet-shr-skin-WoundEdgeAppearanceVS.xml.html", + "ValueSet-shr-vital-BloodPressureBodySiteVS.html", + "ValueSet-shr-vital-BloodPressureBodySiteVS.json.html", + "ValueSet-shr-vital-BloodPressureBodySiteVS.ttl.html", + "ValueSet-shr-vital-BloodPressureBodySiteVS.xml.html", + "ValueSet-shr-vital-BloodPressureMethodVS.html", + "ValueSet-shr-vital-BloodPressureMethodVS.json.html", + "ValueSet-shr-vital-BloodPressureMethodVS.ttl.html", + "ValueSet-shr-vital-BloodPressureMethodVS.xml.html", + "ValueSet-shr-vital-BloodPressureQualifierVS.html", + "ValueSet-shr-vital-BloodPressureQualifierVS.json.html", + "ValueSet-shr-vital-BloodPressureQualifierVS.ttl.html", + "ValueSet-shr-vital-BloodPressureQualifierVS.xml.html", + "ValueSet-shr-vital-BodyHeightQualifierVS.html", + "ValueSet-shr-vital-BodyHeightQualifierVS.json.html", + "ValueSet-shr-vital-BodyHeightQualifierVS.ttl.html", + "ValueSet-shr-vital-BodyHeightQualifierVS.xml.html", + "ValueSet-shr-vital-BodyTemperatureBodySiteVS.html", + "ValueSet-shr-vital-BodyTemperatureBodySiteVS.json.html", + "ValueSet-shr-vital-BodyTemperatureBodySiteVS.ttl.html", + "ValueSet-shr-vital-BodyTemperatureBodySiteVS.xml.html", + "ValueSet-shr-vital-BodyTemperatureQualifierVS.html", + "ValueSet-shr-vital-BodyTemperatureQualifierVS.json.html", + "ValueSet-shr-vital-BodyTemperatureQualifierVS.ttl.html", + "ValueSet-shr-vital-BodyTemperatureQualifierVS.xml.html", + "ValueSet-shr-vital-BodyWeightQualifierVS.html", + "ValueSet-shr-vital-BodyWeightQualifierVS.json.html", + "ValueSet-shr-vital-BodyWeightQualifierVS.ttl.html", + "ValueSet-shr-vital-BodyWeightQualifierVS.xml.html", + "ValueSet-shr-vital-HeartRateMethodVS.html", + "ValueSet-shr-vital-HeartRateMethodVS.json.html", + "ValueSet-shr-vital-HeartRateMethodVS.ttl.html", + "ValueSet-shr-vital-HeartRateMethodVS.xml.html", + "ValueSet-shr-vital-HeartRateQualifierVS.html", + "ValueSet-shr-vital-HeartRateQualifierVS.json.html", + "ValueSet-shr-vital-HeartRateQualifierVS.ttl.html", + "ValueSet-shr-vital-HeartRateQualifierVS.xml.html", + "ValueSet-shr-vital-OxygenSaturationBodySiteVS.html", + "ValueSet-shr-vital-OxygenSaturationBodySiteVS.json.html", + "ValueSet-shr-vital-OxygenSaturationBodySiteVS.ttl.html", + "ValueSet-shr-vital-OxygenSaturationBodySiteVS.xml.html", + "ValueSet-shr-vital-RespiratoryRateMethodVS.html", + "ValueSet-shr-vital-RespiratoryRateMethodVS.json.html", + "ValueSet-shr-vital-RespiratoryRateMethodVS.ttl.html", + "ValueSet-shr-vital-RespiratoryRateMethodVS.xml.html", + "ValueSet-shr-vital-RespiratoryRateQualifierVS.html", + "ValueSet-shr-vital-RespiratoryRateQualifierVS.json.html", + "ValueSet-shr-vital-RespiratoryRateQualifierVS.ttl.html", + "ValueSet-shr-vital-RespiratoryRateQualifierVS.xml.html", + "valuesets.html" + ], + "images": [] +} \ No newline at end of file diff --git a/lib/resources/us_core/CapabilityStatement-client.json b/lib/resources/us_core/CapabilityStatement-client.json new file mode 100755 index 0000000..7b9d06d --- /dev/null +++ b/lib/resources/us_core/CapabilityStatement-client.json @@ -0,0 +1,826 @@ +{ + "resourceType": "CapabilityStatement", + "id": "client", + "text": { + "status": "generated", + "div": "
\n\t\t\t

US Core Requestor

\n\t\t\t

(Requirements Definition)

\n\t\t\t

Published: 2015-04-02 (draft)

\n\t\t\t

Published by: U.S. Office of the National Coordinator (ONC)

\n\t\t\t

This profile defines the expected capabilities of the US Core Requestor actor when conforming to the US Core IG.

\n\t\t\t

General

\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\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\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
FHIR Version:1.8.0
Accepts elements from future versions:extensions
Supported formats:xml, json
\n\t\t\t

REST behavior

\n\t\t\t

The US Core Requestor SHOULD support querying of one or more FHIR resources using appropriate US Core profile(s), RESTful operations defined for the profile and Search parameters identified for the profile.

\n\t\t\t

\n\t\t\t\tSecurity:\n\t\t\t

\n\t\t\t

US Core Requestors SHALL implement applicable security requirements documented in the US Core IG.

\n\t\t\t

Profile summary

\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\t\n\t\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\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Profile (Resource)SearchReadRead VersionInstance HistoryResource HistoryCreateUpdateDelete
\n\t\t\t\t\t\t\t (Patient)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (AllergyIntolerance)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (CarePlan)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (CarePlan)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Condition)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Device)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Goal)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Immunization)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (DiagnosticReport)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Observation)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Medication)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (MedicationStatement)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (MedicationRequest)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Observation)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Observation)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\t (Procedure)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t

\n\t\t\t\tOperations:\n\t\t\t\tpatient-everything SHOULD

\n\t\t\t
\n\t\t\t
\n\t\t\t

Patient

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core patient resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core patients by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core patient instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core patient instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

AllergyIntolerance

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core AllergyIntolerance resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core AllergyIntolerance by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core AllergyIntolerance instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core AllergyIntolerance instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

CarePlan

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core careplan resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core careplan by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core careplan instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core careplan instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

CarePlan

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core careteam resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core careteam by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core careteam instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core careteam instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Condition

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core condition resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core condition by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core condition instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core condition instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Device

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core device resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core device by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core device instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core device instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Goal

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core goal resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core goal by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core goal instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core goal instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Immunization

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core immunization resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core immunization by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core immunization instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core immunization instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

DiagnosticReport

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core diagnosticreport resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core diagnosticreport by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core diagnosticreport instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core diagnosticreport instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core resultobs resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core resultobs by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core resultobs instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core resultobs instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Medication

\n\t\t\t

Profile:

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. If the Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria **SHALL** be supported.

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria.

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core Medication instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core Medication instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

MedicationStatement

\n\t\t\t

Profile:

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. * When referencing a Medication resource, the resource may be contained or an external resource. * The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. * The client application must support both methods. include: http://hl7.org/fhir/2017Jan/search.html#include contained: http://hl7.org/fhir/2017Jan/references.html#contained Medication:http://hl7.org/fhir/2017Jan/medication.html

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core medicationstatement resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core medicationstatement by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core medicationstatement instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core medicationstatement instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

MedicationRequest

\n\t\t\t

Profile:

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. * When referencing a Medication resource, the resource may be contained or an external resource. * The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. * The client application must support both methods. include: http://hl7.org/fhir/2017Jan/search.html#include contained: http://hl7.org/fhir/2017Jan/references.html#contained Medication:http://hl7.org/fhir/2017Jan/medication.html

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core medicationorder resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core medicationorder by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core medicationorder instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core medicationorder instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core smokingstatus resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core smokingstatus by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core smokingstatus instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core smokingstatus instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core vitalsigns resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core vitalsigns by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core vitalsigns instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core vitalsigns instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Procedure

\n\t\t\t

Profile:

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows discovery of existing US Core procedure resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core procedure by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core procedure instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core procedure instance

\n\t\t\t\t\t\t
\n\t\t
" + }, + "name": "US Core Requestor", + "status": "draft", + "date": "2015-04-02", + "publisher": "U.S. Office of the National Coordinator (ONC)", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://www.healthit.gov/" + } + ] + } + ], + "description": "This profile defines the expected capabilities of the US Core Requestor actor when conforming to the US Core IG.", + "kind": "requirements", + "fhirVersion": "1.8.0", + "acceptUnknown": "extensions", + "format": [ + "xml", + "json" + ], + "rest": [ + { + "mode": "client", + "documentation": "The US Core Requestor SHOULD support querying of one or more FHIR resources using appropriate US Core profile(s), RESTful operations defined for the profile and Search parameters identified for the profile.", + "security": { + "description": "US Core Requestors SHALL implement applicable security requirements documented in the US Core IG." + }, + "resource": [ + { + "type": "Patient", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-patient.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core patient resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core patients by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core patient instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core patient instance" + } + ] + }, + { + "type": "AllergyIntolerance", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-allergyintolerance.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core AllergyIntolerance resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core AllergyIntolerance by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core AllergyIntolerance instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core AllergyIntolerance instance" + } + ] + }, + { + "type": "CarePlan", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-careplan.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core careplan resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core careplan by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core careplan instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core careplan instance" + } + ] + }, + { + "type": "CarePlan", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-careteam.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core careteam resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core careteam by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core careteam instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core careteam instance" + } + ] + }, + { + "type": "Condition", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-condition.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core condition resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core condition by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core condition instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core condition instance" + } + ] + }, + { + "type": "Device", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-device.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core device resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core device by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core device instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core device instance" + } + ] + }, + { + "type": "Goal", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-goal.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core goal resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core goal by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core goal instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core goal instance" + } + ] + }, + { + "type": "Immunization", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-immunization.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core immunization resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core immunization by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core immunization instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core immunization instance" + } + ] + }, + { + "type": "DiagnosticReport", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-diagnosticreport.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core diagnosticreport resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core diagnosticreport by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core diagnosticreport instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core diagnosticreport instance" + } + ] + }, + { + "type": "Observation", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-resultobs.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core resultobs resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core resultobs by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core resultobs instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core resultobs instance" + } + ] + }, + { + "type": "Medication", + "profile": { + "reference": "http://hl7.org/fhir/us/core/us-core-medication.html" + }, + "documentation": "The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a [Medication] resource. If the Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria **SHALL** be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core Medication instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core Medication instance" + } + ] + }, + { + "type": "MedicationStatement", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-medicationstatement.html" + }, + "documentation": "The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a [Medication] resource. * When referencing a Medication resource, the resource may be [contained] or an external resource. * The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the [include] parameter for searching this element. * The client application must support both methods. [include]: http://hl7.org/fhir/2017Jan/search.html#include [contained]: http://hl7.org/fhir/2017Jan/references.html#contained [Medication]:http://hl7.org/fhir/2017Jan/medication.html ", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core medicationstatement resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core medicationstatement by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core medicationstatement instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core medicationstatement instance" + } + ] + }, + { + "type": "MedicationRequest", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-medicationorder.html" + }, + "documentation": "The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a [Medication] resource. * When referencing a Medication resource, the resource may be [contained] or an external resource. * The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the [include] parameter for searching this element. * The client application must support both methods. [include]: http://hl7.org/fhir/2017Jan/search.html#include [contained]: http://hl7.org/fhir/2017Jan/references.html#contained [Medication]:http://hl7.org/fhir/2017Jan/medication.html ", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core medicationorder resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core medicationorder by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core medicationorder instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core medicationorder instance" + } + ] + }, + { + "type": "Observation", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-smokingstatus.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core smokingstatus resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core smokingstatus by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core smokingstatus instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core smokingstatus instance" + } + ] + }, + { + "type": "Observation", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-vitalsigns.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core vitalsigns resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core vitalsigns by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core vitalsigns instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core vitalsigns instance" + } + ] + }, + { + "type": "Procedure", + "profile": { + "reference": "http://hl7.org/fhir/current/daf/daf-core-procedure.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core procedure resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core procedure by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core procedure instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core procedure instance" + } + ] + } + ], + "operation": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "name": "patient-everything", + "definition": { + "reference": "http://hl7.org/fhir/OperationDefinition/patient-everything" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/lib/resources/us_core/CapabilityStatement-server.json b/lib/resources/us_core/CapabilityStatement-server.json new file mode 100755 index 0000000..8c2f781 --- /dev/null +++ b/lib/resources/us_core/CapabilityStatement-server.json @@ -0,0 +1,1263 @@ +{ + "resourceType": "CapabilityStatement", + "id": "server", + "text": { + "status": "generated", + "div": "
\n\t\t\t

US Core Server

\n\t\t\t

(Requirements Definition)

\n\t\t\t

Published: 2016-08-10 (draft)

\n\t\t\t

Published by: U.S. Office of the National Coordinator (ONC)\n\t\t\t

\n\t\t\t

This profile defines the expected capabilities of the US Core Server actor when conforming to the US-Core IG The statement includes the complete list of actual profiles, RESTful operations, search parameters supported by US Core Servers. US Core Requesters have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.

\n\t\t\t

General

\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\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\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\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
FHIR Version:1.8.0
Accepts elements from future versions:extensions
Supported formats:xml, json
Supported profiles:\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE ALLERGYINTOLERANCE\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE CAREPLAN\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE CARETEAM\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE CONDITION\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE DEVICE\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE GOAL\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE IMMUNIZATION\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE DIAGNOSTICREPORT\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE OBSERVATIONRESULTS\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE LOCATION\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE MEDICATION\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE MEDICATIONREQUEST\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE VITALSIGNS\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE PATIENT\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE PRACT\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t\t\tUS CORE PROCEDURE\n\t\t\t\t\t\t\t

\n\t\t\t\t\t\t
\n\t\t\t

REST behavior

\n\t\t\t

\n\t\t\t\t

The US Core Server SHALL:

1.Support the US Core Patient resource profile. 2.Support at least one additional resource profile from the list of US Core Profiles 2. Implement REST behavior according to the FHIR specification 3. Support json resource formats for all US Core interactions. 4. Identify the US Core profile(s) supported as part of the FHIR
Meta profile attribute for each instance. 5. Declare a CapabilityStatement identifying the list of profiles, operations, search parameter supported.

The US Core Server SHOULD:

1. Support xml resource formats for all US Core interactions.

\n\t\t\t

\n\t\t\t\tSecurity:\n\t\t\t

\n\t\t\t

US Core Servers SHALL implement the security requirements documented in the US-Core IG.

\n\t\t\t

Profile summary

\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\t\n\t\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\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\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\t\n\t\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\t\t\n\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
Profile (Resource)SearchReadRead VersionInstance HistoryResource HistoryCreateUpdateDelete
\n\t\t\t\t\t\t\tUS CORE PATIENT (Patient)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE ALLERGYINTOLERANCE (AllergyIntolerance)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE CAREPLAN (CarePlan)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE CARETEAM (CareTeam)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE CONDITION (Condition)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE DEVICE (Device)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE GOAL (Goal)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE IMMUNIZATION (Immunization)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE DIAGNOSTICREPORT (DiagnosticReport)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE OBSERVATIONRESULTS (Observation)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE MEDICATION (Medication)\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE MEDICATIONSTATEMENT (MedicationStatement)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE MEDICATIONREQUEST (MedicationRequest)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE SMOKINGSTATUS (Observation)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE VITALSIGNS (Observation)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\tUS CORE PROCEDURE (Procedure)\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSHOULD\n\t\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\t\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Patient

\n\t\t\t

Profile: US CORE PATIENT\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core patient resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core patients by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core patient instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core patient instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\t\t\t\t\n\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
nameSHALLstring\n\t\t\t\t\t\t\t

todo

\n\t\t\t\t\t\t
familySHALLstring\n\t\t\t\t\t
givenSHALLstring\n\t\t\t\t\t
identifierSHALLtoken\n\t\t\t\t\t
genderSHALLtoken\n\t\t\t\t\t
birthdateSHALLdate\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

AllergyIntolerance

\n\t\t\t

Profile: US CORE ALLERGYINTOLERANCE\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core AllergyIntolerance resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core AllergyIntolerance by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core AllergyIntolerance instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core AllergyIntolerance instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

CarePlan

\n\t\t\t

Profile: US CORE CAREPLAN\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core careplan resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core careplan by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core careplan instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core careplan instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
categorySHALLtoken\n\t\t\t\t\t
statusSHALLtoken\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

CareTeam

\n\t\t\t

Profile: US CORE CARETEAM\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core careteam resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core careteam by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core careteam instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core careteam instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
statusSHALLtoken\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Condition

\n\t\t\t

Profile: US CORE CONDITION\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core condition resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core condition by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core condition instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core condition instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
categorySHALLtoken\n\t\t\t\t\t
clinicalstatusSHALLtoken\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Device

\n\t\t\t

Profile: US CORE DEVICE\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core device resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core device by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core device instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core device instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Goal

\n\t\t\t

Profile: US CORE GOAL\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core Goal resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core Goal by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core Goal instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core Goal instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Immunization

\n\t\t\t

Profile: US CORE IMMUNIZATION\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core immunization resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core immunization by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core immunization instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core immunization instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

DiagnosticReport

\n\t\t\t

Profile: US CORE DIAGNOSTICREPORT\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core diagnosticreport resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core diagnosticreport by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core diagnosticreport instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core diagnosticreport instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
categorySHALLtoken\n\t\t\t\t\t
codeSHALLtoken\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile: US CORE OBSERVATIONRESULTS\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core observation results resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core observation results by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core observation results instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core observation results instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
categorySHALLtoken\n\t\t\t\t\t
codeSHALLtoken\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Medication

\n\t\t\t

Profile: US CORE MEDICATION\n\t\t\t

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. If the Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria SHALL be supported.

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria.

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core Medication instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core Medication instance

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

MedicationStatement

\n\t\t\t

Profile: US CORE MEDICATIONSTATEMENT\n\t\t\t

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core medicationstatement resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core medicationstatement by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core medicationstatement instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core medicationstatement instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\n\t\t\t

Supported Includes: MedicationStatement.medicationReference

\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\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

MedicationRequest

\n\t\t\t

Profile: US CORE MEDICATIONREQUEST\n\t\t\t

\n\t\t\t

The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be contained or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the include parameter for searching this element. The client application must support both methods.

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core medicationrequest resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core medicationrequest by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core medicationrequest instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core medicationrequest instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\n\t\t\t

Supported Includes: MedicationRequest.medicationReference

\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\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile: US CORE SMOKINGSTATUS\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core smokingstatus resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core smokingstatus by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core smokingstatus instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core smokingstatus instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
codeSHALLtoken\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Observation

\n\t\t\t

Profile: US CORE VITALSIGNS\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core vitalsigns resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core vitalsigns by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core vitalsigns instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core vitalsigns instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
categorySHALLtoken\n\t\t\t\t\t
codeSHALLtoken\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t\t

Procedure

\n\t\t\t

Profile: US CORE PROCEDURE\n\t\t\t

\n\t\t\t

Interactions

\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\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\t\n\t\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\t\n\t\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\t\n\t\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\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
NameConformanceDescription
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tsearch-type\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows discovery of existing US Core procedure resources using different search criteria

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tread\n\t\t\t\t\t\tSHALL\n\t\t\t\t\t\t\t

Allows retrieval of a specific US Core procedure by id

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\thistory-instance\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows review of changes to US Core procedure instance over time

\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\tvread\n\t\t\t\t\t\tSHOULD\n\t\t\t\t\t\t\t

Allows retrieval of a historical version of a US Core procedure instance

\n\t\t\t\t\t\t
\n\t\t\t

Search

\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\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\t\n\t\t\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\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
ParameterConformanceTypeDefinition & Chaining
patientSHALLreference\n\t\t\t\t\t
dateSHALLdate\n\t\t\t\t\t\t\t

The server SHALL support the date search modifiers 'ge','le','eq' for this profile

\n\t\t\t\t\t\t
\n\t\t
" + }, + "name": "US Core Server", + "status": "draft", + "date": "2016-08-10", + "publisher": "U.S. Office of the National Coordinator (ONC)", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://www.healthit.gov/" + } + ] + } + ], + "description": "This profile defines the expected capabilities of the US Core Server actor when conforming to the US-Core IG The statement includes the complete list of actual profiles, RESTful operations, search parameters supported by US Core Servers. US Core Requesters have the option of choosing from this list to access necessary data based on their local use cases and other contextual requirements.", + "kind": "requirements", + "fhirVersion": "1.8.0", + "acceptUnknown": "extensions", + "format": [ + "xml", + "json" + ], + "profile": [ + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-allergyintolerance.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-careplan.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-careteam.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-device.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-goal.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-immunization.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-observationresults.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-location.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-vitalsigns.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-pract.html" + }, + { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-procedure.html" + } + ], + "rest": [ + { + "mode": "server", + "documentation": "==The US Core Server SHALL:== 1.Support the US Core Patient resource profile. 2.Support at least one additional resource profile from the list of US Core Profiles 2. Implement REST behavior according to the FHIR specification 3. Support json resource formats for all US Core interactions. 4. Identify the US Core profile(s) supported as part of the FHIR [http://hl7.org/fhir/2017Jan/resource-definitions.html#Meta.profile Meta profile attribute] for each instance. 5. Declare a CapabilityStatement identifying the list of profiles, operations, search parameter supported. ==The US Core Server SHOULD:== 1. Support xml resource formats for all US Core interactions. ", + "security": { + "description": "US Core Servers '''SHALL''' implement the [security.html security requirements] documented in the US-Core IG." + }, + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination", + "extension": [ + { + "url": "required", + "valueString": "name" + }, + { + "url": "required", + "valueString": "gender" + } + ] + } + ], + "type": "Patient", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-patient.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core patient resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core patients by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core patient instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core patient instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "name", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-name", + "type": "string", + "documentation": "todo" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "family", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-family", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "given", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-given", + "type": "string" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "identifier", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-identifier", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "gender", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-gender", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "birthdate", + "definition": "http://hl7.org/fhir/SearchParameter/Patient-birthdate", + "type": "date" + } + ] + }, + { + "type": "AllergyIntolerance", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-allergyintolerance.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core AllergyIntolerance resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core AllergyIntolerance by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core AllergyIntolerance instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core AllergyIntolerance instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/AllergyIntolerance-Patient", + "type": "reference" + } + ] + }, + { + "type": "CarePlan", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-careplan.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core careplan resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core careplan by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core careplan instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core careplan instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Status", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/CarePlan-Date", + "type": "date", + "documentation": "The server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#prefix date search modifiers] 'ge','le','eq' for this profile" + } + ] + }, + { + "type": "CareTeam", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-careteam.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core careteam resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core careteam by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core careteam instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core careteam instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/CareTeam-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "status", + "definition": "http://hl7.org/fhir/SearchParameter/CareTeam-Status", + "type": "token" + } + ] + }, + { + "type": "Condition", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-condition.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core condition resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core condition by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core condition instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core condition instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "clinicalstatus", + "definition": "http://hl7.org/fhir/SearchParameter/Condition-ClinicalStatus", + "type": "token" + } + ] + }, + { + "type": "Device", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-device.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core device resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core device by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core device instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core device instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Device-Patient", + "type": "reference" + } + ] + }, + { + "type": "Goal", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-Goal.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core Goal resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core Goal by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core Goal instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core Goal instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Goal-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Goal-Date", + "type": "date", + "documentation": "The server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#prefix date search modifiers] 'ge','le','eq' for this profile" + } + ] + }, + { + "type": "Immunization", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-immunization.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core immunization resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core immunization by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core immunization instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core immunization instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Immunization-Patient", + "type": "reference" + } + ] + }, + { + "type": "DiagnosticReport", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-diagnosticreport.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core diagnosticreport resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core diagnosticreport by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core diagnosticreport instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core diagnosticreport instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/DiagnosticReport-Date", + "type": "date", + "documentation": "The server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#prefix date search modifiers] 'ge','le','eq' for this profile" + } + ] + }, + { + "type": "Medication", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-medication.html" + }, + "documentation": "The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. If the Medication Resource is used in a MedicationStatement or a MedicationRequest, then the READ and SEARCH Criteria '''SHALL''' be supported.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "search-type", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows discovery of existing US Core Medication resources using different search criteria." + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "read", + "documentation": "IF the Medication Resource is used in a MedicationStatement or a MedicationRequest. Allows retrieval of a specific US Core Medication by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core Medication instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core Medication instance" + } + ] + }, + { + "type": "MedicationStatement", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-medicationstatement.html" + }, + "documentation": " The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be [http://hl7.org/fhir/2017Jan/references.html#contained contained] or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#include include] parameter for searching this element. The client application must support both methods.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core medicationstatement resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core medicationstatement by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core medicationstatement instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core medicationstatement instance" + } + ], + "searchInclude": [ + "MedicationStatement.medicationReference" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/MedicationStatement-Patient", + "type": "reference" + } + ] + }, + { + "type": "MedicationRequest", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-medicationrequest.html" + }, + "documentation": " The MedicationStatement and MedicationRequest resources can represent a medication, using either a code or refer to a Medication resource. When referencing a Medication resource, the resource may be [http://hl7.org/fhir/2017Jan/references.html#contained contained] or an external resource. The server application can choose any one way or more than one method, but if the an external reference to Medication is used, the server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#include include] parameter for searching this element. The client application must support both methods.", + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core medicationrequest resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core medicationrequest by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core medicationrequest instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core medicationrequest instance" + } + ], + "searchInclude": [ + "MedicationRequest.medicationReference" + ], + "_searchInclude": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "MAY" + } + ] + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/MedicationRequest-Patient", + "type": "reference" + } + ] + }, + { + "type": "Observation", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-smokingstatus.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core smokingstatus resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core smokingstatus by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core smokingstatus instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core smokingstatus instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Code", + "type": "token" + } + ] + }, + { + "type": "Observation", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-vitalsigns.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core vitalsigns resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core vitalsigns by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core vitalsigns instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core vitalsigns instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "category", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Category", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "code", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Code", + "type": "token" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Observation-Date", + "type": "date", + "documentation": "The server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#prefix date search modifiers] 'ge','le','eq' for this profile" + } + ] + }, + { + "type": "Procedure", + "profile": { + "reference": "http://hl7.org/fhir/us/core/StructureDefinition-us-core-procedure.html" + }, + "interaction": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "search-type", + "documentation": "Allows discovery of existing US Core procedure resources using different search criteria" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "code": "read", + "documentation": "Allows retrieval of a specific US Core procedure by id" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "history-instance", + "documentation": "Allows review of changes to US Core procedure instance over time" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHOULD" + } + ], + "code": "vread", + "documentation": "Allows retrieval of a historical version of a US Core procedure instance" + } + ], + "searchParam": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "patient", + "definition": "http://hl7.org/fhir/SearchParameter/Procedure-Patient", + "type": "reference" + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation", + "valueCode": "SHALL" + } + ], + "name": "date", + "definition": "http://hl7.org/fhir/SearchParameter/Procedure-Date", + "type": "date", + "documentation": "The server SHALL support the [http://hl7.org/fhir/2017Jan/search.html#prefix date search modifiers] 'ge','le','eq' for this profile" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/lib/resources/us_core/CodeSystem-careplan-category.json b/lib/resources/us_core/CodeSystem-careplan-category.json new file mode 100755 index 0000000..d95b34b --- /dev/null +++ b/lib/resources/us_core/CodeSystem-careplan-category.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CodeSystem", + "id": "careplan-category", + "text": { + "status": "generated", + "div": "

US Core CarePlan Category Extension Codes

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

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

CodeDisplayDefinition
careteam Care TeamCareplan for identifying all the people and /or organizations who plan to participate in the coordination of delivery of care.
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", + "name": "US Core CarePlan Category Extension Codes", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-12-06T22:13:05+11:00", + "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", + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/careplan-category", + "content": "complete", + "concept": [ + { + "code": "careteam", + "display": "Care Team", + "definition": "Careplan for identifying all the people and /or organizations who plan to participate in the coordination of delivery of care." + }, + { + "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/lib/resources/us_core/CodeSystem-careteam-status.json b/lib/resources/us_core/CodeSystem-careteam-status.json new file mode 100755 index 0000000..f3ceff2 --- /dev/null +++ b/lib/resources/us_core/CodeSystem-careteam-status.json @@ -0,0 +1,39 @@ +{ + "resourceType": "CodeSystem", + "id": "careteam-status", + "text": { + "status": "generated", + "div": "

US Core CareTeam Status Codes

Indicates whether the team is current , represents future intentions or is now a historical record.

\n

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

CodeDisplayDefinition
draft PendingThe care team is in development or awaiting formation
active ActiveThe care team is current and actively involved in patient care.
completed CompletedThe care team is no longer current and actively involved in patient care.
cancelled CancelledThe care team has been dispanded (though it may have been replaced by a new care team).
" + }, + "url": "http://hl7.org/fhir/us/core/CodeSystem/careteam-status", + "name": "US Core CareTeam Status Codes", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-12-06T22:13:05+11:00", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/careteam-status", + "content": "complete", + "concept": [ + { + "code": "draft", + "display": "Pending", + "definition": "The care team is in development or awaiting formation" + }, + { + "code": "active", + "display": "Active", + "definition": "The care team is current and actively involved in patient care." + }, + { + "code": "completed", + "display": "Completed", + "definition": "The care team is no longer current and actively involved in patient care." + }, + { + "code": "cancelled", + "display": "Cancelled", + "definition": "The care team has been dispanded (though it may have been replaced by a new care team)." + } + ] +} \ No newline at end of file diff --git a/lib/resources/us_core/CodeSystem-condition-category.json b/lib/resources/us_core/CodeSystem-condition-category.json new file mode 100755 index 0000000..fa3f768 --- /dev/null +++ b/lib/resources/us_core/CodeSystem-condition-category.json @@ -0,0 +1,29 @@ +{ + "resourceType": "CodeSystem", + "id": "condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Extension Codes

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

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

CodeDisplayDefinition
problem ProblemThe patients problems as identified by the provider(s). Items on the provider’s problem list
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", + "name": "US Core Condition Category Extension Codes", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-12-06T22:13:05+11:00", + "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", + "caseSensitive": true, + "valueSet": "http://hl7.org/fhir/us/core/ValueSet/condition-category", + "content": "complete", + "concept": [ + { + "code": "problem", + "display": "Problem", + "definition": "The patients problems as identified by the provider(s). Items on the provider’s problem list" + }, + { + "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/lib/resources/us_core/ImplementationGuide.json b/lib/resources/us_core/ImplementationGuide.json new file mode 100755 index 0000000..e1590f0 --- /dev/null +++ b/lib/resources/us_core/ImplementationGuide.json @@ -0,0 +1,1627 @@ +{ + "resourceType": "ImplementationGuide", + "id": "ig", + "url": "http://hl7.org/fhir/us/core/ImplementationGuide/ig", + "name": "Implementation Guide Template", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project", + "package": [ + { + "name": "base", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-weight.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/weight" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-vitals-panel.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/vitals-panel" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-usg.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/usg" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-uscore-ms3.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Bundle/uscore-ms3" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationStatement-uscore-ms2.html" + } + ], + "example": true, + "sourceReference": { + "reference": "MedicationStatement/uscore-ms2" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationStatement-uscore-ms1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "MedicationStatement/uscore-ms1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Bundle-uscore-mo3.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Bundle/uscore-mo3" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo2.html" + } + ], + "example": true, + "sourceReference": { + "reference": "MedicationRequest/uscore-mo2" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "MedicationRequest-uscore-mo1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "MedicationRequest/uscore-mo1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med2.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Medication/uscore-med2" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Medication-uscore-med1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Medication/uscore-med1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urobilinogen.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urobilinogen" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-wbcs.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-wbcs" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-sediment.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-sediment" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-rbcs.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-rbcs" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-protein.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-protein" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ph.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-ph" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-nitrite.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-nitrite" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-leukocyte-esterase.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-leukocyte-esterase" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-ketone.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-ketone" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-hemoglobin.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-hemoglobin" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-glucose.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-glucose" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-epi-cells.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-epi-cells" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-color.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-color" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-clarity.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-clarity" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-cells.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-cells" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bilirubin.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-bilirubin" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-urine-bacteria.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/urine-bacteria" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-urinalysis.html" + } + ], + "example": true, + "sourceReference": { + "reference": "DiagnosticReport/urinalysis" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Device-udi-1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Device/udi-1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-temperature.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/temperature" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-some-day-smoker.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/some-day-smoker" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-total-bilirubin.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-total-bilirubin" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-sodium.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-sodium" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-potassium.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-potassium" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-creatinine.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-creatinine" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-co2.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-co2" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-chloride.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-chloride" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-serum-calcium.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/serum-calcium" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-respiratory-rate.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/respiratory-rate" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Procedure-rehab.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Procedure/rehab" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Practitioner-practitioner-1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Practitioner/practitioner-1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Patient-example.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Patient/example" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-oxygen-saturation.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/oxygen-saturation" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-neutrophils.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/neutrophils" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-metabolic-panel.html" + } + ], + "example": true, + "sourceReference": { + "reference": "DiagnosticReport/metabolic-panel" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-mchc.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/mchc" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-length.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/length" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Immunization-imm-1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Immunization/imm-1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Location-hl7east.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Location/hl7east" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-hemoglobin.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/hemoglobin" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-height.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/height" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-heart-rate.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/heart-rate" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-head-circumference.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/head-circumference" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-hc1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Condition/hc1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Goal-goal-1.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Goal/goal-1" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-erythrocytes.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/erythrocytes" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Condition-example.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Condition/example" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Careplan-colonoscopy.html" + } + ], + "example": true, + "sourceReference": { + "reference": "CarePlan/colonoscopy" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "DiagnosticReport-cbc.html" + } + ], + "example": true, + "sourceReference": { + "reference": "DiagnosticReport/cbc" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Careteam-example.html" + } + ], + "example": true, + "sourceReference": { + "reference": "CareTeam/example" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-BUN.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/BUN" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bp-data-absent.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/bp-data-absent" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-bmi.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/bmi" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-pressure.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/blood-pressure" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Observation-blood-glucose.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Observation/blood-glucose" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "AllergyIntolerance-example.html" + } + ], + "example": true, + "sourceReference": { + "reference": "AllergyIntolerance/example" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "Organization-acme-lab.html" + } + ], + "example": true, + "sourceReference": { + "reference": "Organization/acme-lab" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-ucum.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-ucum" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-substance.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-substance" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-substance-sct.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-substance-sct" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-substance-rxnorm.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-substance-rxnorm" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-substance-ndfrt.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-substance-ndfrt" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-specialty.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-provider-specialty" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-provider-role.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-provider-role" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-type.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-procedure-type" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-procedure-icd10pcs.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-procedure-icd10pcs" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-problem.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-problem" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-value-codes.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-observation-value-codes" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-ccdavitalsignresult.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-observation-ccdavitalsignresult" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-observation-ccdasmokingstatus.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-observation-ccdasmokingstatus" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-ndc-vaccine-codes.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-ndc-vaccine-codes" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-narrative-status.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-narrative-status" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-medication-codes.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-medication-codes" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-immunization-status.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-immunization-status" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-cvx.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-cvx" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-condition-category.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-condition-category" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-careteam-status.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-careteam-status" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-careteam-provider-roles.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-careteam-provider-roles" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-us-core-birthsex.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/us-core-birthsex" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-race.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/omb-race" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-omb-ethnicity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/omb-ethnicity" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-race.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/detailed-race" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "ValueSet-detailed-ethnicity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "ValueSet/detailed-ethnicity" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-race.html" + } + ], + "example": false, + "sourceReference": { + "reference": "SearchParameter/us-core-race" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "SearchParameter-us-core-ethnicity.html" + } + ], + "example": false, + "sourceReference": { + "reference": "SearchParameter/us-core-ethnicity" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-condition-category.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/condition-category" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-careteam-status.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/careteam-status" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CodeSystem-careplan-category.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CodeSystem/careplan-category" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-server.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CapabilityStatement/server" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "CapabilityStatement-client.html" + } + ], + "example": false, + "sourceReference": { + "reference": "CapabilityStatement/client" + } + } + ] + }, + { + "name": "U.S. Core AllergyIntolerance Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-allergyintolerance.html" + } + ], + "example": false, + "name": "US Core Allergies Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-allergyintolerance" + } + } + ] + }, + { + "name": "U.S. Core CarePlan Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careplan.html" + } + ], + "example": false, + "name": "US Core CarePlan Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-careplan" + } + } + ] + }, + { + "name": "U.S. Core CareTeam Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-careteam.html" + } + ], + "example": false, + "name": "US Core CareTeam Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-careteam" + } + } + ] + }, + { + "name": "U.S. Core Condition (a.k.a Problem) Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-condition.html" + } + ], + "example": false, + "name": "US Core Condition Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-condition" + } + } + ] + }, + { + "name": "U.S. Core Device Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-device.html" + } + ], + "example": false, + "name": "US Core Implanted Device Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-device" + } + } + ] + }, + { + "name": "U.S. Core DiagnosticReport Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-diagnosticreport.html" + } + ], + "example": false, + "name": "US Core Diagnostic Report Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-diagnosticreport" + } + } + ] + }, + { + "name": "U.S. Core Goal Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-goal.html" + } + ], + "example": false, + "name": "US Core Goal Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-goal" + } + } + ] + }, + { + "name": "U.S. Core Immunization Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-immunization.html" + } + ], + "example": false, + "name": "US Core Immunization Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-immunization" + } + } + ] + }, + { + "name": "U.S. Core Location Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-location.html" + } + ], + "example": false, + "name": "US Core Location Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-location" + } + } + ] + }, + { + "name": "U.S. Core Medication Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medication.html" + } + ], + "example": false, + "name": "US Core Medication Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-medication" + } + } + ] + }, + { + "name": "U.S. Core MedicationRequest Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medicationrequest.html" + } + ], + "example": false, + "name": "US Core Medication Request Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-medicationrequest" + } + } + ] + }, + { + "name": "U.S. Core MedicationStatement Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-medicationstatement.html" + } + ], + "example": false, + "name": "US Core Medication Statement Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-medicationstatement" + } + } + ] + }, + { + "name": "U.S. Core Results Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-observationresults.html" + } + ], + "example": false, + "name": "US Core Result Observation", + "sourceReference": { + "reference": "StructureDefinition/us-core-observationresults" + } + } + ] + }, + { + "name": "U.S. Core Smoking Status Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-smokingstatus.html" + } + ], + "example": false, + "name": "US Core Smoking Status Observation Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-smokingstatus" + } + } + ] + }, + { + "name": "U.S. Core Vital Signs Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-vitalsigns.html" + } + ], + "example": false, + "name": "US Core Vital Signs Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-vitalsigns" + } + } + ] + }, + { + "name": "U.S. US Core Organization Core Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-organization.html" + } + ], + "example": false, + "name": "US Core Organization Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-organization" + } + } + ] + }, + { + "name": "U.S. Core Patient Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-direct.html" + } + ], + "example": false, + "name": "Email is a \"direct\" email", + "sourceReference": { + "reference": "StructureDefinition/us-core-direct" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-birthsex.html" + } + ], + "example": false, + "name": "US Core Birth Sex Extension", + "sourceReference": { + "reference": "StructureDefinition/us-core-birthsex" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-race.html" + } + ], + "example": false, + "name": "US Core Race Extension", + "sourceReference": { + "reference": "StructureDefinition/us-core-race" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-ethnicity.html" + } + ], + "example": false, + "name": "US Core ethnicity Extension", + "sourceReference": { + "reference": "StructureDefinition/us-core-ethnicity" + } + }, + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-patient.html" + } + ], + "example": false, + "name": "US Core Patient Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-patient" + } + } + ] + }, + { + "name": "U.S. Core Practitioner Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-pract.html" + } + ], + "example": false, + "name": "US Core Practitioner", + "sourceReference": { + "reference": "StructureDefinition/us-core-pract" + } + } + ] + }, + { + "name": "U.S. Core Procedure Profile", + "resource": [ + { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/implementationguide-page", + "valueUri": "StructureDefinition-us-core-procedure.html" + } + ], + "example": false, + "name": "US Core Procedure Profile", + "sourceReference": { + "reference": "StructureDefinition/us-core-procedure" + } + } + ] + } + ], + "page": { + "source": "index.html", + "title": "blah", + "kind": "page" + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json b/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json new file mode 100755 index 0000000..68fa705 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-allergyintolerance.json @@ -0,0 +1,1342 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-allergyintolerance", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance

name: US Core Allergies Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR - Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance

name: US Core Allergies Profile

status: DRAFT

publisher: Health Level Seven International (FHIR - Infrastructure)

contact:

date: 01/08/2016

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance", + "name": "US Core Allergies Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR - Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:uscoreallergyintolerance", + "path": "AllergyIntolerance", + "sliceName": "USCoreAllergyIntolerance", + "short": "US Core Allergies Profile", + "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.", + "comments": "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": "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "ait-1", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)", + "source": "AllergyIntolerance" + }, + { + "key": "ait-2", + "severity": "error", + "human": "AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error", + "expression": "verificationStatus!='entered-in-error' or clinicalStatus.empty()", + "xpath": "f:verificationStatus/@value!='entered-in-error' or not(exists(f:clinicalStatus))", + "source": "AllergyIntolerance" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.language", + "path": "AllergyIntolerance.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.identifier", + "path": "AllergyIntolerance.identifier", + "short": "External ids for this item", + "definition": "This records identifiers associated with this allergy/intolerance concern 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 (e.g. in CDA documents, or in written / printed documentation).", + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-7" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "short": "active | inactive | resolved", + "definition": "The clinical status of the allergy or intolerance.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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).", + "comments": "Decision support would typically raise alerts for 'confirmed' and 'unconfirmed' and ignore a 'refuted' reaction. In particular, 'refuted' may be useful for reconciliation of the Adverse Reaction List.", + "min": 1, + "max": "1", + "base": { + "path": "AllergyIntolerance.verificationStatus", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.type", + "path": "AllergyIntolerance.type", + "short": "allergy | intolerance - Underlying mechanism (if known)", + "definition": "Identification of the underlying physiological mechanism for the reaction risk.", + "comments": "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 may 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 may 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" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identification of the underlying physiological mechanism for a Reaction Risk.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "IAM-9" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.category", + "path": "AllergyIntolerance.category", + "short": "food | medication | biologic | environment", + "definition": "Category of the identified substance.", + "comments": "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](search.html) for more information on how to search category with a :missing modifier to get allergies that don't have a category.", + "alias": [ + "Category", + "Type", + "Reaction Type", + "Class" + ], + "min": 0, + "max": "*", + "base": { + "path": "AllergyIntolerance.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Category of an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-category" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-2" + }, + { + "identity": "rim", + "map": "value < IntoleranceValue (Agent)" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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).", + "alias": [ + "Severity", + "Seriousness", + "Contra-indication", + "Risk" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.criticality", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-4" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.code", + "path": "AllergyIntolerance.code", + "short": "Allergy or intolerance code", + "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\").", + "comments": "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, UNI, ATC and CPT. Plain text should only be used if there is no appropriate terminology available. Additional details can be specified in the text. When 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. The '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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-3 / IAM-3" + }, + { + "identity": "rim", + "map": "substance/product: .participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] negated/excluded substance/product: .participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType] positive or negated/excluded condition/situation: Observation.code=ASSERTION; Observation.value" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(PID-3)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime.low" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.assertedDate", + "path": "AllergyIntolerance.assertedDate", + "short": "Date record was believed accurate", + "definition": "The date on which the existance of the AllergyIntolerance was first asserted or acknowledged.", + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.assertedDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "IAM-20" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].role" + }, + { + "identity": "w5", + "map": "who.author" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.asserter", + "path": "AllergyIntolerance.asserter", + "short": "Source of the information about the allergy", + "definition": "The source of the information about the allergy that is recorded.", + "comments": "The recorder takes repsonsibility 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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "IAM-14 (if patient) / IAM-18 (if practitioner)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.reaction.id", + "path": "AllergyIntolerance.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.reaction.modifierExtension", + "path": "AllergyIntolerance.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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'.", + "comments": "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 identifed 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" + } + ], + "binding": { + "strength": "example", + "description": "Codes defining the type of the substance (including pharmaceutical products).", + "valueSetReference": { + "reference": "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:uscoreallergyintolerance.reaction.certainty", + "path": "AllergyIntolerance.reaction.certainty", + "short": "unlikely | likely | confirmed | unknown", + "definition": "Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.", + "comments": "When certainty is missing, it means no information exists (although it could be in narrative). By contrast, the unknown code is used when there is an explicit assertion that certainty is not known, such as when a patient eats a meal and it is unknown which food caused the reaction.", + "alias": [ + "Cause" + ], + "min": 0, + "max": "1", + "base": { + "path": "AllergyIntolerance.reaction.certainty", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Statement about the degree of clinical certainty that a specific substance was the cause of the manifestation in an reaction event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-certainty" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "uncertaintyCode" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "AL1-5" + }, + { + "identity": "rim", + "map": "code" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "text" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "AL1-6" + }, + { + "identity": "rim", + "map": "effectiveTime.low" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "It is acknowledged that this assessment is very subjective. There may be some 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" + } + ], + "binding": { + "strength": "required", + "description": "Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reaction-event-severity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/route-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode" + } + ] + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "subjectOf.observationEvent[code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "AllergyIntolerance:uscoreallergyintolerance", + "path": "AllergyIntolerance", + "sliceName": "USCoreAllergyIntolerance", + "short": "US Core Allergies Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.clinicalStatus", + "path": "AllergyIntolerance.clinicalStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-clinical-status" + } + } + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.verificationStatus", + "path": "AllergyIntolerance.verificationStatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/allergy-verification-status" + } + } + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.code", + "path": "AllergyIntolerance.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance" + } + } + }, + { + "id": "AllergyIntolerance:uscoreallergyintolerance.patient", + "path": "AllergyIntolerance.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-birthsex.json b/lib/resources/us_core/StructureDefinition-us-core-birthsex.json new file mode 100755 index 0000000..ce4c41b --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-birthsex.json @@ -0,0 +1,262 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-birthsex", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex

name: US Core Birth Sex Extension

title: US Core Birth Sex Extension

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

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).

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex

name: US Core Birth Sex Extension

title: US Core Birth Sex Extension

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

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).

fhirVersion: 1.8.0

Mappings

-IdentityUriName
*rimhttp://hl7.org/v3RIM Mapping

kind: COMPLEXTYPE

abstract: false

contextType: RESOURCE

context: Patient

type: Extension

baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "name": "US Core Birth Sex Extension", + "title": "US Core Birth Sex Extension", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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).", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "Patient" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:birthsex", + "path": "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).", + "comments": "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-8" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension:birthsex.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:birthsex.extension", + "path": "Extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:birthsex.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.", + "comments": "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": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:birthsex.valueCode", + "path": "Extension.valueCode", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:birthsex", + "path": "Extension", + "sliceName": "birthsex", + "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).", + "comments": "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": "v2", + "map": "PID-8" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "iso11179", + "map": ".patient.administrativeGenderCode" + } + ] + }, + { + "id": "Extension:birthsex.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex" + }, + { + "id": "Extension:birthsex.value[x]", + "path": "Extension.value[x]", + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-careplan.json b/lib/resources/us_core/StructureDefinition-us-core-careplan.json new file mode 100755 index 0000000..05ed327 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-careplan.json @@ -0,0 +1,2285 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careplan", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan

name: US Core CarePlan Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan

name: US Core CarePlan Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan", + "name": "US Core CarePlan Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:uscorecareplan", + "path": "CarePlan", + "sliceName": "USCoreCarePlan", + "short": "US Core CarePlan Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Act[classCode=PCPR, moodCode=INT]" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CarePlan:uscorecareplan.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CarePlan:uscorecareplan.language", + "path": "CarePlan.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CarePlan:uscorecareplan.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 1, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.text.id", + "path": "CarePlan.text.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.text.extension", + "path": "CarePlan.text.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.text.div", + "path": "CarePlan.text.div", + "short": "Limited xhtml content", + "definition": "The actual narrative content, a stripped down version of XHTML.", + "comments": "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 may 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": "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]" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.identifier", + "path": "CarePlan.identifier", + "short": "External Ids for this plan", + "definition": "This records identifiers associated with this care plan 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 (e.g. in CDA documents, or in written / printed documentation).", + "requirements": "Need to allow connection to a wider workflow.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PTH-3" + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.status", + "path": "CarePlan.status", + "short": "proposed | draft | active | suspended | completed | entered-in-error | cancelled | unknown", + "definition": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "comments": "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.", + "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" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-status" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PTH-5" + }, + { + "identity": "rim", + "map": ".statusCode planned = new active = active completed = completed" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.category", + "path": "CarePlan.category", + "short": "Type of plan", + "definition": "Type of plan.", + "comments": "There may be multiple axis 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" + } + ] + }, + "mustSupport": true, + "isSummary": false, + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-category" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.category.id", + "path": "CarePlan.category.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.category.extension", + "path": "CarePlan.category.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.category.coding", + "path": "CarePlan.category.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "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": "CarePlan:uscorecareplan.category.text", + "path": "CarePlan.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.", + "comments": "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" + } + ], + "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": "CarePlan:uscorecareplan.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.subject", + "path": "CarePlan.subject", + "short": "Who care plan is for", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.context", + "path": "CarePlan.context", + "short": "Created in context of", + "definition": "Identifies the original context in which this particular CarePlan was created.", + "comments": "Activities conducted as a result of the care plan may well occur as part of other encounters/episodes.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.context", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Associated PV1" + }, + { + "identity": "rim", + "map": "." + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.period", + "path": "CarePlan.period", + "short": "Time period plan covers", + "definition": "Indicates when the plan did (or is intended to) come into effect and end.", + "comments": "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.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "GOL-7 / GOL-8" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.modified", + "path": "CarePlan.modified", + "short": "When last updated", + "definition": "Identifies the most recent date on which the plan has been revised.", + "requirements": "Indicates how current the plan is.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.modified", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PTH-6" + }, + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.author", + "path": "CarePlan.author", + "short": "Who is responsible for contents of the plan", + "definition": "Identifies the individual(s) or ogranization who is responsible for the content of the care plan.", + "comments": "Collaborative care plans may have multiple authors.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.author", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRB-4" + }, + { + "identity": "rim", + "map": ".actRelationship[typeCode=SUBJ].target[classCode=CONC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.support", + "path": "CarePlan.support", + "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 co-morbidities, recent procedures, limitations, recent assessments, etc.", + "comments": "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.support", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.definition", + "path": "CarePlan.definition", + "short": "Protocol or definition", + "definition": "Identifies the protocol, questionnaire, guideline or other specification the care plan should be conducted in accordance with.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.definition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan", + "path": "CarePlan.relatedPlan", + "short": "Plans related to this one", + "definition": "Identifies CarePlans with some sort of formal relationship to the current plan.", + "comments": "Relationships are uni-directional with the \"newer\" plan pointing to the older one.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.relatedPlan", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan.id", + "path": "CarePlan.relatedPlan.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan.extension", + "path": "CarePlan.relatedPlan.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan.modifierExtension", + "path": "CarePlan.relatedPlan.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan.code", + "path": "CarePlan.relatedPlan.code", + "short": "includes | replaces | fulfills", + "definition": "Identifies the type of relationship this plan has to the target plan.", + "comments": "Read the relationship as \"this plan\" [relatedPlan.code] \"relatedPlan.plan\"; e.g. This plan includes Plan B. Additional relationship types can be proposed for future releases or handled as extensions.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.relatedPlan.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes identifying the types of relationships between two plans.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-relationship" + } + } + }, + { + "id": "CarePlan:uscorecareplan.relatedPlan.plan", + "path": "CarePlan.relatedPlan.plan", + "short": "Plan relationship exists with", + "definition": "A reference to the plan to which a relationship is asserted.", + "min": 1, + "max": "1", + "base": { + "path": "CarePlan.relatedPlan.plan", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.goal", + "path": "CarePlan.goal", + "short": "Desired outcome of plan", + "definition": "Describes the intended objective(s) of carrying out the care plan.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ctm-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))" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.id", + "path": "CarePlan.activity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.modifierExtension", + "path": "CarePlan.activity.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.actionResulting", + "path": "CarePlan.activity.actionResulting", + "short": "Appointments, orders, etc.", + "definition": "Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.", + "requirements": "Links plan to resulting actions.", + "min": 0, + "max": "*", + "base": { + "path": "CarePlan.activity.actionResulting", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=FLFS].source" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.outcome", + "path": "CarePlan.activity.outcome", + "short": "Results of the activity", + "definition": "Results of the careplan activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.outcome", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Identifies the results of the activity" + } + }, + { + "id": "CarePlan:uscorecareplan.activity.progress", + "path": "CarePlan.activity.progress", + "short": "Comments about the activity status/progress", + "definition": "Notes about the adherence/status/progress of the activity.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "Standard extension exists ([goal-pertainstogoal](extension-goal-pertainstogoal.html)) that allows goals to be referenced from any of the referenced resources in CarePlan.activity.reference. The goal should be visible when the resource referenced by CarePlan.activity.reference is viewed indepedently 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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CommunicationRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceUseRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcessRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/VisionPrescription" + } + ], + "condition": [ + "ctm-3" + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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": [ + "ctm-3" + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP, subsetCode=SUMM].target" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.id", + "path": "CarePlan.activity.detail.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.modifierExtension", + "path": "CarePlan.activity.detail.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.category", + "path": "CarePlan.activity.detail.category", + "short": "diet | drug | encounter | observation | procedure | supply | other", + "definition": "High-level categorization of the type of activity in a care plan.", + "requirements": "May determine what types of extensions are permitted.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "High-level categorization of the type of activity in a care plan.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=LIST].code" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.definition", + "path": "CarePlan.activity.detail.definition", + "short": "Protocol or definition", + "definition": "Identifies the protocol, questionnaire, guideline or other specification the planned activity should be conducted in accordance with.", + "requirements": "Allows Questionnaires that the patient (or practitioner) should fill in to fulfill the care plan activity.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.definition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Questionnaire" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Detailed description of the type of activity; e.g. What lab test, what procedure, what kind of encounter.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-4 / RXE-2 / RXO-1 / RXD-2" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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" + } + ], + "binding": { + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/activity-reason" + } + } + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.reasonReference", + "path": "CarePlan.activity.detail.reasonReference", + "short": "Condition triggering need for activity", + "definition": "Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan.", + "comments": "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" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.status", + "path": "CarePlan.activity.detail.status", + "short": "not-started | scheduled | in-progress | on-hold | completed | cancelled | unknown", + "definition": "Identifies what progress is being made for the specific activity.", + "comments": "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. 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 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" + } + ], + "isModifier": true, + "binding": { + "strength": "required", + "description": "Indicates where the activity is at in its overall life cycle.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-activity-status" + } + }, + "mapping": [ + { + "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:uscorecareplan.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.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Describes why the current activity has the status it does; e.g. \"Recovering from injury\" as a reason for non-started or on-hold, \"Patient does not enjoy activity\" as a reason for cancelling a planned activity.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" + } + } + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.prohibited", + "path": "CarePlan.activity.detail.prohibited", + "short": "Do NOT do", + "definition": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, indicates that the described activity is one that should be engaged in when following the plan.", + "requirements": "Captures intention to not do something that may have been previously typical.", + "min": 0, + "max": "1", + "base": { + "path": "CarePlan.activity.detail.prohibited", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": false, + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "actionNegationInd" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "TQ1" + }, + { + "identity": "rim", + "map": ".effectiveTime" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBR-24(???!!)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].role" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.activity.detail.performer", + "path": "CarePlan.activity.detail.performer", + "short": "Who will be responsible?", + "definition": "Identifies who's expected to be involved in the activity.", + "comments": "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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PRT-5 : ( PRV-4 e {provider participations} ) / PRT-5 : ( PRV-4 e {non-provider person participations} ) / PRT-5 : ( PRV-4 = (patient non-subject of care) ) / PRT-8" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" + } + ], + "binding": { + "strength": "example", + "description": "A product supplied or administered as part of a care plan activity.", + "valueSetReference": { + "reference": "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:uscorecareplan.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXO-23 / RXE-19 / RXD-12" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP][classCode=SBADM].doseQuantity" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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" + } + ], + "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:uscorecareplan.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".text" + } + ] + }, + { + "id": "CarePlan:uscorecareplan.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": "1", + "base": { + "path": "CarePlan.note", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE?" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "CarePlan:uscorecareplan", + "path": "CarePlan", + "sliceName": "USCoreCarePlan", + "short": "US Core CarePlan Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan:uscorecareplan.text", + "path": "CarePlan.text", + "min": 1, + "max": "1", + "type": [ + { + "code": "Narrative" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan:uscorecareplan.text.status", + "path": "CarePlan.text.status", + "definition": "generated | additional.", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained value set of narrative statuses.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status" + } + } + }, + { + "id": "CarePlan:uscorecareplan.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, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/care-plan-status" + } + } + }, + { + "id": "CarePlan:uscorecareplan.category", + "path": "CarePlan.category", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan:uscorecareplan.category.system", + "path": "CarePlan.category.coding.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan:uscorecareplan.category.system.code", + "path": "CarePlan.category.coding.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "CarePlan:uscorecareplan.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, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-careteam.json b/lib/resources/us_core/StructureDefinition-us-core-careteam.json new file mode 100755 index 0000000..85b6c2a --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-careteam.json @@ -0,0 +1,846 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-careteam", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam

name: US Core CareTeam Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam

name: US Core CareTeam Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam", + "name": "US Core CareTeam Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:uscorecareteam", + "path": "CareTeam", + "sliceName": "USCoreCareTeam", + "short": "US Core CareTeam Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:uscorecareteam.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "CareTeam:uscorecareteam.language", + "path": "CareTeam.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "CareTeam:uscorecareteam.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.identifier", + "path": "CareTeam.identifier", + "short": "External Ids for this team", + "definition": "This records identifiers associated with this care team 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.", + "min": 0, + "max": "*", + "base": { + "path": "CareTeam.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.status", + "path": "CareTeam.status", + "short": "active | suspended | inactive | entered in error", + "definition": "Indicates whether the care team is currently active, suspended, inactive, or entered in error.", + "min": 1, + "max": "1", + "base": { + "path": "CareTeam.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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 it's 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" + } + ], + "isSummary": true + }, + { + "id": "CareTeam:uscorecareteam.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.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.init" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "REL (REL.4 is always the Patient) ( or PRT?)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.participant.id", + "path": "CareTeam.participant.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.participant.modifierExtension", + "path": "CareTeam.participant.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "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": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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.", + "comments": "Patient only needs to be listed if they have a role other than \"subject of care\". Member 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/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "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": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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" + } + ] + }, + { + "id": "CareTeam:uscorecareteam.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" + } + ], + "isSummary": true + } + ] + }, + "differential": { + "element": [ + { + "id": "CareTeam:uscorecareteam", + "path": "CareTeam", + "sliceName": "USCoreCareTeam", + "short": "US Core CareTeam Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:uscorecareteam.status", + "path": "CareTeam.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-status" + } + } + }, + { + "id": "CareTeam:uscorecareteam.subject", + "path": "CareTeam.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:uscorecareteam.participant", + "path": "CareTeam.participant", + "min": 1, + "max": "*", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "CareTeam:uscorecareteam.participant.role", + "path": "CareTeam.participant.role", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates specific responsibility of an individual within the care team, such as Primary physician, Team coordinator, Caregiver, etc.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles" + } + } + }, + { + "id": "CareTeam:uscorecareteam.participant.member", + "path": "CareTeam.participant.member", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-condition.json b/lib/resources/us_core/StructureDefinition-us-core-condition.json new file mode 100755 index 0000000..6acac5b --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-condition.json @@ -0,0 +1,1449 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-condition", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition

name: US Core Condition Profile

status: DRAFT

date: 21/08/2014

publisher: Health Level Seven International (Infrastructure and Messaging - Data Access Framework)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition

name: US Core Condition Profile

status: DRAFT

publisher: Health Level Seven International (Infrastructure and Messaging - Data Access Framework)

contact:

date: 21/08/2014

mapping

identity: sct-concept

uri: http://snomed.info/conceptdomain

name: SNOMED CT Concept Domain Binding

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

mapping

identity: sct-attr

uri: http://snomed.info/sct

name: SNOMED CT Attribute Binding

kind: RESOURCE

abstract: false

type: Condition

baseDefinition: http://hl7.org/fhir/StructureDefinition/Condition

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition", + "name": "US Core Condition Profile", + "status": "draft", + "publisher": "Health Level Seven International (Infrastructure and Messaging - Data Access Framework)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2014-08-21", + "mapping": [ + { + "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/w5", + "name": "W5 Mapping" + }, + { + "identity": "sct-attr", + "uri": "http://snomed.info/sct", + "name": "SNOMED CT Attribute Binding" + } + ], + "kind": "resource", + "abstract": false, + "type": "Condition", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Condition:c", + "path": "Condition", + "sliceName": "c", + "short": "US Core Condition Profile", + "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": [ + { + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "con-4", + "severity": "error", + "human": "If condition is abated, then clinicalStatus must be either inactive, resolved, or remission", + "expression": "abatement.empty() or (abatement as boolean).not() or clinicalStatus='resolved' or clinicalStatus='remission' or clinicalStatus='inactive'", + "xpath": "xpath: not(f:abatementBoolean='true' or (not(exists(f:abatementBoolean)) and exists(*[starts-with(local-name(.), 'abatement')])) or f:clinicalStatus/@value=('resolved', 'remission', 'inactive')", + "source": "Condition" + }, + { + "key": "con-3", + "severity": "error", + "human": "Condition.clinicalStatus SHALL be present if verificationStatus is not entered-in-error", + "expression": "verificationStatus='entered-in-error' or clinicalStatus.exists()", + "xpath": "f:verificationStatus/@value='entered-in-error' or exists(f:clinicalStatus)", + "source": "Condition" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "sct-concept", + "map": "< 243796009 |Situation with explicit context|: 246090004 |Associated finding| = ((< 404684003 |Clinical finding| MINUS << 420134006 |Propensity to adverse reactions| MINUS << 473010000 |Hypersensitivity condition| MINUS << 79899007 |Drug interaction| MINUS << 69449002 |Drug action| MINUS << 441742003 |Evaluation finding| MINUS << 307824009 |Administrative status| MINUS << 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": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"stage/grade\"]" + } + ] + }, + { + "id": "Condition:c.stage.id", + "path": "Condition.stage.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:c.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:c.stage.modifierExtension", + "path": "Condition.stage.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:c.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" + ], + "binding": { + "strength": "example", + "description": "Codes describing condition stages (e.g. Cancer stages).", + "valueSetReference": { + "reference": "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:c.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "condition": [ + "con-1" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:c.evidence", + "path": "Condition.evidence", + "short": "Supporting evidence", + "definition": "Supporting Evidence / manifestations that are the basis on which this condition is suspected or confirmed.", + "comments": "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": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT].target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Condition:c.evidence.id", + "path": "Condition.evidence.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:c.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Condition:c.evidence.modifierExtension", + "path": "Condition.evidence.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Condition:c.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": "1", + "base": { + "path": "Condition.evidence.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "con-2" + ], + "binding": { + "strength": "example", + "description": "Codes that describe the manifestation or symptoms of a condition.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/manifestation-or-symptom" + } + }, + "mapping": [ + { + "identity": "sct-concept", + "map": "< 404684003 |Clinical finding|" + }, + { + "identity": "rim", + "map": "[code=\"diagnosis\"].value" + } + ] + }, + { + "id": "Condition:c.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" + ], + "mapping": [ + { + "identity": "rim", + "map": ".self" + } + ] + }, + { + "id": "Condition:c.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" + } + ], + "mapping": [ + { + "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:c", + "path": "Condition", + "sliceName": "c", + "short": "US Core Condition Profile", + "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.", + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Condition:c.clinicalStatus", + "path": "Condition.clinicalStatus", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-clinical" + } + } + }, + { + "id": "Condition:c.verificationStatus", + "path": "Condition.verificationStatus", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-ver-status" + } + } + }, + { + "id": "Condition:c.category", + "path": "Condition.category", + "min": 1, + "max": "*", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category" + } + } + }, + { + "id": "Condition:c.code", + "path": "Condition.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Valueset to describe the actual problem experienced by the patient", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem" + } + } + }, + { + "id": "Condition:c.subject", + "path": "Condition.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-device.json b/lib/resources/us_core/StructureDefinition-us-core-device.json new file mode 100755 index 0000000..8819cb7 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-device.json @@ -0,0 +1,952 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-device", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-device

name: US Core Implanted Device Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-device

name: US Core Implanted Device Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: udi

uri: http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm

name: UDI Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Device

baseDefinition: http://hl7.org/fhir/StructureDefinition/Device

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-device", + "name": "US Core Implanted Device Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "udi", + "uri": "http://www.fda.gov/MedicalDevices/DeviceRegulationandGuidance/UniqueDeviceIdentification/default.htm", + "name": "UDI Mapping" + }, + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Device", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Device", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Device:uscoredevice", + "path": "Device", + "sliceName": "USCoreDevice", + "short": "US Core Implanted Device Profile", + "definition": "The US Core Implanted 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Device" + }, + { + "identity": "w5", + "map": "administrative.device" + } + ] + }, + { + "id": "Device:uscoredevice.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Device:uscoredevice.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Device:uscoredevice.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Device:uscoredevice.language", + "path": "Device.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Device:uscoredevice.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Device:uscoredevice.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:uscoredevice.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:uscoredevice.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Device:uscoredevice.identifier", + "path": "Device.identifier", + "short": "Instance identifier", + "definition": "Unique instance identifiers assigned to a device by manufacturers other organizations or owners.", + "comments": "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. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of the UDI that identifies the serial number of a specific device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "Serial Number" + ], + "min": 0, + "max": "*", + "base": { + "path": "Device.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The serial number which is a component of the 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." + }, + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:uscoredevice.udiCarrier", + "path": "Device.udiCarrier", + "short": "Unique Device Identifier (UDI) Barcode string", + "definition": "[Unique device identifier (UDI)](device.html#5.11.3.2.2) barcode or rfid string assigned to device label or package.", + "comments": "The udiCarrier string may identify an unique instance of a device, or it may only identify the type of the device. The Human Readable format (HRF) is required in FHIR. AIDC identifiers cannot be conveyed in FHIR, Because of limitations on character sets in XML and the need to round-trip JSON data through XML. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 1, + "max": "1", + "base": { + "path": "Device.udiCarrier", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "udi", + "map": "The full UDI carrier - The Human Readable Form (HRF) representation of the barcode string as printed on the packaging of the device. The 'type' component should be set to “UDI” and the 'system' component to the the appropriate repository url. the additional URL is needed to identify the authoritative source for UDI generation within the jurisdiction. All UDIs are globally unique within a single namespace. with the appropriate repository uri as the system. This allows a recipient of a UDI to know which database will contain the UDI-associated metadata. For example, UDIs of devices managed in the U.S. by the FDA, the value is http://hl7.org/fhir/NamingSystem/fda-udi. Because of limitations on character sets in XML and the need to round-trip JSON data through XML, AIDC identifiers cannot be conveyed in FHIR." + }, + { + "identity": "rim", + "map": ".id[where root is root for UDI]" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Device:uscoredevice.status", + "path": "Device.status", + "short": "available | not-available | entered-in-error", + "definition": "Status of the Device availability.", + "min": 0, + "max": "1", + "base": { + "path": "Device.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The availability status of the device.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/devicestatus" + } + }, + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Device:uscoredevice.type", + "path": "Device.type", + "short": "What kind of device this is", + "definition": "Code or identifier to identify a kind of device.", + "comments": "There can be different code values thath may correspond to different granularities of the same concept. These can be represented as translations using the [codeableConcept](datatypes.html#codeableconcept) datatype. For [UDI](device.html#5.11.3.2.2), this element corresponds to the UDI device identifier (DI) part. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 1, + "max": "1", + "base": { + "path": "Device.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-kind" + } + }, + "mapping": [ + { + "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 devicet. The system uri should be included. Possible URIs include GS1 DIs: http://hl7.org/fhir/NamingSystem/gs1-di HIBCC DIs: http://hl7.org/fhir/NamingSystem/hibcc-di ICCBBA DIs for blood containers: http://hl7.org/fhir/NamingSystem/iccbba-blood-di ICCBA DIs for other devices: http://hl7.org/fhir/NamingSystem/iccbba-other-di" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.lotNumber", + "path": "Device.lotNumber", + "short": "Lot number of manufacture", + "definition": "Lot number assigned by the manufacturer.", + "comments": "Alphanumeric. For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the lot or batch number within which a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The lot or batch number within which a device was manufactured - which is a component of the the production identifier (PI), a conditional, variable portion of a UDI." + }, + { + "identity": "rim", + "map": ".lotNumberText" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.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" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].scoper.name" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.manufactureDate", + "path": "Device.manufactureDate", + "short": "Date when the device was made", + "definition": "The date and time when the device was manufactured.", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the date a physical instance of a device was manufactured. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.manufactureDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "The date a specific device was manufactured - which is a component of the 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": "rim", + "map": ".existenceTime.low" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.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).", + "comments": "For [UDI](device.html#5.11.3.2.2), this element corresponds to the variable portion of a UDI that identifies the expiration date of a physical instance of a device. See [UDI mappings](device-mappings.html#udi) for a complete mapping of UDI parts to Device.", + "min": 0, + "max": "1", + "base": { + "path": "Device.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "the expiration date of a specific device - which is a component of the 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": "rim", + "map": ".expirationTime" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.model", + "path": "Device.model", + "short": "Model id assigned by the manufacturer", + "definition": "The \"model\" is an identifier assigned by the manufacturer to identify the product by its type. This number is shared by the all devices sold as the same type.", + "min": 0, + "max": "1", + "base": { + "path": "Device.model", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=MANU].code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.version", + "path": "Device.version", + "short": "Version number (i.e. software)", + "definition": "The version of the device, if the device has multiple releases under the same model, or if the device is software or carries firmware.", + "min": 0, + "max": "1", + "base": { + "path": "Device.version", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".softwareName (included as part)" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Device:uscoredevice.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=USED].scoper.playedRole[typeCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Device:uscoredevice.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" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=OWN].scoper" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:uscoredevice.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.", + "comments": "used for troubleshooting etc.", + "min": 0, + "max": "*", + "base": { + "path": "Device.contact", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".scopedRole[typeCode=CON].player" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Device:uscoredevice.location", + "path": "Device.location", + "short": "Where the resource 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" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".playedRole[typeCode=LOCE].scoper" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:uscoredevice.url", + "path": "Device.url", + "short": "Network address to contact device", + "definition": "A network address on which the device may be contacted directly.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Device:uscoredevice.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" + } + ], + "mapping": [ + { + "identity": "udi", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".text" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Device:uscoredevice", + "path": "Device", + "sliceName": "USCoreDevice", + "short": "US Core Implanted Device Profile", + "definition": "The US Core Implanted 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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Device:uscoredevice.udiCarrier", + "path": "Device.udiCarrier", + "alias": [ + "UDI", + "Barcode String" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Device:uscoredevice.type", + "path": "Device.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Codes to identify medical devices", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-kind" + } + } + }, + { + "id": "Device:uscoredevice.patient", + "path": "Device.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json b/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json new file mode 100755 index 0000000..c5b511f --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-diagnosticreport.json @@ -0,0 +1,1357 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-diagnosticreport", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

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

name: US Core Diagnostic Report Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

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

name: US Core Diagnostic Report Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: DiagnosticReport

baseDefinition: http://hl7.org/fhir/StructureDefinition/DiagnosticReport

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport", + "name": "US Core Diagnostic Report Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "DiagnosticReport", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/DiagnosticReport", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "DiagnosticReport:uscorediagnosticreport", + "path": "DiagnosticReport", + "sliceName": "USCoreDiagnosticReport", + "short": "US Core Diagnostic Report Profile", + "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.", + "comments": "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "us-core-1", + "severity": "error", + "human": "Must have a result or presentedForm or both.", + "expression": "result.exists() or presemtedForm.exists()", + "xpath": "exists(f:result) or exists(f:presentedForm)" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "ORU -> OBR" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.language", + "path": "DiagnosticReport.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.identifier", + "path": "DiagnosticReport.identifier", + "short": "Id for external references to this report", + "definition": "The local ID assigned to the report by the order filler, usually by the Information System of the diagnostic service provider.", + "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" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBR-51" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.status", + "path": "DiagnosticReport.status", + "short": "registered | partial | final | corrected | appended | cancelled | entered-in-error", + "definition": "The status of the diagnostic report as a whole.", + "comments": "This is labeled as \"Is Modifier\" because applications need to take appropriate action if a report is withdrawn.", + "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" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + }, + "mapping": [ + { + "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\"" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "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": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/DiagnosticReport-category", + "code": "LAB" + } + ] + }, + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "Codes for diagnostic service sections.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-service-sections" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-24" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=LIST, moodCode=EVN, code < LabService].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.code", + "path": "DiagnosticReport.code", + "short": "US Realm Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comments": "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", + "base": { + "path": "DiagnosticReport.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + }, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3 (no HL7 v2 mapping for Group or Device)" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.encounter", + "path": "DiagnosticReport.encounter", + "short": "Health care event when test ordered", + "definition": "The link to the health care event (encounter) when the order was made.", + "min": 0, + "max": "1", + "base": { + "path": "DiagnosticReport.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "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" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.issued", + "path": "DiagnosticReport.issued", + "short": "DateTime this version was released", + "definition": "The date and time that this version of the report was released from the source diagnostic service.", + "comments": "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 Created", + "Date published", + "Date Issued" + ], + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBR-22" + }, + { + "identity": "rim", + "map": "participation[typeCode=VRF or AUT].time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.performer", + "path": "DiagnosticReport.performer", + "short": "Responsible Diagnostic Service", + "definition": "The diagnostic service that is responsible for issuing the report.", + "comments": "This is not necessarily the source of the atomic data items. 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" + ], + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PRT-8 (where this PRT-4-Participation = \"PO\")" + }, + { + "identity": "rim", + "map": "participation[typeCode=AUT].role[classCode=ASSIGN].scoper" + }, + { + "identity": "w5", + "map": "who.witness" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.request", + "path": "DiagnosticReport.request", + "short": "What was requested", + "definition": "Details concerning a test or procedure requested.", + "comments": "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": "Need to be able to track completion of requests based on reports issued and also to report what diagnostic tests were requested (not always the same as what is delivered).", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.request", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC? OBR-2/3?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=FLFS].target" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.specimen", + "path": "DiagnosticReport.specimen", + "short": "Specimens this report is based on", + "definition": "Details about the specimens on which this diagnostic report is based.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.result", + "path": "DiagnosticReport.result", + "short": "Observations - simple, or complex nested groups", + "definition": "Observations that are part of this diagnostic report. Observations can be simple name/value pairs (e.g. \"atomic\" results), or they can be grouping observations that include references to other members of the group (e.g. \"panels\").", + "requirements": "Need to support individual results, or report groups of results, where the result grouping is arbitrary, but meaningful. This structure is recursive - observations can contain observations.", + "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-observationresults" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBXs" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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.", + "comments": "ImagingStudy and ImageManifest 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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingManifest" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target[classsCode=DGIMG, moodCode=EVN]" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image", + "path": "DiagnosticReport.image", + "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.image", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX?" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=COMP].target" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image.id", + "path": "DiagnosticReport.image.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image.extension", + "path": "DiagnosticReport.image.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image.modifierExtension", + "path": "DiagnosticReport.image.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image.comment", + "path": "DiagnosticReport.image.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.", + "comments": "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.image.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.image.link", + "path": "DiagnosticReport.image.link", + "short": "Reference to the image source", + "definition": "Reference to the image source.", + "min": 1, + "max": "1", + "base": { + "path": "DiagnosticReport.image.link", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Media" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".value.reference" + } + ] + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.conclusion", + "path": "DiagnosticReport.conclusion", + "short": "Clinical Interpretation of test results", + "definition": "Concise and clinically contextualized impression / summary 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" + } + ], + "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:uscorediagnosticreport.codedDiagnosis", + "path": "DiagnosticReport.codedDiagnosis", + "short": "Codes for the conclusion", + "definition": "Codes for the conclusion.", + "min": 0, + "max": "*", + "base": { + "path": "DiagnosticReport.codedDiagnosis", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Diagnoses codes provided as adjuncts to the report.", + "valueSetReference": { + "reference": "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:uscorediagnosticreport.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.", + "comments": "\"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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "text (type=ED)" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "DiagnosticReport:uscorediagnosticreport", + "path": "DiagnosticReport", + "sliceName": "USCoreDiagnosticReport", + "short": "US Core Diagnostic Report Profile", + "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" + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Must have a result or presentedForm or both.", + "expression": "result.exists() or presemtedForm.exists()", + "xpath": "exists(f:result) or exists(f:presentedForm)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.status", + "path": "DiagnosticReport.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/diagnostic-report-status" + } + } + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.category", + "path": "DiagnosticReport.category", + "alias": [ + "Department", + "Sub-department", + "service", + "discipline" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/DiagnosticReport-category", + "code": "LAB" + } + ] + }, + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.code", + "path": "DiagnosticReport.code", + "short": "US Realm Laboratory Report Order Code", + "definition": "The test, panel or battery that was ordered.", + "comments": "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, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/report-codes" + } + } + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.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, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.issued", + "path": "DiagnosticReport.issued", + "min": 1, + "max": "1", + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.performer", + "path": "DiagnosticReport.performer", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.result", + "path": "DiagnosticReport.result", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "DiagnosticReport:uscorediagnosticreport.presentedForm", + "path": "DiagnosticReport.presentedForm", + "min": 0, + "max": "*", + "type": [ + { + "code": "Attachment" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-direct.json b/lib/resources/us_core/StructureDefinition-us-core-direct.json new file mode 100755 index 0000000..88e9037 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-direct.json @@ -0,0 +1,241 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-direct", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct

name: Email is a "direct" email

title: US Core Direct email Extension

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

description: This email address is associated with a "direct" service - e.g. http://wiki.directproject.org/Addressing+Specification.

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct

name: Email is a "direct" email

title: US Core Direct email Extension

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

description: This email address is associated with a "direct" service - e.g. http://wiki.directproject.org/Addressing+Specification.

fhirVersion: 1.8.0

Mappings

-IdentityUriName
*rimhttp://hl7.org/v3RIM Mapping

kind: COMPLEXTYPE

abstract: false

contextType: DATATYPE

context: ContactPoint

type: Extension

baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "name": "Email is a \"direct\" email", + "title": "US Core Direct email Extension", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "description": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "contextType": "datatype", + "context": [ + "ContactPoint" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:direct", + "path": "Extension", + "sliceName": "direct", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification.", + "comments": "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "v2", + "map": "No v2 equivalent" + }, + { + "identity": "rim", + "map": "No RIM equivalent" + } + ] + }, + { + "id": "Extension:direct.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:direct.extension", + "path": "Extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:direct.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.", + "comments": "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": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:direct.valueBoolean", + "path": "Extension.valueBoolean", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:direct", + "path": "Extension", + "sliceName": "direct", + "short": "Email is a \"direct\" email", + "definition": "This email address is associated with a \"direct\" service - e.g. http://wiki.directproject.org/Addressing+Specification.", + "comments": "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:direct.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct" + }, + { + "id": "Extension:direct.value[x]", + "path": "Extension.value[x]", + "type": [ + { + "code": "boolean" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json b/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json new file mode 100755 index 0000000..da25647 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-ethnicity.json @@ -0,0 +1,832 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-ethnicity", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

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

name: US Core ethnicity Extension

title: US Core ethnicity Extension

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

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:\r- Hispanic or Latino\r- Not Hispanic or Latino.

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

name: US Core ethnicity Extension

title: US Core ethnicity Extension

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

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:\r- Hispanic or Latino\r- Not Hispanic or Latino.

purpose: Complies with 2015 Edition Common Clinical Data Set for patient race.

fhirVersion: 1.8.0

Mappings

-IdentityUriName
*rimhttp://hl7.org/v3RIM Mapping

kind: COMPLEXTYPE

abstract: false

contextType: RESOURCE

context: Patient

type: Extension

baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "name": "US Core ethnicity Extension", + "title": "US Core ethnicity Extension", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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:\r- Hispanic or Latino\r- Not Hispanic or Latino.", + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "Patient" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:ethnicity", + "path": "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:\r- Hispanic or Latino\r- 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:ethnicity.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.extension", + "path": "Extension.extension", + "slicing": { + "id": "2", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:ethnicity.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.whitehouse.gov/omb/fedreg_1997standards).", + "min": 1, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension:ethnicity.extension:ombcategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.extension:ombcategory.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.extension:ombcategory.valueCoding", + "path": "Extension.extension.valueCoding", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "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.whitehouse.gov/omb/fedreg_1997standards).", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.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" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension:ethnicity.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.extension:detailed.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.extension:detailed.valueCoding", + "path": "Extension.extension.valueCoding", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:ethnicity.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.extension:text.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:ethnicity.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.extension:text.valueString", + "path": "Extension.extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.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.", + "comments": "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": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:ethnicity.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:ethnicity", + "path": "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:\r- Hispanic or Latino\r- Not Hispanic or Latino.", + "min": 0, + "max": "1", + "isModifier": false + }, + { + "id": "Extension:ethnicity.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.whitehouse.gov/omb/fedreg_1997standards).", + "min": 1, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/ethnicGroupCode" + } + ] + }, + { + "id": "Extension:ethnicity.extension:ombcategory.value[x]", + "path": "Extension.extension.value[x]", + "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.whitehouse.gov/omb/fedreg_1997standards).", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity" + } + } + }, + { + "id": "Extension:ethnicity.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" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:ethnicGroupCode" + } + ] + }, + { + "id": "Extension:ethnicity.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity" + } + } + }, + { + "id": "Extension:ethnicity.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "ethnicity Text", + "definition": "Plain text representation of the ethnicity concept(s).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:ethnicity.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension:ethnicity.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity" + }, + { + "id": "Extension:ethnicity.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-goal.json b/lib/resources/us_core/StructureDefinition-us-core-goal.json new file mode 100755 index 0000000..1bf7fb8 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-goal.json @@ -0,0 +1,998 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-goal", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal

name: US Core Goal Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal

name: US Core Goal Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Goal

baseDefinition: http://hl7.org/fhir/StructureDefinition/Goal

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal", + "name": "US Core Goal Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Goal", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Goal", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Goal:uscoregoal", + "path": "Goal", + "sliceName": "USCoreGoal", + "short": "US Core Goal Profile", + "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.", + "comments": "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "GOL.1" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode<=OBJ]." + }, + { + "identity": "w5", + "map": "clinical.careprovision" + } + ] + }, + { + "id": "Goal:uscoregoal.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Goal:uscoregoal.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Goal:uscoregoal.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Goal:uscoregoal.language", + "path": "Goal.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Goal:uscoregoal.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Goal:uscoregoal.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal:uscoregoal.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal:uscoregoal.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal:uscoregoal.identifier", + "path": "Goal.identifier", + "short": "External Ids for this goal", + "definition": "This records identifiers associated with this care plan 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 (e.g. in CDA documents, or in written / printed documentation).", + "requirements": "Need to allow connection to a wider workflow.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Goal:uscoregoal.status", + "path": "Goal.status", + "short": "proposed | planned | accepted | rejected | in-progress | achieved | sustaining | on-hold | cancelled | on-target | ahead-of-target | behind-target | entered-in-error", + "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", + "base": { + "path": "Goal.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-status" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "GOL-18-goal life cycle status" + }, + { + "identity": "rim", + "map": ".statusCode in-progress = active (classCode = OBJ) achieved = complete sustaining = active (classCode=OBJC) cancelled = aborted" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Goal:uscoregoal.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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes for grouping and sorting goals", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-category" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Goal:uscoregoal.priority", + "path": "Goal.priority", + "short": "high | medium |low", + "definition": "Identifies the mutually agreed level of importance associated with reaching/sustaining the goal.", + "comments": "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) The 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" + } + ], + "isSummary": true, + "binding": { + "strength": "preferred", + "description": "The level of importance associated with a goal", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-priority" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".priorityCode" + }, + { + "identity": "w5", + "map": "grade" + } + ] + }, + { + "id": "Goal:uscoregoal.description", + "path": "Goal.description", + "short": "Code or text describing goal", + "definition": "proposed | draft | active | completed | cancelled.", + "comments": "If no code is available, use CodeableConcept.text.", + "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": "Goal.description", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "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." + }, + "mapping": [ + { + "identity": "v2", + "map": "GOL-3.2-goal ID.text" + }, + { + "identity": "rim", + "map": ".text" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Goal:uscoregoal.subject", + "path": "Goal.subject", + "short": "Who this goal is intended for", + "definition": "Who care plan is for.", + "requirements": "Identifies the patient or group whose intended care is described by the plan.", + "min": 1, + "max": "1", + "base": { + "path": "Goal.subject", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3-patient ID list" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PAT].role[classCode=PAT]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Goal:uscoregoal.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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing events that can trigger the initiation of a goal", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-start-event" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "when.planned" + } + ] + }, + { + "id": "Goal:uscoregoal.target[x]", + "path": "Goal.target[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[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + }, + { + "code": "Duration" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Goal:uscoregoal.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.", + "comments": "To see the date for past statuses, query history.", + "min": 0, + "max": "1", + "base": { + "path": "Goal.statusDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "date" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Goal:uscoregoal.statusReason", + "path": "Goal.statusReason", + "short": "Reason for current status", + "definition": "Captures the reason for the current status.", + "comments": "This will typically be captured for statuses such as rejected, on-hold or cancelled, but could be present for others.", + "min": 0, + "max": "*", + "base": { + "path": "Goal.statusReason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes to identify the reason for a goal's current status", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-status-reason" + } + } + }, + { + "id": "Goal:uscoregoal.expressedBy", + "path": "Goal.expressedBy", + "short": "Who's responsible for creating Goal?", + "definition": "Indicates whose goal this is - patient goal, practitioner goal, etc.", + "comments": "This is the individual reponsible 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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Goal:uscoregoal.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationStatement" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/NutritionRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RiskAssessment" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SUBJ].target[classCode=CONC]" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Goal:uscoregoal.note", + "path": "Goal.note", + "short": "Comments about the goal", + "definition": "Any comments related to the goal.", + "comments": "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" + } + ], + "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:uscoregoal.outcome", + "path": "Goal.outcome", + "short": "What result was achieved regarding the goal?", + "definition": "Identifies the change (or lack of change) at the point where the goal was deemed to be cancelled or achieved.", + "comments": "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.outcome", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "Goal:uscoregoal.outcome.id", + "path": "Goal.outcome.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal:uscoregoal.outcome.extension", + "path": "Goal.outcome.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Goal:uscoregoal.outcome.modifierExtension", + "path": "Goal.outcome.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Goal:uscoregoal.outcome.result[x]", + "path": "Goal.outcome.result[x]", + "short": "Code or observation that resulted from goal", + "definition": "Details of what's changed (or not changed).", + "min": 0, + "max": "1", + "base": { + "path": "Goal.outcome.result[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "binding": { + "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\"" + } + } + ] + }, + "differential": { + "element": [ + { + "id": "Goal:uscoregoal", + "path": "Goal", + "sliceName": "USCoreGoal", + "short": "US Core Goal Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal:uscoregoal.status", + "path": "Goal.status", + "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": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/goal-status" + } + } + }, + { + "id": "Goal:uscoregoal.description", + "path": "Goal.description", + "definition": "proposed | draft | active | completed | cancelled.", + "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": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Goal:uscoregoal.subject", + "path": "Goal.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, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-immunization.json b/lib/resources/us_core/StructureDefinition-us-core-immunization.json new file mode 100755 index 0000000..e820cb1 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-immunization.json @@ -0,0 +1,2210 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-immunization", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization

name: US Core Immunization Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization

name: US Core Immunization Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: quick

uri: http://wiki.siframework.org/CQF

name: Quality Improvement and Clinical Knowledge (QUICK)

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization", + "name": "US Core Immunization Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "quick", + "uri": "http://wiki.siframework.org/CQF", + "name": "Quality Improvement and Clinical Knowledge (QUICK)" + }, + { + "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/w5", + "name": "W5 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:uscoreimmunization", + "path": "Immunization", + "sliceName": "USCoreImmunization", + "short": "US Core Immunization Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "imm-2", + "severity": "error", + "human": "If immunization was administered (wasNotGiven=false) then explanation.reasonNotGiven SHALL be absent.", + "expression": "(wasNotGiven = true) or explanation.reasonNotGiven.empty()", + "xpath": "not(f:wasNotGiven/@value=false() and exists(f:explanation/f:reasonNotGiven))", + "source": "Immunization" + }, + { + "key": "imm-1", + "severity": "error", + "human": "If immunization was not administered (wasNotGiven=true) then there SHALL be no reaction nor explanation.reason present", + "expression": "(wasNotGiven = true).not() or (reaction.empty() and explanation.reason.empty())", + "xpath": "not(f:wasNotGiven/@value=true() and (count(f:reaction) > 0 or exists(f:explanation/f:reason)))", + "source": "Immunization" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "VXU_V04" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + }, + { + "identity": "quick", + "map": "ImmunizationPerformanceOccurrence" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Immunization:uscoreimmunization.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Immunization:uscoreimmunization.language", + "path": "Immunization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Immunization:uscoreimmunization.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.status", + "path": "Immunization.status", + "short": "completed | entered-in-error", + "definition": "Indicates the current status of the vaccination event.", + "comments": "Will generally be set to show that the immunization has been completed.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained list of immunizaiotn status", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-immunization-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.date", + "path": "Immunization.date", + "short": "Vaccination administration date", + "definition": "Date vaccine administered or was to be administered.", + "comments": "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.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.date", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-3" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/effectiveTime/value" + }, + { + "identity": "w5", + "map": "when.init" + }, + { + "identity": "quick", + "map": "performanceTime" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "The code for vaccine product administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccine-code" + } + }, + "mapping": [ + { + "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": "w5", + "map": "what" + }, + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.id", + "path": "Immunization.vaccineCode.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.extension", + "path": "Immunization.vaccineCode.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.coding", + "path": "Immunization.vaccineCode.coding", + "slicing": { + "discriminator": [ + "code" + ], + "rules": "open" + }, + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "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": "Immunization:uscoreimmunization.vaccineCode.coding:uscorevaccinecodes", + "path": "Immunization.vaccineCode.coding", + "sliceName": "USCoreVaccineCodes", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The CVX (vaccine administered) code system", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-cvx" + } + }, + "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" + }, + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.coding", + "path": "Immunization.vaccineCode.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "NDC codes to identify vaccines", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes" + } + }, + "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" + }, + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.text", + "path": "Immunization.vaccineCode.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.", + "comments": "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" + } + ], + "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": "Immunization:uscoreimmunization.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".partipication[ttypeCode=].role" + }, + { + "identity": "w5", + "map": "who.focus" + }, + { + "identity": "quick", + "map": "subject" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.wasNotGiven", + "path": "Immunization.wasNotGiven", + "short": "Flag for whether immunization was given", + "definition": "Indicates if the vaccination was or was not given.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.wasNotGiven", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "Reflects the “reliability” of the content.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.primarySource", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "RXA-9" + }, + { + "identity": "rim", + "map": "immunization.uncertaintycode (if primary source=false, uncertainty=U)" + }, + { + "identity": "w5", + "map": "who.source" + }, + { + "identity": "quick", + "map": "reported" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "Should not be populated if primarySource = True, will not be required even if primarySource = False.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.reportOrigin", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The source of the data for a record which is not from a primary source.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-origin" + } + }, + "mapping": [ + { + "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)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.performer", + "path": "Immunization.performer", + "short": "Who administered vaccine", + "definition": "Clinician who administered the vaccine.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.performer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-10" + }, + { + "identity": "rim", + "map": ".participation[typeCode=PRF].COCT_MT090102UV" + }, + { + "identity": "cda", + "map": "ClinicalDocument/component/StructuredBody/component/section/entry/substanceAdministration/performer/assignedEntity/assignedPerson/name" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.requester", + "path": "Immunization.requester", + "short": "Who ordered vaccination", + "definition": "Clinician who ordered the vaccination.", + "comments": "Other participants - delegate to Provenance resource.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.requester", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "ORC-12" + }, + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=SBADM].participation[typeCode=AUT].COCT_MT090102UV" + }, + { + "identity": "w5", + "map": "who.cause" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.encounter", + "path": "Immunization.encounter", + "short": "Encounter administered as 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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": "component->EncounterEvent" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "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:uscoreimmunization.location", + "path": "Immunization.location", + "short": "Where vaccination 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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-27 (or RXA-11, deprecated as of v2.7)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=LOC].COCT_MT240000UV" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "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:uscoreimmunization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-16" + }, + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "binding": { + "strength": "example", + "description": "The site at which the vaccine was administered", + "valueSetReference": { + "reference": "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:uscoreimmunization.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" + } + ], + "binding": { + "strength": "example", + "description": "The route by which the vaccine was administered", + "valueSetReference": { + "reference": "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:uscoreimmunization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "RXA-6 / RXA-7.1" + }, + { + "identity": "rim", + "map": ".doseQuantity" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.note", + "path": "Immunization.note", + "short": "Vaccination 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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "note" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation", + "path": "Immunization.explanation", + "short": "Administration/non-administration reasons", + "definition": "Reasons why a vaccine was or was not administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.explanation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation.id", + "path": "Immunization.explanation.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation.extension", + "path": "Immunization.explanation.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation.modifierExtension", + "path": "Immunization.explanation.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation.reason", + "path": "Immunization.explanation.reason", + "short": "Why immunization occurred", + "definition": "Reasons why a vaccine was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.explanation.reason", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/immunization-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "[actionNegationInd=false].reasonCode" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.explanation.reasonNotGiven", + "path": "Immunization.explanation.reasonNotGiven", + "short": "Why immunization did not occur", + "definition": "Reason why a vaccine was not administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.explanation.reasonNotGiven", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason why a vaccine was not administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/no-immunization-reason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "RXA-18" + }, + { + "identity": "rim", + "map": "[actionNegationInd=true].reasonCode" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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.", + "comments": "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](allergyintolerance.html) 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "Observation[classCode=obs].code" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.reaction.id", + "path": "Immunization.reaction.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.reaction.modifierExtension", + "path": "Immunization.reaction.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "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:uscoreimmunization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-5" + }, + { + "identity": "rim", + "map": ".value" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(no such concept seems to exist for allergy/adverse reaction in HL7 v2)" + }, + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT] (this syntax for self-reported=true)" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol", + "path": "Immunization.vaccinationProtocol", + "short": "What protocol was followed", + "definition": "Contains information about the protocol(s) under which the vaccine was administered.", + "min": 0, + "max": "*", + "base": { + "path": "Immunization.vaccinationProtocol", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "(HL7 v2 doesn't seem to provide for this)" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.id", + "path": "Immunization.vaccinationProtocol.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.extension", + "path": "Immunization.vaccinationProtocol.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.modifierExtension", + "path": "Immunization.vaccinationProtocol.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.doseSequence", + "path": "Immunization.vaccinationProtocol.doseSequence", + "short": "Dose number within series", + "definition": "Nominal position in a series.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.doseSequence", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].sequenceNumber" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.description", + "path": "Immunization.vaccinationProtocol.description", + "short": "Details of vaccine protocol", + "definition": "Contains the description about the protocol under which the vaccine was administered.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.description", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.authority", + "path": "Immunization.vaccinationProtocol.authority", + "short": "Who is responsible for protocol", + "definition": "Indicates the authority who published the protocol. E.g. ACIP.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.authority", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].participation[typeCode=AUT].COCT_MT090200UV" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.series", + "path": "Immunization.vaccinationProtocol.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.vaccinationProtocol.series", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM]" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.seriesDoses", + "path": "Immunization.vaccinationProtocol.seriesDoses", + "short": "Recommended number of doses for immunity", + "definition": "The recommended number of doses to achieve immunity.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.seriesDoses", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "positiveInt" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=INST].target[classCode=SBADM].inboundRelationship[typeCode=COMP].source[classCode=SBADM].text" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.targetDisease", + "path": "Immunization.vaccinationProtocol.targetDisease", + "short": "Disease immunized against", + "definition": "The targeted disease.", + "min": 1, + "max": "*", + "base": { + "path": "Immunization.vaccinationProtocol.targetDisease", + "min": 1, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The disease target of the vaccination protocol", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-target" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship.target[classCode=OBS].code" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.doseStatus", + "path": "Immunization.vaccinationProtocol.doseStatus", + "short": "Indicates if dose counts towards immunity", + "definition": "Indicates if the immunization event should \"count\" against the protocol.", + "comments": "May need to differentiate between status declarations by a provider vs. a CDS engine.", + "min": 1, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.doseStatus", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The status of the vaccination protocol (i.e. should this count)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].value" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccinationProtocol.doseStatusReason", + "path": "Immunization.vaccinationProtocol.doseStatusReason", + "short": "Why dose does (not) count", + "definition": "Provides an explanation as to why an immunization event should or should not count against the protocol.", + "min": 0, + "max": "1", + "base": { + "path": "Immunization.vaccinationProtocol.doseStatusReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "The reason for the determining if a vaccination should count or why vaccination should not count.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/vaccination-protocol-dose-status-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].playedRole[classCode=INGR].scopedRole.scoper[classCode=MMAT].playedRole[classCode=HLTHCHRT].participation[typeCode=SBJ].observation[classCode=OBS].reasonCode" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Immunization:uscoreimmunization", + "path": "Immunization", + "sliceName": "USCoreImmunization", + "short": "US Core Immunization Profile", + "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, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "quick", + "map": "ImmunizationPerformanceOccurrence" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.status", + "path": "Immunization.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Constrained list of immunizaiotn status", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-immunization-status" + } + } + }, + { + "id": "Immunization:uscoreimmunization.date", + "path": "Immunization.date", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "quick", + "map": "performanceTime" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode", + "path": "Immunization.vaccineCode", + "short": "Vaccine Product Type (bind to CVX)", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.coding:uscorevaccinecodes", + "path": "Immunization.vaccineCode.coding", + "sliceName": "USCoreVaccineCodes", + "slicing": { + "discriminator": [ + "code" + ], + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "The CVX (vaccine administered) code system", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-cvx" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.vaccineCode.coding", + "path": "Immunization.vaccineCode.coding", + "min": 0, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "NDC codes to identify vaccines", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes" + } + }, + "mapping": [ + { + "identity": "quick", + "map": "vaccine" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.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, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "quick", + "map": "subject" + } + ] + }, + { + "id": "Immunization:uscoreimmunization.wasNotGiven", + "path": "Immunization.wasNotGiven", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Immunization:uscoreimmunization.primarySource", + "path": "Immunization.primarySource", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "quick", + "map": "reported" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-location.json b/lib/resources/us_core/StructureDefinition-us-core-location.json new file mode 100755 index 0000000..6df9ddc --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-location.json @@ -0,0 +1,1606 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-location", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location

name: US Core Location Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-location

name: US Core Location Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: servd

uri: http://www.omg.org/spec/ServD/1.0/

name: ServD

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Location

baseDefinition: http://hl7.org/fhir/StructureDefinition/Location

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location", + "name": "US Core Location Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Location", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Location", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Location:uscorelocation", + "path": "Location", + "sliceName": "USCoreLocation", + "short": "US Core Location Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": ".Role[classCode=SDLC]" + }, + { + "identity": "w5", + "map": "administrative.entity" + }, + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Location:uscorelocation.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Location:uscorelocation.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Location:uscorelocation.language", + "path": "Location.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Location:uscorelocation.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:uscorelocation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:uscorelocation.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Location:uscorelocation.status", + "path": "Location.status", + "short": "active | suspended | inactive", + "definition": "active | suspended | inactive.", + "min": 0, + "max": "1", + "base": { + "path": "Location.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Indicates whether the location is still in use.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "comments": "If the name of an 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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "comments": "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. For 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC determinerCode=INSTANCE].desc" + } + ] + }, + { + "id": "Location:uscorelocation.mode", + "path": "Location.mode", + "short": "instance | kind", + "definition": "Indicates whether a resource instance represents a specific location or a class of locations.", + "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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Indicates whether a resource instance represents a specific location or a class of locations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-mode" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity[classCode=PLC].determinerCode" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:uscorelocation.type", + "path": "Location.type", + "short": "Type of function performed", + "definition": "Indicates the type of function performed at the location.", + "min": 0, + "max": "1", + "base": { + "path": "Location.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "Indicates the type of function performed at the location.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-ServiceDeliveryLocationRoleType" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".telecom" + } + ] + }, + { + "id": "Location:uscorelocation.address", + "path": "Location.address", + "short": "Physical location", + "definition": "Physical location.", + "comments": "This was kept as 0..1 as there is no use property on the address, so wouldn't be able to identify different address types.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".addr" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.address.id", + "path": "Location.address.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.address.extension", + "path": "Location.address.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.address.use", + "path": "Location.address.use", + "short": "home | work | temp | old - purpose of this address", + "definition": "The purpose of this address.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of an address", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of an address (physical / postal)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Location:uscorelocation.address.text", + "path": "Location.address.text", + "short": "Text representation of the address", + "definition": "A full text representation of the address.", + "comments": "Can provide both a text representation and parts.", + "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" + } + ], + "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:uscorelocation.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.", + "requirements": "home | work | temp | old - purpose of this address.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscorelocation.address.city", + "path": "Location.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, 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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Location:uscorelocation.address.district", + "path": "Location.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Location:uscorelocation.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 (i.e. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/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:uscorelocation.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Location:uscorelocation.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.", + "comments": "ISO 3166 3 letter codes can be used in place of a full country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "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:uscorelocation.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" + } + } + ], + "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:uscorelocation.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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Physical form of the location", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/location-physical-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Location:uscorelocation.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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity [classCode=PLC determinerCode=INSTANCE].positionText" + } + ] + }, + { + "id": "Location:uscorelocation.position.id", + "path": "Location.position.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.position.modifierExtension", + "path": "Location.position.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "(RIM Opted not to map the sub-elements of GPS location, is now an OBS)" + } + ] + }, + { + "id": "Location:uscorelocation.managingOrganization", + "path": "Location.managingOrganization", + "short": "Organization responsible for provisioning and upkeep", + "definition": "The organization responsible for the provisioning and upkeep of the location.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".scopingEntity[classCode=ORG determinerKind=INSTANCE]" + } + ] + }, + { + "id": "Location:uscorelocation.partOf", + "path": "Location.partOf", + "short": "Another Location this one is physically part of", + "definition": "Another Location which this Location is physically 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": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundLink[typeCode=PART].source[classCode=SDLC]" + } + ] + }, + { + "id": "Location:uscorelocation.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Location:uscorelocation", + "path": "Location", + "sliceName": "USCoreLocation", + "short": "US Core Location Profile", + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Location:uscorelocation.status", + "path": "Location.status", + "min": 0, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:uscorelocation.name", + "path": "Location.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Location:uscorelocation.telecom", + "path": "Location.telecom", + "min": 0, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:uscorelocation.address", + "path": "Location.address", + "min": 0, + "max": "1", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Location:uscorelocation.address.line", + "path": "Location.address.line", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:uscorelocation.address.city", + "path": "Location.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:uscorelocation.address.state", + "path": "Location.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Two letter USPS alphabetic codes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/usps-state" + } + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Location:uscorelocation.address.postalCode", + "path": "Location.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Location:uscorelocation.managingOrganization", + "path": "Location.managingOrganization", + "min": 0, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-medication.json b/lib/resources/us_core/StructureDefinition-us-core-medication.json new file mode 100755 index 0000000..9f6b6ee --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-medication.json @@ -0,0 +1,1385 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medication", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication

name: US Core Medication Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication

name: US Core Medication Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: script10.6

uri: http://ncpdp.org/SCRIPT10_6

name: Mapping to NCPDP SCRIPT 10.6

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication", + "name": "US Core Medication Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 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:uscoremedication", + "path": "Medication", + "sliceName": "USCoreMedication", + "short": "US Core Medication Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "NewRx/MedicationPrescribed -or- RxFill/MedicationDispensed -or- RxHistoryResponse/MedicationDispensed -or- RxHistoryResponse/MedicationPrescribed" + }, + { + "identity": "rim", + "map": "ManufacturedProduct[classCode=ADMM]" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "Medication:uscoremedication.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Medication:uscoremedication.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Medication:uscoremedication.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Medication:uscoremedication.language", + "path": "Medication.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Medication:uscoremedication.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Medication:uscoremedication.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.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.", + "comments": "Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) should be marked as \"primary\". 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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription" + }, + { + "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": "w5", + "map": "class" + } + ] + }, + { + "id": "Medication:uscoremedication.isBrand", + "path": "Medication.isBrand", + "short": "True if a brand", + "definition": "Set to true if the item is attributable to a specific manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.isBrand", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "true if .player.scopingRole[typeCode=MANU] exists" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Medication:uscoremedication.manufacturer", + "path": "Medication.manufacturer", + "short": "Manufacturer of the item", + "definition": "Describes the details of the manufacturer.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.manufacturer", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "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" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Medication:uscoremedication.product", + "path": "Medication.product", + "short": "Administrable medication details", + "definition": "Information that only applies to products (not packages).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.product", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "//element(*,DrugCodedType)/" + }, + { + "identity": "rim", + "map": ".player [classCode != CONT]" + } + ] + }, + { + "id": "Medication:uscoremedication.product.id", + "path": "Medication.product.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.extension", + "path": "Medication.product.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.modifierExtension", + "path": "Medication.product.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.product.form", + "path": "Medication.product.form", + "short": "powder | tablets | capsule +", + "definition": "Describes the form of the item. Powder; tablets; capsule.", + "comments": "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.product.form", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept defining the form of a medication", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-form-codes" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,DrugCodedType)/FormCode coding.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:uscoremedication.product.ingredient", + "path": "Medication.product.ingredient", + "short": "Active or inactive ingredient", + "definition": "Identifies a particular constituent of interest in the product.", + "comments": "The ingredients need not be a complete list; usually only active ingredients are listed.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.product.ingredient", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".scopesRole[typeCode=INGR]" + } + ] + }, + { + "id": "Medication:uscoremedication.product.ingredient.id", + "path": "Medication.product.ingredient.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.ingredient.extension", + "path": "Medication.product.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.ingredient.modifierExtension", + "path": "Medication.product.ingredient.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.product.ingredient.item[x]", + "path": "Medication.product.ingredient.item[x]", + "short": "The product contained", + "definition": "The actual ingredient - either a substance (simple ingredient) or another medication.", + "min": 1, + "max": "1", + "base": { + "path": "Medication.product.ingredient.item[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.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:uscoremedication.product.ingredient.amount", + "path": "Medication.product.ingredient.amount", + "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.product.ingredient.amount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Ratio" + } + ], + "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:uscoremedication.product.batch", + "path": "Medication.product.batch", + "short": "Identifies a single production run", + "definition": "Information about a group of medication produced or packaged from one production run.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.product.batch", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].id" + } + ] + }, + { + "id": "Medication:uscoremedication.product.batch.id", + "path": "Medication.product.batch.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.batch.extension", + "path": "Medication.product.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.product.batch.modifierExtension", + "path": "Medication.product.batch.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.product.batch.lotNumber", + "path": "Medication.product.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.product.batch.lotNumber", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "RXA-15 Substance Lot Number / RXG-19 Substance Lot Number" + }, + { + "identity": "rim", + "map": "Not Mapped" + } + ] + }, + { + "id": "Medication:uscoremedication.product.batch.expirationDate", + "path": "Medication.product.batch.expirationDate", + "short": "When batch will expire", + "definition": "When this specific batch of product will expire.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.product.batch.expirationDate", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "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" + } + ] + }, + { + "id": "Medication:uscoremedication.package", + "path": "Medication.package", + "short": "Details about packaged medications", + "definition": "Information that only applies to packages (not products).", + "min": 0, + "max": "1", + "base": { + "path": "Medication.package", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player[classCode=CONT]" + } + ] + }, + { + "id": "Medication:uscoremedication.package.id", + "path": "Medication.package.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.package.extension", + "path": "Medication.package.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.package.modifierExtension", + "path": "Medication.package.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.package.container", + "path": "Medication.package.container", + "short": "E.g. box, vial, blister-pack", + "definition": "The kind of container that this package comes as.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.package.container", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept defining the kind of container a medication package is packaged in", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-package-form-codes" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".code" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content", + "path": "Medication.package.content", + "short": "What is in the package", + "definition": "A set of components that go to make up the described item.", + "min": 0, + "max": "*", + "base": { + "path": "Medication.package.content", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".scopesRole[typeCode=CONT]" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content.id", + "path": "Medication.package.content.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content.extension", + "path": "Medication.package.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content.modifierExtension", + "path": "Medication.package.content.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content.item[x]", + "path": "Medication.package.content.item[x]", + "short": "The item in the package", + "definition": "Identifies one of the items in the package.", + "min": 1, + "max": "1", + "base": { + "path": "Medication.package.content.item[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".player" + } + ] + }, + { + "id": "Medication:uscoremedication.package.content.amount", + "path": "Medication.package.content.amount", + "short": "Quantity present in the package", + "definition": "The amount of the product that is in the package.", + "min": 0, + "max": "1", + "base": { + "path": "Medication.package.content.amount", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity", + "profile": "http://hl7.org/fhir/StructureDefinition/SimpleQuantity" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": ".quantity" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Medication:uscoremedication", + "path": "Medication", + "sliceName": "USCoreMedication", + "short": "US Core Medication Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Medication:uscoremedication.code", + "path": "Medication.code", + "min": 1, + "max": "1", + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json b/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json new file mode 100755 index 0000000..98f7e39 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-medicationrequest.json @@ -0,0 +1,1554 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medicationrequest", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest

name: US Core Medication Request Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest

name: US Core Medication Request Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: script10.6

uri: http://ncpdp.org/SCRIPT10_6

name: Mapping to NCPDP SCRIPT 10.6

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest", + "name": "US Core Medication Request Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 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:uscoremedicationrequest", + "path": "MedicationRequest", + "sliceName": "USCoreMedicationRequest", + "short": "US Core Medication Request Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "script10.6", + "map": "Message/Body/NewRx" + }, + { + "identity": "rim", + "map": "CombinedMedicationRequest" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.language", + "path": "MedicationRequest.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.identifier", + "path": "MedicationRequest.identifier", + "short": "External identifier", + "definition": "External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Header/PrescriberOrderNumber" + }, + { + "identity": "v2", + "map": "ORC-2-Placer Order Number / ORC-3-Filler Order Number" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.definition", + "path": "MedicationRequest.definition", + "short": "Protocol or definition", + "definition": "Protocol or definition followed by this request.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.definition", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ActivityDefinition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/PlanDefinition" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.basedOn", + "path": "MedicationRequest.basedOn", + "short": "What request fulfills", + "definition": "Plan/proposal/order fulfilled by this request.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.basedOn", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.requisition", + "path": "MedicationRequest.requisition", + "short": "Identifier of composite", + "definition": "Composite request this is part of.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.requisition", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true + }, + { + "id": "MedicationRequest:uscoremedicationrequest.status", + "path": "MedicationRequest.status", + "short": "active | on-hold | cancelled | completed | entered-in-error | stopped | draft", + "definition": "A code specifying the state of the order. Generally this will be active or completed state.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.status", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-order-status" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.stage", + "path": "MedicationRequest.stage", + "short": "proposal | plan | original-order", + "definition": "Whether the request is a proposal, plan, or an original order.", + "comments": "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.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.stage", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "example", + "description": "The kind of medication order", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-stage" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.medication[x]", + "path": "MedicationRequest.medication[x]", + "short": "Medication to be taken", + "definition": "Identifies the medication being administered. 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.", + "comments": "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. Note: do not use Medication.name to describe the prescribed medication. When the only available information is a text description of the medication, Medication.code.text should be used.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed Medication.code.coding.code = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCode Medication.code.coding.system = Message/Body/NewRx/MedicationPrescribed/DrugCoded/ProductCodeQualifier Medication.code.coding.display = Message/Body/NewRx/MedicationPrescribed/DrugDescription" + }, + { + "identity": "v2", + "map": "RXE-2-Give Code / RXO-1-Requested Give Code / RXC-2-Component Code" + }, + { + "identity": "rim", + "map": "consumable.administrableMedication" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.patient", + "path": "MedicationRequest.patient", + "short": "Who prescription is for", + "definition": "A link to a resource representing the person to whom the medication will be given.", + "comments": "The patient on a medicationRequest is mandatory. For the secondary use case where the actual patient is not provided, there still must be an anonymyzed patient specified.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.patient", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Patient (need detail to link to specific patient … Patient.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "subject.role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.context", + "path": "MedicationRequest.context", + "short": "Created during encounter/admission/stay", + "definition": "A link to a resource that identifies the particular occurrence or set oc occurences of contact between patient and health care provider.", + "comments": "SubstanceAdministration->component->EncounterEvent.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.context", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/EpisodeOfCare" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "v2", + "map": "PV1-19-Visit Number" + }, + { + "identity": "rim", + "map": "componentOf.patientEncounter" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dateWritten", + "path": "MedicationRequest.dateWritten", + "short": "When prescription was initially authorized", + "definition": "The date (and perhaps time) when the prescription was initially written.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.dateWritten", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/WrittenDate" + }, + { + "identity": "v2", + "map": "RXE-32-Original Order Date/Time / ORC-9-Date/Time of Transaction" + }, + { + "identity": "rim", + "map": "author.time" + }, + { + "identity": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.requester", + "path": "MedicationRequest.requester", + "short": "Who ordered the initial medication(s)", + "definition": "The healthcare professional responsible for authorizing the initial prescription.", + "comments": "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.", + "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-pract" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/Prescriber (need detail to link to specific prescriber … Prescriber.Identification in SCRIPT)" + }, + { + "identity": "v2", + "map": "RXE-13-Ordering Provider's DEA Number / RXO-14-Ordering Provider's DEA Number / RXE-14-Pharmacist/Treatment Supplier's Verifier ID / RXO-15-Pharmacist/Treatment Supplier's Verifier ID / ORC-12-Ordering Provider / PRT-5-Participation Person: PRT-4-Participation='OP' (all but last deprecated)" + }, + { + "identity": "rim", + "map": "author.role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.reasonCode", + "path": "MedicationRequest.reasonCode", + "short": "Reason or indication for writing the prescription", + "definition": "Can be the reason or the indication for writing the prescription.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept indicating why the medication was ordered.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Diagnosis/Primary/Value" + }, + { + "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" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.reasonReference", + "path": "MedicationRequest.reasonReference", + "short": "Condition or Observation that supports why the prescription is being written", + "definition": "Condition or observation that supports why the prescription is being written.", + "comments": "This is a reference to a condition 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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "no mapping" + }, + { + "identity": "rim", + "map": "reason.observation[code=ASSERTION].value" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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" + } + ], + "mapping": [ + { + "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:uscoremedicationrequest.category", + "path": "MedicationRequest.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication order and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationRequest.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication ordered is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-request-category" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Directions or Message/Body/NewRx/MedicationPrescribed/StructuredSIG" + }, + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dosageInstruction", + "path": "MedicationRequest.dosageInstruction", + "short": "How the medication should be taken", + "definition": "Indicates how the medication is to be used by the patient.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.dosageInstruction", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "DosageInstruction" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest", + "path": "MedicationRequest.dispenseRequest", + "short": "Medication supply authorization", + "definition": "Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/ExpirationDate" + }, + { + "identity": "rim", + "map": "component.supplyEvent" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.id", + "path": "MedicationRequest.dispenseRequest.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dispenseRequest.modifierExtension", + "path": "MedicationRequest.dispenseRequest.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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).", + "comments": "It reflects the prescriber 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" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Refills" + }, + { + "identity": "rim", + "map": "effectiveTime" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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.", + "comments": "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": "positiveInt" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Quantity" + }, + { + "identity": "v2", + "map": "RXE-12-Number of Refills" + }, + { + "identity": "rim", + "map": "repeatNumber" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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" + } + ], + "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:uscoremedicationrequest.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "expectedUseTime" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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" + } + ], + "mapping": [ + { + "identity": "w5", + "map": "who" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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, and in others it does not matter. 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "specific values within Message/Body/NewRx/MedicationPrescribed/Substitutions" + }, + { + "identity": "rim", + "map": "subjectOf.substitutionPersmission" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.substitution.id", + "path": "MedicationRequest.substitution.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.substitution.modifierExtension", + "path": "MedicationRequest.substitution.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.substitution.allowed", + "path": "MedicationRequest.substitution.allowed", + "short": "Whether substitution is allowed or not", + "definition": "True if the prescriber allows a different drug to be dispensed from what was prescribed.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationRequest.substitution.allowed", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "isModifier": true, + "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:uscoremedicationrequest.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" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v3-SubstanceAdminSubstitutionReason" + } + }, + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "v2", + "map": "RXE-9 Substition status" + }, + { + "identity": "rim", + "map": "reasonCode" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.priorPrescription", + "path": "MedicationRequest.priorPrescription", + "short": "An order/prescription that this supersedes", + "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" + } + ], + "mapping": [ + { + "identity": "script10.6", + "map": "not mapped" + }, + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=?RPLC or ?SUCC]/target[classCode=SBADM,moodCode=RQO]" + } + ] + }, + { + "id": "MedicationRequest:uscoremedicationrequest.eventHistory", + "path": "MedicationRequest.eventHistory", + "short": "A list of events of interest in the lifecycle", + "definition": "A summary of the events of interest that have occurred as the request is processed; e.g. when the order was verified or when it was completed.", + "comments": "See usage notes in Request pattern in request history.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationRequest.eventHistory", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Provenance" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationRequest:uscoremedicationrequest", + "path": "MedicationRequest", + "sliceName": "USCoreMedicationRequest", + "short": "US Core Medication Request Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:uscoremedicationrequest.status", + "path": "MedicationRequest.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "A code specifying the state of the prescribing event. Describes the lifecycle of the prescription.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-order-status" + } + } + }, + { + "id": "MedicationRequest:uscoremedicationrequest.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, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + } + }, + { + "id": "MedicationRequest:uscoremedicationrequest.patient", + "path": "MedicationRequest.patient", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:uscoremedicationrequest.dateWritten", + "path": "MedicationRequest.dateWritten", + "min": 1, + "max": "1", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationRequest:uscoremedicationrequest.requester", + "path": "MedicationRequest.requester", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json b/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json new file mode 100755 index 0000000..6c90b2b --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-medicationstatement.json @@ -0,0 +1,918 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-medicationstatement", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement

name: US Core Medication Statement Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement

name: US Core Medication Statement Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

kind: RESOURCE

abstract: false

type: MedicationStatement

baseDefinition: http://hl7.org/fhir/StructureDefinition/MedicationStatement

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement", + "name": "US Core Medication Statement Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 Mapping" + }, + { + "identity": "v2", + "uri": "http://hl7.org/v2", + "name": "HL7 v2 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "MedicationStatement", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationStatement", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "MedicationStatement:uscoremedicationstatement", + "path": "MedicationStatement", + "sliceName": "USCoreMedicationStatement", + "short": "US Core Medication Statement Profile", + "definition": "The US Core Medication Statement Profile is based upon the core FHIR MedicationStatement Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "comments": "When interpreting a medicationStatement, the value of the status and NotTaken needed to be considered: MedicationStatement.status + MedicationStatement.wasNotTaken Status=Active + NotTaken=T = Not currently taking Status=Completed + NotTaken=T = Not taken in the past Status=Intended + NotTaken=T = No intention of taking Status=Active + NotTaken=F = Taking, but not as prescribed Status=Active + NotTaken=F = Taking Status=Intended +NotTaken= F = Will be taking (not started) Status=Completed + NotTaken=F = Taken in past Status=In Error + NotTaken=N/A = In Error.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "mst-1", + "severity": "error", + "human": "Reason not taken is only permitted if notTaken is Yes", + "expression": "reasonNotTaken.empty() or notTaken='y'", + "xpath": "not(exists(f:reasonNotTaken) and (f:notTaken/@value='n' or f:notTaken/@value='unk'))", + "source": "MedicationStatement" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "SubstanceAdministration" + }, + { + "identity": "w5", + "map": "clinical.medication" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.id", + "path": "MedicationStatement.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:uscoremedicationstatement.meta", + "path": "MedicationStatement.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "MedicationStatement:uscoremedicationstatement.implicitRules", + "path": "MedicationStatement.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "MedicationStatement:uscoremedicationstatement.language", + "path": "MedicationStatement.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "MedicationStatement:uscoremedicationstatement.text", + "path": "MedicationStatement.text", + "short": "Text summary of the resource, for human interpretation", + "definition": "A human-readable narrative that contains a summary of the resource, and may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.contained", + "path": "MedicationStatement.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.extension", + "path": "MedicationStatement.extension", + "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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.modifierExtension", + "path": "MedicationStatement.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.identifier", + "path": "MedicationStatement.identifier", + "short": "External identifier", + "definition": "External identifier - FHIR will generate its own internal identifiers (probably URLs) which do not need to be explicitly managed by the resource. The identifier here is one that would be used by another non-FHIR system - for example an automated medication pump would provide a record each time it operated; an administration while the patient was off the ward might be made with a different system and entered after the event. Particularly important if these records have to be updated.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.status", + "path": "MedicationStatement.status", + "short": "active | completed | entered-in-error | intended | stopped | on-hold", + "definition": "A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally this will be active or completed.", + "comments": "MedicationStatement is a statement at a point in time. The status is only representative at the point when it was asserted. The value set for MedicationStatement.status contains codes that assert the status of the use of the medication by the patient (for example, stopped or on hold) as well as codes that assert the status of the medication statement itself (for example, entered in error).", + "min": 1, + "max": "1", + "base": { + "path": "MedicationStatement.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "A set of codes indicating the current status of a MedicationStatement.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.medication[x]", + "path": "MedicationStatement.medication[x]", + "short": "What medication was taken", + "definition": "Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.", + "comments": "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. Note: do not use Medication.name to describe the medication this statement concerns. When the only available information is a text description of the medication, Medication.code.text should be used.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationStatement.medication[x]", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest.consumable" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.subject", + "path": "MedicationStatement.subject", + "short": "Who is/was taking the medication", + "definition": "The person, animal or group who is/was taking the medication.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationStatement.subject", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3-Patient ID List" + }, + { + "identity": "rim", + "map": "SubstanceAdministration->subject->Patient" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.effective[x]", + "path": "MedicationStatement.effective[x]", + "short": "Over what period was medication consumed?", + "definition": "The interval of time during which it is being asserted that the patient was taking the medication (or was not taking, when the wasNotGiven element is true).", + "comments": "If the medication is still being taken at the time the statement is recorded, the \"end\" date will be omitted.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationStatement.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration.effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.informationSource", + "path": "MedicationStatement.informationSource", + "short": "Person or organization that provided the information about the taking of this medication", + "definition": "The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g Claim or MedicationRequest.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationStatement.informationSource", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=INF].role[classCode=PAT, or codes for Practioner or Related Person (if PAT is the informer, then syntax for self-reported =true)" + }, + { + "identity": "w5", + "map": "who.source" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.derivedFrom", + "path": "MedicationStatement.derivedFrom", + "short": "Additional supporting information", + "definition": "Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement.", + "comments": "Likely references would be to MedicationRequest, MedicationDispense, Claim, Observation or QuestionnaireAnswers.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.derivedFrom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=SPRT]/target[classCode=ACT,moodCode=EVN]" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.dateAsserted", + "path": "MedicationStatement.dateAsserted", + "short": "When the statement was asserted?", + "definition": "The date when the medication statement was asserted by the information source.", + "min": 1, + "max": "1", + "base": { + "path": "MedicationStatement.dateAsserted", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=AUT].time" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.notTaken", + "path": "MedicationStatement.notTaken", + "short": "y | n | unk", + "definition": "Indicator of the certainty of whether the medication was taken by the patient.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationStatement.notTaken", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "A coded concept identifying level of certainty if patient has taken or has not taken the medication", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-nottaken" + } + } + }, + { + "id": "MedicationStatement:uscoremedicationstatement.reasonNotTaken", + "path": "MedicationStatement.reasonNotTaken", + "short": "True if asserting medication was not given", + "definition": "A code indicating why the medication was not taken.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.reasonNotTaken", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "mst-1" + ], + "binding": { + "strength": "example", + "description": "A coded concept indicating the reason why the medication was not taken", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/reason-medication-not-taken-codes" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration->Reason->Observation->Value" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.reasonForUseCodeableConcept", + "path": "MedicationStatement.reasonForUseCodeableConcept", + "short": "Reason for why the medication is being/was taken", + "definition": "A reason for why the medication is being/was taken.", + "comments": "This could be a diagnosis code. If a full condition record exists or additional detail is needed, use reasonForUseReference.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.reasonForUseCodeableConcept", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying why the medication is being taken.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.reasonForUseReference", + "path": "MedicationStatement.reasonForUseReference", + "short": "Condition or observation that supports why the medication is being/was taken", + "definition": "Condition or observation that supports why the medication is being/was taken.", + "comments": "This is a reference to a condition that is the reason why the medication is being/was taken. If only a code exists, use reasonForUseCode.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.reasonForUseReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.note", + "path": "MedicationStatement.note", + "short": "Further information about the statement", + "definition": "Provides extra information about the medication statement that is not conveyed by the other attributes.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.note", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ]/source[classCode=OBS,moodCode=EVN,code=\"annotation\"].value" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.category", + "path": "MedicationStatement.category", + "short": "Type of medication usage", + "definition": "Indicates where type of medication statement and where the medication is expected to be consumed or administered.", + "min": 0, + "max": "1", + "base": { + "path": "MedicationStatement.category", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "example", + "description": "A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "not mapped" + } + ] + }, + { + "id": "MedicationStatement:uscoremedicationstatement.dosage", + "path": "MedicationStatement.dosage", + "short": "Details of how medication was taken", + "definition": "Indicates how the medication is/was used by the patient.", + "min": 0, + "max": "*", + "base": { + "path": "MedicationStatement.dosage", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "DosageInstruction" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "SubstanceAdministration>Component>SubstanceAdministrationRequest" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "MedicationStatement:uscoremedicationstatement", + "path": "MedicationStatement", + "sliceName": "USCoreMedicationStatement", + "short": "US Core Medication Statement Profile", + "definition": "The US Core Medication Statement Profile is based upon the core FHIR MedicationStatement Resource and created to meet the 2015 Edition Common Clinical Data Set 'Medications' requirements.", + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationStatement:uscoremedicationstatement.status", + "path": "MedicationStatement.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "A set of codes indicating the current status of a MedicationStatement.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/medication-statement-status" + } + } + }, + { + "id": "MedicationStatement:uscoremedicationstatement.medication[x]", + "path": "MedicationStatement.medication[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Prescribable medications", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes" + } + } + }, + { + "id": "MedicationStatement:uscoremedicationstatement.subject", + "path": "MedicationStatement.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationStatement:uscoremedicationstatement.effective[x]", + "path": "MedicationStatement.effective[x]", + "min": 0, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "MedicationStatement:uscoremedicationstatement.dateAsserted", + "path": "MedicationStatement.dateAsserted", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-observationresults.json b/lib/resources/us_core/StructureDefinition-us-core-observationresults.json new file mode 100755 index 0000000..696a3aa --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-observationresults.json @@ -0,0 +1,2703 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-observationresults", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults

name: US Core Result Observation

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults

name: US Core Result Observation

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Observation

baseDefinition: http://hl7.org/fhir/StructureDefinition/Observation

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults", + "name": "US Core Result Observation", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:uscoreobss", + "path": "Observation", + "sliceName": "USCoreObss", + "short": "US Core Result Observation", + "definition": "US Realm clinical coded results.", + "comments": "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 lab 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)", + "source": "Observation" + }, + { + "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": "Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or related element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() or related.empty()) implies (value.exists() or dataAbsentReason.exists())", + "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscoreobss.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:uscoreobss.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:uscoreobss.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "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" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:uscoreobss.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory" + } + ] + }, + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:uscoreobss.code", + "path": "Observation.code", + "short": "US Realm Laboratory Test Name", + "definition": "The test that was performed. This is element is bound to LOINC.", + "comments": "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.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "alias": [ + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscoreobss.code.id", + "path": "Observation.code.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.code.extension", + "path": "Observation.code.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.code.coding", + "path": "Observation.code.coding", + "short": "Standard and local codes may be included here by repeating the coding element with a different coding.system.", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 1, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscoreobss.code.coding.id", + "path": "Observation.code.coding.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.code.coding.extension", + "path": "Observation.code.coding.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.code.coding.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.", + "comments": "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 de-reference to some definition that establish 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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "C*E.3" + }, + { + "identity": "rim", + "map": "./codeSystem" + }, + { + "identity": "orim", + "map": "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem" + } + ] + }, + { + "id": "Observation:uscoreobss.code.coding.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.", + "comments": "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" + } + ], + "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:uscoreobss.code.coding.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).", + "comments": "Logical Observation Identifiers Names and Codes (LOINC) is a database and universal standard for identifying medical laboratory observations.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "C*E.1" + }, + { + "identity": "rim", + "map": "./code" + }, + { + "identity": "orim", + "map": "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code" + } + ] + }, + { + "id": "Observation:uscoreobss.code.coding.display", + "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.", + "comments": "When using LOINC 'long common name' is preferred although the LOINC 'short name' or the LOINC 'fully-specified name can also be used. ( http://lionc.org.terms-of-use).", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscoreobss.code.coding.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 - i.e. off a pick list of available items (codes or displays).", + "comments": "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" + } + ], + "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:uscoreobss.code.text", + "path": "Observation.code.text", + "short": "Display text", + "definition": "This is the laboratory defined display text for the lab test if different from the code display text(s).", + "comments": "If this exists, this is the text to be used for display.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscoreobss.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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. If the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "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, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:uscoreobss.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:uscoreobss.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:uscoreobss.value[x]", + "path": "Observation.value[x]", + "slicing": { + "discriminator": [ + "@type" + ], + "rules": "open" + }, + "short": "Actual result", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or 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": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoreobss.value[x]:uscorevaluetype", + "path": "Observation.value[x]", + "sliceName": "USCoreValueType", + "short": "Actual result", + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "condition": [ + "obs-7" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoreobss.valueQuantity:uscorevaluequantity", + "path": "Observation.valueQuantity", + "sliceName": "USCoreValueQuantity", + "short": "Actual result", + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Quantity" + } + ], + "condition": [ + "obs-7" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "UCUM Codes for units of measure", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-ucum" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoreobss.valueCodeableConcept:uscorevaluecode", + "path": "Observation.valueCodeableConcept", + "sliceName": "USCoreValueCode", + "short": "Actual result", + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or it represents a group of observations.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-7" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "preferred", + "description": "SNOMED CT for coded results", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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\". The 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.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscoreobss.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoreobss.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "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:uscoreobss.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:uscoreobss.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:uscoreobss.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:uscoreobss.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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 may 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:uscoreobss.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:uscoreobss.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:uscoreobss.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "base": { + "path": "Observation.referenceRange.meaning", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoreobss.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:uscoreobss.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:uscoreobss.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:uscoreobss.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.related.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:uscoreobss.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.related.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:uscoreobss.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoreobss.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoreobss.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\".", + "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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or 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": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoreobss.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.value[x] is missing.", + "comments": "\"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\". The 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" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscoreobss.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoreobss.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.", + "comments": "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 may 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:uscoreobss.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:uscoreobss", + "path": "Observation", + "sliceName": "USCoreObss", + "short": "US Core Result Observation", + "definition": "US Realm clinical coded results.", + "alias": [ + "Obs" + ], + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or related element then either a value[x] or a data absent reason must be present", + "expression": "(component.empty() or related.empty()) implies (value.exists() or dataAbsentReason.exists())", + "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + } + }, + { + "id": "Observation:uscoreobss.category", + "path": "Observation.category", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "laboratory" + } + ] + }, + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.code", + "path": "Observation.code", + "short": "US Realm Laboratory Test Name", + "definition": "The test that was performed. This is element is bound to LOINC.", + "comments": "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": [ + "Test Name", + "Observation Identifer" + ], + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "LOINC codes", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + } + }, + { + "id": "Observation:uscoreobss.code.coding", + "path": "Observation.code.coding", + "short": "Standard and local codes may be included here by repeating the coding element with a different coding.system.", + "min": 1, + "max": "*", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.code.coding.system", + "path": "Observation.code.coding.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.code.coding.code", + "path": "Observation.code.coding.code", + "comments": "Logical Observation Identifiers Names and Codes (LOINC) is a database and universal standard for identifying medical laboratory observations.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.code.coding.display", + "path": "Observation.code.coding.display", + "comments": "When using LOINC 'long common name' is preferred although the LOINC 'short name' or the LOINC 'fully-specified name can also be used. ( http://lionc.org.terms-of-use).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.code.text", + "path": "Observation.code.text", + "short": "Display text", + "definition": "This is the laboratory defined display text for the lab test if different from the code display text(s).", + "comments": "If this exists, this is the text to be used for display.", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.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" + } + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "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": false + }, + { + "id": "Observation:uscoreobss.value[x]:uscorevaluetype", + "path": "Observation.value[x]", + "sliceName": "USCoreValueType", + "slicing": { + "discriminator": [ + "@type" + ], + "rules": "open" + }, + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + }, + { + "code": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoreobss.valueQuantity:uscorevaluequantity", + "path": "Observation.valueQuantity", + "sliceName": "USCoreValueQuantity", + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "UCUM Codes for units of measure", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-ucum" + } + } + }, + { + "id": "Observation:uscoreobss.valueCodeableConcept:uscorevaluecode", + "path": "Observation.valueCodeableConcept", + "sliceName": "USCoreValueCode", + "definition": "If codeableConcept, valueCodeableConcept *SHOULD* be selected from [SNOMED CT](http://hl7.org/fhir/ValueSet/uslab-obs-codedresults). If Quantity, valueQuantity units *SHALL* be selected from [UCUM](http://unitsofmeasure.org).", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "preferred", + "description": "SNOMED CT for coded results", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes" + } + } + }, + { + "id": "Observation:uscoreobss.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-organization.json b/lib/resources/us_core/StructureDefinition-us-core-organization.json new file mode 100755 index 0000000..5a66df0 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-organization.json @@ -0,0 +1,1678 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-organization", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization

name: US Core Organization Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization

name: US Core Organization Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: servd

uri: http://www.omg.org/spec/ServD/1.0/

name: ServD

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Organization

baseDefinition: http://hl7.org/fhir/StructureDefinition/Organization

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization", + "name": "US Core Organization Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Organization", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Organization", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Organization:uscoreorganization", + "path": "Organization", + "sliceName": "USCoreOrganization", + "short": "US Core Organization Profile", + "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, 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "org-1", + "severity": "error", + "human": "The organization SHALL at least have a name or an id, and possibly more than one", + "expression": "(identifier.count() + name.count()) > 0", + "xpath": "count(f:identifier | f:name) > 0", + "source": "Organization" + } + ], + "mustSupport": 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" + }, + { + "identity": "w5", + "map": "administrative.group" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Organization:uscoreorganization.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Organization:uscoreorganization.language", + "path": "Organization.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Organization:uscoreorganization.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:uscoreorganization.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:uscoreorganization.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:uscoreorganization.identifier", + "path": "Organization.identifier", + "short": "Identifies this organization across multiple systems", + "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": 1, + "max": "*", + "base": { + "path": "Organization.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "condition": [ + "org-1" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XON.10 / XON.3" + }, + { + "identity": "rim", + "map": ".scopes[Role](classCode=IDENT)" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "w5", + "map": "id" + }, + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "Default is true. This active flag is not intended to be used to mark an organizations 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.", + "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" + } + ], + "defaultValueBoolean": true, + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "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." + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Organization:uscoreorganization.type", + "path": "Organization.type", + "short": "Kind of organization", + "definition": "The kind of organization that this is.", + "comments": "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.", + "requirements": "Need to be able to track the kind of organization that this is - different organization types have different uses.", + "min": 0, + "max": "1", + "base": { + "path": "Organization.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Used to categorize the organization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/organization-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "No equivalent in v2" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "servd", + "map": "n/a" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Organization:uscoreorganization.name", + "path": "Organization.name", + "short": "Name used for the organization", + "definition": "A name associated with the organization.", + "comments": "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" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XON.1" + }, + { + "identity": "rim", + "map": ".name" + }, + { + "identity": "servd", + "map": ".PreferredName/Name" + }, + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "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. For searching knowing previous names that the location was known by can be very useful.", + "min": 0, + "max": "*", + "base": { + "path": "Organization.alias", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".name" + } + ] + }, + { + "id": "Organization:uscoreorganization.telecom", + "path": "Organization.telecom", + "short": "A contact detail for the organization", + "definition": "A contact detail for the organization.", + "comments": "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": 1, + "max": "*", + "base": { + "path": "Organization.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "condition": [ + "org-3" + ], + "constraint": [ + { + "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": "Organization.telecom" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "ORC-22?" + }, + { + "identity": "rim", + "map": ".telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Organization:uscoreorganization.address", + "path": "Organization.address", + "short": "An address for the organization", + "definition": "An address for the organization.", + "comments": "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": 1, + "max": "*", + "base": { + "path": "Organization.address", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Address" + } + ], + "condition": [ + "org-2" + ], + "constraint": [ + { + "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": "Organization.address" + } + ], + "mustSupport": true, + "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:uscoreorganization.address.id", + "path": "Organization.address.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.extension", + "path": "Organization.address.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.use", + "path": "Organization.address.use", + "short": "home | work | temp | old - purpose of this address", + "definition": "The purpose of this address.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old address etc.for a current/permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of an address", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.7" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "servd", + "map": "./AddressPurpose" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "min": 0, + "max": "1", + "base": { + "path": "Address.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "example": [ + { + "label": "General", + "valueCode": "both" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of an address (physical / postal)", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/address-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "XAD.18" + }, + { + "identity": "rim", + "map": "unique(./use)" + }, + { + "identity": "vcard", + "map": "address type parameter" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.text", + "path": "Organization.address.text", + "short": "Text representation of the address", + "definition": "A full text representation of the address.", + "comments": "Can provide both a text representation and parts.", + "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" + } + ], + "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:uscoreorganization.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.", + "requirements": "home | work | temp | old - purpose of this address.", + "min": 0, + "max": "*", + "base": { + "path": "Address.line", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "137 Nowhere Street" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscoreorganization.address.city", + "path": "Organization.address.city", + "short": "Name of city, town etc.", + "definition": "The name of the city, town, 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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XAD.3" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CTY]" + }, + { + "identity": "vcard", + "map": "locality" + }, + { + "identity": "servd", + "map": "./Jurisdiction" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.district", + "path": "Organization.address.district", + "short": "District name (aka county)", + "definition": "The name of the administrative area (county).", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XAD.9" + }, + { + "identity": "rim", + "map": "AD.part[parttype = CNT | CPA]" + } + ] + }, + { + "id": "Organization:uscoreorganization.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 (i.e. US 2 letter state codes).", + "alias": [ + "Province", + "Territory" + ], + "min": 0, + "max": "1", + "base": { + "path": "Address.state", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Two letter USPS alphabetic codes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/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:uscoreorganization.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XAD.5" + }, + { + "identity": "rim", + "map": "AD.part[parttype = ZIP]" + }, + { + "identity": "vcard", + "map": "code" + }, + { + "identity": "servd", + "map": "./PostalIdentificationCode" + } + ] + }, + { + "id": "Organization:uscoreorganization.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.", + "comments": "ISO 3166 3 letter codes can be used in place of a full country name.", + "min": 0, + "max": "1", + "base": { + "path": "Address.country", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "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:uscoreorganization.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" + } + } + ], + "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:uscoreorganization.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": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "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:uscoreorganization.contact", + "path": "Organization.contact", + "short": "Contact for the organization for a certain purpose", + "definition": "Contact for the organization for a certain purpose.", + "comments": "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".contactParty" + } + ] + }, + { + "id": "Organization:uscoreorganization.contact.id", + "path": "Organization.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.contact.modifierExtension", + "path": "Organization.contact.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Organization:uscoreorganization.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" + } + ], + "binding": { + "strength": "extensible", + "description": "The purpose for which you would contact a contact party", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/contactentity-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "./type" + } + ] + }, + { + "id": "Organization:uscoreorganization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "./name" + } + ] + }, + { + "id": "Organization:uscoreorganization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14" + }, + { + "identity": "rim", + "map": "./telecom" + } + ] + }, + { + "id": "Organization:uscoreorganization.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "./addr" + } + ] + }, + { + "id": "Organization:uscoreorganization.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Organization:uscoreorganization", + "path": "Organization", + "sliceName": "USCoreOrganization", + "short": "US Core Organization Profile", + "mustSupport": false, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "Organization" + } + ] + }, + { + "id": "Organization:uscoreorganization.identifier", + "path": "Organization.identifier", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.active", + "path": "Organization.active", + "min": 1, + "max": "1", + "type": [ + { + "code": "boolean" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.active.system", + "path": "Organization.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "NPI preferred, Tax id is allowed, Local id is allowed in addition to 'authoritative' identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.name", + "path": "Organization.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "./PrimaryAddress and ./OtherAddresses" + } + ] + }, + { + "id": "Organization:uscoreorganization.telecom", + "path": "Organization.telecom", + "min": 1, + "max": "*", + "type": [ + { + "code": "ContactPoint" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.address", + "path": "Organization.address", + "min": 1, + "max": "*", + "type": [ + { + "code": "Address" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "mapping": [ + { + "identity": "servd", + "map": "n/a" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.line", + "path": "Organization.address.line", + "min": 0, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.address.city", + "path": "Organization.address.city", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.address.state", + "path": "Organization.address.state", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Two letter USPS alphabetic codes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/usps-state" + } + }, + "mapping": [ + { + "identity": "servd", + "map": "./Sites" + } + ] + }, + { + "id": "Organization:uscoreorganization.address.postalCode", + "path": "Organization.address.postalCode", + "short": "US Zip Codes", + "min": 0, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Organization:uscoreorganization.endpoint", + "path": "Organization.endpoint", + "min": 0, + "max": "*", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-patient.json b/lib/resources/us_core/StructureDefinition-us-core-patient.json new file mode 100755 index 0000000..d95610f --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-patient.json @@ -0,0 +1,2846 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-patient", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient

name: US Core Patient Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient

name: US Core Patient Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: cda

uri: http://hl7.org/v3/cda

name: CDA (R2)

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient", + "name": "US Core Patient Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 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:uscorepatient", + "path": "Patient", + "sliceName": "USCorePatient", + "short": "US Core Patient Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Patient[classCode=PAT]" + }, + { + "identity": "cda", + "map": "ClinicalDocument.recordTarget.patientRole" + }, + { + "identity": "w5", + "map": "administrative.individual" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Patient:uscorepatient.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Patient:uscorepatient.language", + "path": "Patient.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Patient:uscorepatient.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.extension", + "path": "Patient.extension", + "slicing": { + "id": "3", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Patient:uscorepatient.extension:race", + "path": "Patient.extension", + "sliceName": "race", + "short": "Extension", + "definition": "An Extension", + "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.extension:ethnicity", + "path": "Patient.extension", + "sliceName": "ethnicity", + "short": "Extension", + "definition": "An Extension", + "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.extension:birthsex", + "path": "Patient.extension", + "sliceName": "birthsex", + "short": "Extension", + "definition": "An Extension", + "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": ".id" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Patient:uscorepatient.identifier.id", + "path": "Patient.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.identifier.extension", + "path": "Patient.identifier.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.identifier.use", + "path": "Patient.identifier.use", + "short": "usual | official | temp | secondary (If known)", + "definition": "The purpose of this identifier.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Patient:uscorepatient.identifier.system", + "path": "Patient.identifier.system", + "short": "The namespace for the identifier", + "definition": "Establishes the namespace in which set of possible id values is unique.", + "requirements": "There are many sequences of identifiers. To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or 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 or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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](extension-rendered-value.html).", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "mustSupport": true, + "isSummary": false, + "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": "Patient:uscorepatient.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" + } + ], + "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:uscorepatient.identifier.assigner", + "path": "Patient.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comments": "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" + } + ], + "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:uscorepatient.active", + "path": "Patient.active", + "short": "Whether this patient's record is in active use", + "definition": "Whether this patient record is in active use.", + "comments": "Default is true. 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" + } + ], + "defaultValueBoolean": true, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "statusCode" + }, + { + "identity": "cda", + "map": "n/a" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Patient:uscorepatient.name", + "path": "Patient.name", + "short": "A name associated with the patient", + "definition": "A name associated with the individual.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-5, PID-9" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": ".patient.name" + } + ] + }, + { + "id": "Patient:uscorepatient.name.id", + "path": "Patient.name.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.name.extension", + "path": "Patient.name.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.name.use", + "path": "Patient.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of a human name", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/name-use" + } + }, + "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:uscorepatient.name.text", + "path": "Patient.name.text", + "short": "Text representation of the full name", + "definition": "A full text representation of the name.", + "comments": "Can provide both a text representation and structured parts.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "Patient:uscorepatient.name.given", + "path": "Patient.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comments": "If only initials are recorded, they may be used in place of the full name. Not called \"first name\" since given names do not always come first.", + "alias": [ + "first name", + "middle name" + ], + "min": 1, + "max": "*", + "base": { + "path": "HumanName.given", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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 may 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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-13, PID-14, PID-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": ".telecom" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "The gender may 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 M and F, though the vast majority of systems and contexts only support M and F. Systems providing decision support or enforcing business rules should ideally do this on the basis of Observations dealing with the specific gender aspect of interest (anatomical, chromosonal, 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, chromosonal and other gender aspects. For example, an alert about a hysterectomy on a male should be handled as a warning or overrideable error, not a \"hard\" error.", + "requirements": "Needed for identification of the individual, in combination with (at least) name and birth date. Gender of individual drives many clinical processes.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.gender", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "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" + } + ] + }, + { + "id": "Patient:uscorepatient.birthDate", + "path": "Patient.birthDate", + "short": "The date of birth for the individual", + "definition": "The date of birth for the individual.", + "comments": "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 maternaty/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" + } + ], + "mustSupport": true, + "isSummary": false, + "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" + } + ] + }, + { + "id": "Patient:uscorepatient.deceased[x]", + "path": "Patient.deceased[x]", + "short": "Indicates if the individual is deceased or not", + "definition": "Indicates if the individual is deceased or not.", + "comments": "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" + } + ], + "isModifier": true, + "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:uscorepatient.address", + "path": "Patient.address", + "short": "Addresses for the individual", + "definition": "Addresses for the individual.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-11" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": ".addr" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "binding": { + "strength": "extensible", + "description": "The domestic partnership status of a person.", + "valueSetReference": { + "reference": "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:uscorepatient.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 (bool) or indicates the actual birth order (integer).", + "comments": "Where the valueInteger is provided, the number is the birth number in the sequence. E.g. The middle birth in tripplets would be valueInteger=2 and the third born would have valueInteger=3 If a bool value was provided for this tripplets examle, then all 3 patient records would have valueBool=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" + } + ], + "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:uscorepatient.photo", + "path": "Patient.photo", + "short": "Image of the patient", + "definition": "Image of the patient.", + "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" + } + ], + "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:uscorepatient.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.", + "comments": "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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)" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/scopedRole[classCode=CON]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.contact.id", + "path": "Patient.contact.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.contact.modifierExtension", + "path": "Patient.contact.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "binding": { + "strength": "extensible", + "description": "The nature of the relationship between a patient and a contact person for that patient.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/v2-0131" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-7, NK1-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-2" + }, + { + "identity": "rim", + "map": "name" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-5, NK1-6, NK1-40" + }, + { + "identity": "rim", + "map": "telecom" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NK1-4" + }, + { + "identity": "rim", + "map": "addr" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + } + ], + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "NK1-15" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/administrativeGender" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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" + ], + "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:uscorepatient.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Animal" + } + ], + "path": "Patient.animal", + "short": "This patient is known to be an animal (non-human)", + "definition": "This patient is known to be an animal.", + "comments": "The animal element is labeled \"Is Modifier\" since patients may be non-human. Systems SHALL either handle patient details appropriately (e.g. inform users patient is not human) or reject declared animal records. The absense of the animal element does not imply that the patient is a human. If a system requires such a positive assertion that the patient is human, an extension will be required. (Do not use a species of homo-sapiens in animal species, as this would incorrectly infer that the patient is an animal).", + "requirements": "Many clinical systems are extended to care for animal patients as well as human.", + "min": 0, + "max": "0", + "base": { + "path": "Patient.animal", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mustSupport": false, + "isModifier": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "player[classCode=ANM]" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.id", + "path": "Patient.animal.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.extension", + "path": "Patient.animal.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.modifierExtension", + "path": "Patient.animal.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.species", + "path": "Patient.animal.species", + "short": "E.g. Dog, Cow", + "definition": "Identifies the high level taxonomic categorization of the kind of animal.", + "comments": "If the patient is non-human, at least a species SHALL be specified. Species SHALL be a widely recognised taxonomic classification. It may or may not be Linnaean taxonomy and may or may not be at the level of species. If the level is finer than species--such as a breed code--the code system used SHALL allow inference of the species. (The common example is that the word \"Hereford\" does not allow inference of the species Bos taurus, because there is a Hereford pig breed, but the SNOMED CT code for \"Hereford Cattle Breed\" does.).", + "requirements": "Need to know what kind of animal.", + "min": 1, + "max": "1", + "base": { + "path": "Patient.animal.species", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The species of an animal.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-species" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-35" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.breed", + "path": "Patient.animal.breed", + "short": "E.g. Poodle, Angus", + "definition": "Identifies the detailed categorization of the kind of animal.", + "comments": "Breed MAY be used to provide further taxonomic or non-taxonomic classification. It may involve local or proprietary designation--such as commercial strain--and/or additional information such as production type.", + "requirements": "May need to know the specific kind within the species.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.animal.breed", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The breed of an animal.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-breeds" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-37" + }, + { + "identity": "rim", + "map": "playedRole[classCode=GEN]/scoper[classCode=ANM, determinerCode=KIND]/code" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.animal.genderStatus", + "path": "Patient.animal.genderStatus", + "short": "E.g. Neutered, Intact", + "definition": "Indicates the current state of the animal's reproductive organs.", + "requirements": "Gender status can affect housing and animal behavior.", + "min": 0, + "max": "1", + "base": { + "path": "Patient.animal.genderStatus", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The state of the animal's reproductive organs.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/animal-genderstatus" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "genderStatusCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.communication", + "path": "Patient.communication", + "short": "A list of Languages which may be used to communicate with the patient about his or her health", + "definition": "Languages which may be used to communicate with the patient about his or her health.", + "comments": "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 is an 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "LanguageCommunication" + }, + { + "identity": "cda", + "map": "patient.languageCommunication" + } + ] + }, + { + "id": "Patient:uscorepatient.communication.id", + "path": "Patient.communication.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.communication.modifierExtension", + "path": "Patient.communication.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PID-15, LAN-2" + }, + { + "identity": "rim", + "map": "player[classCode=PSN|ANM and determinerCode=INSTANCE]/languageCommunication/code" + }, + { + "identity": "cda", + "map": ".languageCode" + } + ] + }, + { + "id": "Patient:uscorepatient.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).", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PID-15" + }, + { + "identity": "rim", + "map": "preferenceInd" + }, + { + "identity": "cda", + "map": ".preferenceInd" + } + ] + }, + { + "id": "Patient:uscorepatient.generalPractitioner", + "path": "Patient.generalPractitioner", + "short": "Patient's nominated primary care provider", + "definition": "Patient's nominated care provider.", + "comments": "This may be the primary care provider (in a GP context), or it may be a patient nominated care manager in a community/disablity 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.", + "alias": [ + "careProvider" + ], + "min": 0, + "max": "*", + "base": { + "path": "Patient.generalPractitioner", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PD1-4" + }, + { + "identity": "rim", + "map": "subjectOf.CareEvent.performer.AssignedEntity" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.managingOrganization", + "path": "Patient.managingOrganization", + "short": "Organization that is the custodian of the patient record", + "definition": "Organization that is the custodian of the patient record.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "scoper" + }, + { + "identity": "cda", + "map": ".providerOrganization" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "There is no assumption that linked patient records have mutual links.", + "requirements": "There are multiple usecases: * Duplicate patient records due to the clerical errors associated with the difficulties of identifying humans consistently, and * 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "outboundLink" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.link.id", + "path": "Patient.link.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.link.modifierExtension", + "path": "Patient.link.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Patient:uscorepatient.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.", + "comments": "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": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PID-3, MRG-1" + }, + { + "identity": "rim", + "map": "id" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + }, + { + "id": "Patient:uscorepatient.link.type", + "path": "Patient.link.type", + "short": "replace | refer | seealso - type of link", + "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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The type of link between this patient resource and another patient resource.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/link-type" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "typeCode" + }, + { + "identity": "cda", + "map": "n/a" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Patient:uscorepatient", + "path": "Patient", + "sliceName": "USCorePatient", + "short": "US Core Patient Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.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, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Code for sex assigned at birth", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex" + } + } + }, + { + "id": "Patient:uscorepatient.identifier", + "path": "Patient.identifier", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.identifier.system", + "path": "Patient.identifier.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.identifier.value", + "path": "Patient.identifier.value", + "short": "The value that is unique within the system.", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.name", + "path": "Patient.name", + "min": 1, + "max": "*", + "type": [ + { + "code": "HumanName" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.name.family", + "path": "Patient.name.family", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.name.given", + "path": "Patient.name.given", + "min": 1, + "max": "*", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.gender", + "path": "Patient.gender", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + } + }, + { + "id": "Patient:uscorepatient.birthDate", + "path": "Patient.birthDate", + "min": 0, + "max": "1", + "type": [ + { + "code": "date" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.animal", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name", + "valueString": "Animal" + } + ], + "path": "Patient.animal", + "min": 0, + "max": "0", + "type": [ + { + "code": "BackboneElement" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.communication", + "path": "Patient.communication", + "min": 0, + "max": "*", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Patient:uscorepatient.communication.language", + "path": "Patient.communication.language", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-pract.json b/lib/resources/us_core/StructureDefinition-us-core-pract.json new file mode 100755 index 0000000..e6a6124 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-pract.json @@ -0,0 +1,2010 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-pract", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract

name: US Core Practitioner

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract

name: US Core Practitioner

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: servd

uri: http://www.omg.org/spec/ServD/1.0/

name: ServD

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Practitioner

baseDefinition: http://hl7.org/fhir/StructureDefinition/Practitioner

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract", + "name": "US Core Practitioner", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Practitioner", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Practitioner", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Practitioner:uscorepract", + "path": "Practitioner", + "sliceName": "USCorePract", + "short": "US Core Practitioner", + "definition": "This is basic constraint on provider for use in US Core resources.", + "comments": "Note that a cab driver no longer fits the bill. You probably would be interested in the organization rather than the individual?", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + } + ], + "mustSupport": 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" + }, + { + "identity": "w5", + "map": "administrative.individual" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Practitioner:uscorepract.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Practitioner:uscorepract.language", + "path": "Practitioner.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Practitioner:uscorepract.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:uscorepract.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:uscorepract.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:uscorepract.identifier", + "path": "Practitioner.identifier", + "short": "A identifier for the person as this agent", + "definition": "An identifier that applies to this person in this role.", + "requirements": "Either id or name is needed.", + "min": 1, + "max": "*", + "base": { + "path": "Practitioner.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PRD-7 (or XCN.1)" + }, + { + "identity": "rim", + "map": "./id" + }, + { + "identity": "servd", + "map": "./Identifiers" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Practitioner:uscorepract.identifier.id", + "path": "Practitioner.identifier.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.identifier.extension", + "path": "Practitioner.identifier.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.identifier.use", + "path": "Practitioner.identifier.use", + "short": "usual | official | temp | secondary (If known)", + "definition": "The purpose of this identifier.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "Identifies the purpose for this identifier, if known .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-use" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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" + } + ], + "isSummary": true, + "binding": { + "strength": "extensible", + "description": "A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/identifier-type" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "CX.5" + }, + { + "identity": "rim", + "map": "Role.code or implied by context" + } + ] + }, + { + "id": "Practitioner:uscorepract.identifier.system", + "path": "Practitioner.identifier.system", + "short": "NPI could be used as the identifier system in the US.", + "definition": "Establishes the namespace in which set of possible id values is unique.", + "comments": "NPI could be used as the identifier system in the US.", + "requirements": "There are many sequences of identifiers. To perform matching, we need to know what sequence we're dealing with. The system identifies a particular sequence or 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 or urn:ietf:rfc:3986 if the Identifier.value itself is a full uri" + }, + { + "label": "General", + "valueUri": "NPI preferred, Tax id is allowed, Local id is allowed in addition to 'authoritative' identifier" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "CX.4 / EI-2-4" + }, + { + "identity": "rim", + "map": "II.root or Role.id.root" + }, + { + "identity": "servd", + "map": "./IdentifierType" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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](extension-rendered-value.html).", + "min": 1, + "max": "1", + "base": { + "path": "Identifier.value", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "example": [ + { + "label": "General", + "valueString": "123456" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscorepract.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" + } + ], + "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:uscorepract.identifier.assigner", + "path": "Practitioner.identifier.assigner", + "short": "Organization that issued id (may be just text)", + "definition": "Organization that issued/manages the identifier.", + "comments": "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" + } + ], + "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:uscorepract.active", + "path": "Practitioner.active", + "short": "Whether this practitioner's record is in active use", + "definition": "Whether this practitioner's record is in active use.", + "comments": "Default is true. 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" + } + ], + "defaultValueBoolean": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "./statusCode" + }, + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Practitioner:uscorepract.name", + "path": "Practitioner.name", + "short": "The name(s) associated with the practitioner", + "definition": "The name(s) associated with the practitioner.", + "comments": "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. In general select the value to be used in the ResourceReference.display based on this: 1. There is more than 1 name 2. Use = usual 3. Period is current to the date of the usage 4. Use = official 5. 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": "1", + "base": { + "path": "Practitioner.name", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "HumanName" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XCN Components" + }, + { + "identity": "rim", + "map": "./name" + }, + { + "identity": "servd", + "map": "./PreferredName (GivenNames, FamilyName, TitleCode)" + } + ] + }, + { + "id": "Practitioner:uscorepract.name.id", + "path": "Practitioner.name.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.name.extension", + "path": "Practitioner.name.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.name.use", + "path": "Practitioner.name.use", + "short": "usual | official | temp | nickname | anonymous | old | maiden", + "definition": "Identifies the purpose for this name.", + "comments": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary or old name etc.for a current/permanent one. 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" + } + ], + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "The use of a human name", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/name-use" + } + }, + "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:uscorepract.name.text", + "path": "Practitioner.name.text", + "short": "Text representation of the full name", + "definition": "A full text representation of the name.", + "comments": "Can provide both a text representation and structured parts.", + "requirements": "A renderable, unencoded form.", + "min": 0, + "max": "1", + "base": { + "path": "HumanName.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "implied by XPN.11" + }, + { + "identity": "rim", + "map": "./formatted" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "XPN.1/FN.1" + }, + { + "identity": "rim", + "map": "./part[partType = FAM]" + }, + { + "identity": "servd", + "map": "./FamilyName" + } + ] + }, + { + "id": "Practitioner:uscorepract.name.given", + "path": "Practitioner.name.given", + "short": "Given names (not always 'first'). Includes middle names", + "definition": "Given name.", + "comments": "If only initials are recorded, they may be used in place of the full name. 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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.2 + XPN.3" + }, + { + "identity": "rim", + "map": "./part[partType = GIV]" + }, + { + "identity": "servd", + "map": "./GivenNames" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.5" + }, + { + "identity": "rim", + "map": "./part[partType = PFX]" + }, + { + "identity": "servd", + "map": "./TitleCode" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN/4" + }, + { + "identity": "rim", + "map": "./part[partType = SFX]" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "XPN.13 + XPN.14" + }, + { + "identity": "rim", + "map": "./usablePeriod[type=\"IVL\"]" + }, + { + "identity": "servd", + "map": "./StartDate and ./EndDate" + } + ] + }, + { + "id": "Practitioner:uscorepract.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.", + "comments": "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 also 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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRT-15, STF-10, ROL-12" + }, + { + "identity": "rim", + "map": "./telecom" + }, + { + "identity": "servd", + "map": "./ContactPoints" + } + ] + }, + { + "id": "Practitioner:uscorepract.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). Work addresses are not typically entered in this property as they are usually role dependent.", + "comments": "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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-24, STF-11, ROL-11, PRT-14" + }, + { + "identity": "rim", + "map": "./addr" + }, + { + "identity": "servd", + "map": "./Addresses" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "isSummary": true, + "binding": { + "strength": "required", + "description": "The gender of a person used for administrative purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/administrative-gender" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "STF-5" + }, + { + "identity": "rim", + "map": "./administrativeGender" + }, + { + "identity": "servd", + "map": "./GenderCode" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "STF-6" + }, + { + "identity": "rim", + "map": "./birthTime" + }, + { + "identity": "servd", + "map": "(not represented in ServD)" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "./subjectOf/ObservationEvent[code=\"photo\"]/value" + }, + { + "identity": "servd", + "map": "./ImageURI (only supports the URI reference)" + } + ] + }, + { + "id": "Practitioner:uscorepract.role", + "path": "Practitioner.role", + "short": "Roles/organizations the practitioner is associated with", + "definition": "The list of roles/organizations that the practitioner is associated with.", + "comments": "The address to be used for this PractitionerRole is in the referenced location (removing duplication across all the services provided at the location).", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.role", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.id", + "path": "Practitioner.role.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.extension", + "path": "Practitioner.role.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.modifierExtension", + "path": "Practitioner.role.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.organization", + "path": "Practitioner.role.organization", + "short": "Organization where the roles are performed", + "definition": "The organization where the Practitioner performs the roles associated.", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.role.organization", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.scopingOrganization" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.code", + "path": "Practitioner.role.code", + "short": "Roles which this practitioner may perform", + "definition": "Roles which this practitioner is authorized to perform for the organization.", + "comments": "A person may have more than one role. At least one role is required.", + "requirements": "Need to know what authority the practitioner has - what can they do?", + "min": 0, + "max": "1", + "base": { + "path": "Practitioner.role.code", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "The role a person plays representing an organization", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/practitioner-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": ".playingEntity.playingRole.code" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.specialty", + "path": "Practitioner.role.specialty", + "short": "Specific specialty of the practitioner", + "definition": "Specific specialty of the practitioner.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.role.specialty", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Specific specialty associated with the agency", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/practitioner-specialty" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "PRA-5" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Specialty" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.identifier", + "path": "Practitioner.role.identifier", + "short": "Business Identifiers that are specific to a role/location", + "definition": "Business Identifiers that are specific to a role/location.", + "requirements": "Some business identifiers are specific to a location and should be able to be associated.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.role.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.id" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.telecom", + "path": "Practitioner.role.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": "Practitioner.role.telecom", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "ContactPoint" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.telecom" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.period", + "path": "Practitioner.role.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": "Practitioner.role.period", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PRD-8/9 / PRA-5.4" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole.effectiveTime" + }, + { + "identity": "servd", + "map": "(ServD maps Practitioners and Organizations via another entity, so this concept is not available)" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.location", + "path": "Practitioner.role.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": "Practitioner.role.location", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Location" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole.location.source[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)" + }, + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.healthcareService", + "path": "Practitioner.role.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": "Practitioner.role.healthcareService", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/HealthcareService" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.role.endpoint", + "path": "Practitioner.role.endpoint", + "short": "Technical endpoints providing access to services operated for the PractitonerRole", + "definition": "Technical endpoints providing access to services operated for the PractitonerRole.", + "min": 0, + "max": "*", + "base": { + "path": "Practitioner.role.endpoint", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Endpoint" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.qualification", + "path": "Practitioner.qualification", + "short": "Qualifications obtained by training and certification", + "definition": "Qualifications obtained by training and certification.", + "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "CER?" + }, + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications" + } + ] + }, + { + "id": "Practitioner:uscorepract.qualification.id", + "path": "Practitioner.qualification.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Practitioner:uscorepract.qualification.modifierExtension", + "path": "Practitioner.qualification.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].id" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "binding": { + "strength": "example", + "description": "Specific qualification the practitioner has to provide a service", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/anzsco-occupations" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].code" + }, + { + "identity": "servd", + "map": "./Qualifications.Value" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].effectiveTime" + }, + { + "identity": "servd", + "map": "./Qualifications.StartDate and ./Qualifications.EndDate" + } + ] + }, + { + "id": "Practitioner:uscorepract.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".playingEntity.playingRole[classCode=QUAL].scoper" + } + ] + }, + { + "id": "Practitioner:uscorepract.communication", + "path": "Practitioner.communication", + "short": "A language the practitioner is able to use in patient communication", + "definition": "A language the practitioner is able to use in patient communication.", + "comments": "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": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "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:uscorepract", + "path": "Practitioner", + "sliceName": "USCorePract", + "short": "US Core Practitioner", + "definition": "This is basic constraint on provider for use in US Core resources.", + "alias": [ + "Provider" + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:uscorepract.identifier", + "path": "Practitioner.identifier", + "requirements": "Either id or name is needed.", + "min": 1, + "max": "*", + "type": [ + { + "code": "Identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:uscorepract.identifier.system", + "path": "Practitioner.identifier.system", + "short": "NPI could be used as the identifier system in the US.", + "comments": "NPI could be used as the identifier system in the US.", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "example": [ + { + "label": "General", + "valueUri": "NPI preferred, Tax id is allowed, Local id is allowed in addition to 'authoritative' identifier" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:uscorepract.identifier.value", + "path": "Practitioner.identifier.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:uscorepract.name", + "path": "Practitioner.name", + "min": 1, + "max": "1", + "type": [ + { + "code": "HumanName" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Practitioner:uscorepract.name.family", + "path": "Practitioner.name.family", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-procedure.json b/lib/resources/us_core/StructureDefinition-us-core-procedure.json new file mode 100755 index 0000000..1a6d5a4 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-procedure.json @@ -0,0 +1,1755 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-procedure", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure

name: US Core Procedure Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure

name: US Core Procedure Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

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

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure", + "name": "US Core Procedure Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + }, + { + "identity": "w5", + "uri": "http://hl7.org/fhir/w5", + "name": "W5 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:uscoreprocedure", + "path": "Procedure", + "sliceName": "USCoreProcedure", + "short": "US Core Procedure Profile", + "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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "pro-1", + "severity": "error", + "human": "Reason not performed is only permitted if notPerformed indicator is true", + "expression": "reasonNotPerformed.empty() or notPerformed = true", + "xpath": "not(exists(f:reasonNotPerformed)) or f:notPerformed/@value=true()", + "source": "Procedure" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "rim", + "map": "Procedure[moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.general" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Procedure:uscoreprocedure.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Procedure:uscoreprocedure.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Procedure:uscoreprocedure.language", + "path": "Procedure.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Procedure:uscoreprocedure.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.identifier", + "path": "Procedure.identifier", + "short": "External Identifiers for this procedure", + "definition": "This records identifiers associated with this procedure 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 (e.g. in CDA documents, or in written / printed documentation).", + "requirements": "Need to allow connection to a wider workflow.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "isSummary": true, + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.status", + "path": "Procedure.status", + "short": "in-progress | aborted | completed | entered-in-error | unknown", + "definition": "A code specifying the state of the procedure. Generally this will be in-progress or completed state.", + "comments": "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.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.status", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-status" + } + }, + "mapping": [ + { + "identity": "w5", + "map": "status" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that classifies a procedure for searching, sorting and display purposes.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.code", + "path": "Procedure.code", + "short": "SNOMED-CT | ICD-10 | CPT-4", + "definition": "The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. \"Laparoscopic Appendectomy\").", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "A code to identify a specific procedure .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-code" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBR-44/OBR-45" + }, + { + "identity": "rim", + "map": ".code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.code.id", + "path": "Procedure.code.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.code.extension", + "path": "Procedure.code.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.code.coding", + "path": "Procedure.code.coding", + "slicing": { + "discriminator": [ + "code" + ], + "rules": "open" + }, + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "*", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "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": "Procedure:uscoreprocedure.code.coding:uscoreprocedurecode", + "path": "Procedure.code.coding", + "sliceName": "USCoreProcedureCode", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 1, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Codes describing the Procedure Type", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-type" + } + }, + "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": "Procedure:uscoreprocedure.code.coding", + "path": "Procedure.code.coding", + "short": "Code defined by a terminology system", + "definition": "A reference to a code defined by a terminology system.", + "comments": "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 labelled as UserSelected = true.", + "requirements": "Allows for translations and alternate encodings within a code system. Also supports communication of the same instance to systems requiring different encodings.", + "min": 0, + "max": "1", + "base": { + "path": "CodeableConcept.coding", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Optional ICD-10PCS Code translations describing the Procedure Type", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs" + } + }, + "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": "Procedure:uscoreprocedure.code.text", + "path": "Procedure.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.", + "comments": "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" + } + ], + "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": "Procedure:uscoreprocedure.subject", + "path": "Procedure.subject", + "short": "Who the procedure was performed on", + "definition": "The person, animal or group on which the procedure was performed.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": ".participation[typeCode=SBJ].role" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.encounter", + "path": "Procedure.encounter", + "short": "The encounter associated with the procedure", + "definition": "The encounter during which the procedure was performed.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "PV1-19" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.performed[x]", + "path": "Procedure.performed[x]", + "short": "Date/Period the procedure was performed", + "definition": "The date(time)/period over which 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.", + "min": 1, + "max": "1", + "base": { + "path": "Procedure.performed[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBR-7" + }, + { + "identity": "rim", + "map": ".effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".participation[typeCode=PFM]" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.performer.id", + "path": "Procedure.performer.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.performer.modifierExtension", + "path": "Procedure.performer.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.performer.actor", + "path": "Procedure.performer.actor", + "short": "The reference to the practitioner", + "definition": "The practitioner who was involved in the procedure.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.actor", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "ORC-19/PRT-5" + }, + { + "identity": "rim", + "map": ".role" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.performer.role", + "path": "Procedure.performer.role", + "short": "The role the actor was in", + "definition": "For example: surgeon, anaethetist, endoscopist.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.performer.role", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that identifies the role of a performer of the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/performer-role" + } + }, + "mapping": [ + { + "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:uscoreprocedure.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" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "w5", + "map": "where" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.reasonReference", + "path": "Procedure.reasonReference", + "short": "Condition that is the reason the procedure performed", + "definition": "The condition that is the reason why the procedure was performed.", + "comments": "e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonReference", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Condition" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.reasonCode", + "path": "Procedure.reasonCode", + "short": "Coded reason procedure performed", + "definition": "The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure is required.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reasonCode" + }, + { + "identity": "w5", + "map": "why" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.notPerformed", + "path": "Procedure.notPerformed", + "short": "True if procedure was not performed as scheduled", + "definition": "Set this to true if the record is saying that the procedure was NOT performed.", + "comments": "If true, it means the procedure did not occur as described. Typically it would be accompanied by attributes describing the type of activity. It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period). Specifying additional information such as performer, outcome, etc. is generally inappropriate. For example, it's not that useful to say \"There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome\" as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.notPerformed", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "boolean" + } + ], + "defaultValueBoolean": false, + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": ".actionNegationInd" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.reasonNotPerformed", + "path": "Procedure.reasonNotPerformed", + "short": "Reason procedure was not performed", + "definition": "A code indicating why the procedure was not performed.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.reasonNotPerformed", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "pro-1" + ], + "binding": { + "strength": "example", + "description": "A code that identifies the reason a procedure was not performed.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-not-performed-reason" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".reason.Observation.value" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.bodySite", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": ".targetSiteCode" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.outcome", + "path": "Procedure.outcome", + "short": "The result of procedure", + "definition": "The outcome of the procedure - did it resolve reasons for the procedure being performed?", + "comments": "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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "An outcome of a procedure - whether it was resolved or otherwise.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-outcome" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=OUT].target.text" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.report", + "path": "Procedure.report", + "short": "Any report resulting from the procedure", + "definition": "This could be a histology result, pathology report, surgical report, etc..", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing complications that resulted from a procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/condition-code" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "Need specialization of OUT for this." + } + ] + }, + { + "id": "Procedure:uscoreprocedure.followUp", + "path": "Procedure.followUp", + "short": "Instructions for follow up", + "definition": "If the procedure required specific follow up - e.g. removal of sutures. The followup 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" + } + ], + "binding": { + "strength": "example", + "description": "Specific follow up required for a procedure e.g. removal of sutures.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-followup" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=COMP].target[classCode=ACT, moodCode=INT].code" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.request", + "path": "Procedure.request", + "short": "A request for this procedure", + "definition": "A reference to a resource that contains details of the request for this procedure.", + "min": 0, + "max": "1", + "base": { + "path": "Procedure.request", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/CarePlan" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DiagnosticRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ProcedureRequest" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/ReferralRequest" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.notes", + "path": "Procedure.notes", + "short": "Additional information about the procedure", + "definition": "Any other notes about the procedure. E.g. the operative notes.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.notes", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Annotation" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "NTE" + }, + { + "identity": "rim", + "map": ".inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=\"annotation\"].value" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.focalDevice", + "path": "Procedure.focalDevice", + "short": "Device changed in procedure", + "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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.focalDevice.id", + "path": "Procedure.focalDevice.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.focalDevice.modifierExtension", + "path": "Procedure.focalDevice.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.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" + } + ], + "binding": { + "strength": "required", + "description": "A kind of change that happened to the device during the procedure.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/device-action" + } + } + }, + { + "id": "Procedure:uscoreprocedure.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" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.usedReference", + "path": "Procedure.usedReference", + "short": "Items used during procedure", + "definition": "Identifies medications, devices and any other substance used as part of the procedure.", + "comments": "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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Medication" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Substance" + } + ] + }, + { + "id": "Procedure:uscoreprocedure.usedCode", + "path": "Procedure.usedCode", + "short": "Coded items used during the procedure", + "definition": "Identifies coded items that were used as part of the procedure.", + "comments": "For devices actually implanted or removed, use Procedure.device.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.usedCode", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing items used during a procedure" + } + }, + { + "id": "Procedure:uscoreprocedure.component", + "path": "Procedure.component", + "short": "Events related to the procedure", + "definition": "Identifies medication administrations, other procedures or observations that are related to this procedure.", + "min": 0, + "max": "*", + "base": { + "path": "Procedure.component", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/MedicationAdministration" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Procedure" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Procedure:uscoreprocedure", + "path": "Procedure", + "sliceName": "USCoreProcedure", + "short": "US Core Procedure Profile", + "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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Procedure:uscoreprocedure.status", + "path": "Procedure.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/procedure-status" + } + } + }, + { + "id": "Procedure:uscoreprocedure.code", + "path": "Procedure.code", + "short": "SNOMED-CT | ICD-10 | CPT-4", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Procedure:uscoreprocedure.code.coding:uscoreprocedurecode", + "path": "Procedure.code.coding", + "sliceName": "USCoreProcedureCode", + "slicing": { + "discriminator": [ + "code" + ], + "rules": "open" + }, + "min": 1, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Codes describing the Procedure Type", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-type" + } + } + }, + { + "id": "Procedure:uscoreprocedure.code.coding", + "path": "Procedure.code.coding", + "min": 0, + "max": "1", + "type": [ + { + "code": "Coding" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Optional ICD-10PCS Code translations describing the Procedure Type", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs" + } + } + }, + { + "id": "Procedure:uscoreprocedure.subject", + "path": "Procedure.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Procedure:uscoreprocedure.performed[x]", + "path": "Procedure.performed[x]", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-race.json b/lib/resources/us_core/StructureDefinition-us-core-race.json new file mode 100755 index 0000000..f48d0bb --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-race.json @@ -0,0 +1,832 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-race", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

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

name: US Core Race Extension

title: US Core Race Extension

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

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:\r- American Indian or Alaska Native\r- Asian\r- Black or African American\r- Native Hawaiian or Other Pacific Islander\r- White.

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

name: US Core Race Extension

title: US Core Race Extension

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

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:\r- American Indian or Alaska Native\r- Asian\r- Black or African American\r- Native Hawaiian or Other Pacific Islander\r- White.

purpose: Complies with 2015 Edition Common Clinical Data Set for patient race.

fhirVersion: 1.8.0

Mappings

-IdentityUriName
*rimhttp://hl7.org/v3RIM Mapping

kind: COMPLEXTYPE

abstract: false

contextType: RESOURCE

context: Patient

type: Extension

baseDefinition: http://hl7.org/fhir/StructureDefinition/Extension

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "name": "US Core Race Extension", + "title": "US Core Race Extension", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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:\r- American Indian or Alaska Native\r- Asian\r- Black or African American\r- Native Hawaiian or Other Pacific Islander\r- White.", + "purpose": "Complies with 2015 Edition Common Clinical Data Set for patient race.", + "fhirVersion": "1.8.0", + "mapping": [ + { + "identity": "rim", + "uri": "http://hl7.org/v3", + "name": "RIM Mapping" + } + ], + "kind": "complex-type", + "abstract": false, + "contextType": "resource", + "context": [ + "Patient" + ], + "type": "Extension", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Extension", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Extension:race", + "path": "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:\r- American Indian or Alaska Native\r- Asian\r- Black or African American\r- Native Hawaiian or Other Pacific Islander\r- 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "ext-1", + "severity": "error", + "human": "Must have either extensions or value[x], not both", + "expression": "extension.exists() != value.exists()", + "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])", + "source": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:race.id", + "path": "Extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.extension", + "path": "Extension.extension", + "slicing": { + "id": "1", + "discriminator": [ + "url" + ], + "ordered": false, + "rules": "open" + }, + "short": "Extension", + "definition": "An Extension", + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ] + }, + { + "id": "Extension:race.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.whitehouse.gov/omb/fedreg_1997standards).", + "min": 1, + "max": "5", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension:race.extension:ombcategory.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.extension:ombcategory.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.extension:ombcategory.valueCoding", + "path": "Extension.extension.valueCoding", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "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.whitehouse.gov/omb/fedreg_1997standards).", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/omb-race" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.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" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension:race.extension:detailed.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.extension:detailed.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.extension:detailed.valueCoding", + "path": "Extension.extension.valueCoding", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + } + }, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 0, + "max": "1", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:race.extension:text.id", + "path": "Extension.extension.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.extension:text.extension", + "path": "Extension.extension.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Extension:race.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.", + "comments": "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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.extension:text.valueString", + "path": "Extension.extension.valueString", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "1", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.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.", + "comments": "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": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race", + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Extension:race.value[x]", + "path": "Extension.value[x]", + "short": "Value of extension", + "definition": "Value of extension - may be a resource or one of a constrained set of the data types (see Extensibility in the spec for list).", + "min": 0, + "max": "0", + "base": { + "path": "Extension.value[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "base64Binary" + }, + { + "code": "boolean" + }, + { + "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": "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": "Meta" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Extension:race", + "path": "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:\r- American Indian or Alaska Native\r- Asian\r- Black or African American\r- Native Hawaiian or Other Pacific Islander\r- White.", + "min": 0, + "max": "1", + "isModifier": false + }, + { + "id": "Extension:race.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.whitehouse.gov/omb/fedreg_1997standards).", + "min": 1, + "max": "5", + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/raceCode" + } + ] + }, + { + "id": "Extension:race.extension:ombcategory.value[x]", + "path": "Extension.extension.value[x]", + "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.whitehouse.gov/omb/fedreg_1997standards).", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/omb-race" + } + } + }, + { + "id": "Extension:race.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" + } + ], + "isModifier": false, + "mapping": [ + { + "identity": "iso11179", + "map": "/ClinicalDocument/recordTarget/patientRole/patient/sdtc:raceCode" + } + ] + }, + { + "id": "Extension:race.extension:detailed.value[x]", + "path": "Extension.extension.value[x]", + "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.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/detailed-race" + } + } + }, + { + "id": "Extension:race.extension:text", + "path": "Extension.extension", + "sliceName": "text", + "short": "Race Text", + "definition": "Plain text representation of the race concept(s).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Extension" + } + ], + "isModifier": false + }, + { + "id": "Extension:race.extension:text.value[x]", + "path": "Extension.extension.value[x]", + "type": [ + { + "code": "string" + } + ] + }, + { + "id": "Extension:race.url", + "path": "Extension.url", + "fixedUri": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race" + }, + { + "id": "Extension:race.value[x]", + "path": "Extension.value[x]", + "max": "0" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json b/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json new file mode 100755 index 0000000..52645c1 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-smokingstatus.json @@ -0,0 +1,1929 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-smokingstatus", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus

name: US Core Smoking Status Observation Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus

name: US Core Smoking Status Observation Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Observation

baseDefinition: http://hl7.org/fhir/StructureDefinition/Observation

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus", + "name": "US Core Smoking Status Observation Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:uscoresmookingstatus", + "path": "Observation", + "sliceName": "USCoreSmookingStatus", + "short": "US Core Smoking Status Observation Profile", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the 2015 Edition Common Clinical Data Set 'Smoking status' requirements.", + "comments": "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 lab 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)", + "source": "Observation" + }, + { + "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": "Observation" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscoresmookingstatus.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:uscoresmookingstatus.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:uscoresmookingstatus.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "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" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.code", + "path": "Observation.code", + "short": "Smoking Status: LOINC 72166-2 = Tobacco smoking status NHIS", + "definition": "Smoking Status: Limited to fixed LOINC value 72166-2 = Tobacco smoking status NHIS.", + "requirements": "Knowing what kind of observation is being made is essential to understanding the observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2" + } + ] + }, + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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. If the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.valueCodeableConcept", + "path": "Observation.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) below.", + "requirements": "An observation exists to have a value, though it may not if it is in error, or 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" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "This value set indicates the current smoking status of a patient", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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\". The 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.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "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:uscoresmookingstatus.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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 may 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "base": { + "path": "Observation.referenceRange.meaning", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related", + "path": "Observation.related", + "short": "Resource related to this observation", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.related.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.related.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Observation" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Sequence" + } + ], + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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\".", + "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" + } + ], + "isSummary": true, + "binding": { + "strength": "example", + "description": "Codes identifying names of simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-codes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "requirements": "An observation exists to have a value, though it may not if it is in error, or 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": "Range" + }, + { + "code": "Ratio" + }, + { + "code": "SampledData" + }, + { + "code": "Attachment" + }, + { + "code": "time" + }, + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "isSummary": true, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.value[x] is missing.", + "comments": "\"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\". The 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" + ], + "binding": { + "strength": "extensible", + "description": "Codes specifying why the result (Observation.value[x]) is missing.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscoresmookingstatus.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.", + "comments": "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 may 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:uscoresmookingstatus.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:uscoresmookingstatus", + "path": "Observation", + "sliceName": "USCoreSmookingStatus", + "short": "US Core Smoking Status Observation Profile", + "definition": "The US Core Smoking Status Observation Profile is based upon the core FHIR Observation Resource and created to meet the 2015 Edition Common Clinical Data Set 'Smoking status' requirements.", + "alias": [ + "Obs" + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoresmookingstatus.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + } + }, + { + "id": "Observation:uscoresmookingstatus.code", + "path": "Observation.code", + "short": "Smoking Status: LOINC 72166-2 = Tobacco smoking status NHIS", + "definition": "Smoking Status: Limited to fixed LOINC value 72166-2 = Tobacco smoking status NHIS.", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://loinc.org", + "code": "72166-2" + } + ] + }, + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoresmookingstatus.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoresmookingstatus.issued", + "path": "Observation.issued", + "min": 1, + "max": "1", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscoresmookingstatus.valueCodeableConcept", + "path": "Observation.valueCodeableConcept", + "short": "Coded Responses from Smoking Status Value Set", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "description": "This value set indicates the current smoking status of a patient", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json b/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json new file mode 100755 index 0000000..c41d895 --- /dev/null +++ b/lib/resources/us_core/StructureDefinition-us-core-vitalsigns.json @@ -0,0 +1,2704 @@ +{ + "resourceType": "StructureDefinition", + "id": "us-core-vitalsigns", + "text": { + "status": "generated", + "div": "

Generated Narrative with Details

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns

name: US Core Vital Signs Profile

status: DRAFT

date: 01/08/2016

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

url: http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns

name: US Core Vital Signs Profile

status: DRAFT

publisher: Health Level Seven International (FHIR-Infrastructure)

contact:

date: 01/08/2016

mapping

identity: v2

uri: http://hl7.org/v2

name: HL7 v2 Mapping

mapping

identity: rim

uri: http://hl7.org/v3

name: RIM Mapping

mapping

identity: w5

uri: http://hl7.org/fhir/w5

name: W5 Mapping

kind: RESOURCE

abstract: false

type: Observation

baseDefinition: http://hl7.org/fhir/StructureDefinition/Observation

derivation: CONSTRAINT

Snapshots

-Element
*todo-bundle

Differentials

-Element
*todo-bundle
" + }, + "url": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns", + "name": "US Core Vital Signs Profile", + "status": "draft", + "publisher": "Health Level Seven International (FHIR-Infrastructure)", + "contact": [ + { + "telecom": [ + { + "system": "url", + "value": "http://www.healthit.gov" + } + ] + } + ], + "date": "2016-08-01", + "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/w5", + "name": "W5 Mapping" + } + ], + "kind": "resource", + "abstract": false, + "type": "Observation", + "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation", + "derivation": "constraint", + "snapshot": { + "element": [ + { + "id": "Observation:uscorevitalsigns", + "path": "Observation", + "sliceName": "USCoreVitalSigns", + "short": "US Core Vital Signs Profile", + "definition": "The US Core Vital Signs Profile is based upon the core FHIR Observation Resource and created to meet the 2015 Edition Common Clinical Data Set 'Vital Signs' requirements.", + "comments": "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 lab 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": "DomainResource" + }, + { + "key": "dom-1", + "severity": "error", + "human": "If the resource is contained in another resource, it SHALL NOT contain any narrative", + "expression": "contained.text.empty()", + "xpath": "not(parent::f:contained and f:text)", + "source": "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": "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", + "expression": "contained.where(('#'+id in %resource.descendants().reference).not()).empty()", + "xpath": "not(exists(for $id in f:contained/*/@id return $id[not(ancestor::f:contained/parent::*/descendant::f:reference/@value=concat('#', $id))]))", + "source": "DomainResource" + }, + { + "key": "obs-7", + "severity": "error", + "human": "If code is the same as a component code then the value element associated with the code SHALL NOT be present", + "expression": "value.empty() or code!=component.code", + "xpath": "not(exists(f:value)) or not(count(for $coding in f:code/f:coding return parent::*/f:component/f:code/f:coding[f:code/@value=$coding/f:code/@value and f:system/@value=$coding/f:system/@value])=0)", + "source": "Observation" + }, + { + "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": "Observation" + }, + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or related element then either a value[x] or a data absent reason must be present", + "expression": "component.value.exists() or dataAbsentReason.exists()", + "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": "Entity. Role, or Act" + }, + { + "identity": "v2", + "map": "OBX" + }, + { + "identity": "rim", + "map": "Observation[classCode=OBS, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "clinical.diagnostics" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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": [ + { + "code": "id" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscorevitalsigns.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 may 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" + } + ], + "isSummary": true + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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 as much as possible.", + "min": 0, + "max": "1", + "base": { + "path": "Resource.implicitRules", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "uri" + } + ], + "isModifier": true, + "isSummary": true + }, + { + "id": "Observation:uscorevitalsigns.language", + "path": "Observation.language", + "short": "Language of the resource content", + "definition": "The base language in which the resource is written.", + "comments": "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" + } + ], + "binding": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet", + "valueReference": { + "reference": "http://hl7.org/fhir/ValueSet/all-languages" + } + } + ], + "strength": "extensible", + "description": "A human language.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/languages" + } + } + }, + { + "id": "Observation:uscorevitalsigns.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 may 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.", + "comments": "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 in formation is added later.", + "alias": [ + "narrative", + "html", + "xhtml", + "display" + ], + "min": 0, + "max": "1", + "base": { + "path": "DomainResource.text", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Narrative" + } + ], + "condition": [ + "dom-1" + ], + "mapping": [ + { + "identity": "rim", + "map": "Act.text?" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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.", + "alias": [ + "inline resources", + "anonymous resources", + "contained resources" + ], + "min": 0, + "max": "*", + "base": { + "path": "DomainResource.contained", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Resource" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions 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.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.identifier", + "path": "Observation.identifier", + "short": "Unique Id for this particular observation", + "definition": "A unique identifier for the simple observation instance.", + "requirements": "Allows observations to be distinguished and referenced.", + "min": 0, + "max": "*", + "base": { + "path": "Observation.identifier", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Identifier" + } + ], + "mapping": [ + { + "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" + }, + { + "identity": "w5", + "map": "id" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "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" + } + ], + "mustSupport": true, + "isModifier": true, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + }, + "mapping": [ + { + "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": "w5", + "map": "status" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.category", + "path": "Observation.category", + "short": "Classification of type of observation", + "definition": "A code that classifies the general type of observation being made.", + "comments": "There may be multiple axis of categoriization depending on the context or use case for retrieving or displaying the resource. The level of granularity is defined by the category concepts in the value set.", + "requirements": "Used for filtering what observations are retreived and displayed.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.category", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs" + } + ] + }, + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "example", + "description": "Codes for high level observation categories .", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-category" + } + }, + "mapping": [ + { + "identity": "rim", + "map": ".outboundRelationship[typeCode=\"COMP].target[classCode=\"LIST\", moodCode=\"EVN\"].code" + }, + { + "identity": "w5", + "map": "class" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "definition": "Describes what was observed. Sometimes this is called the observation \"name\".", + "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).", + "min": 1, + "max": "1", + "base": { + "path": "Observation.code", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.subject", + "path": "Observation.subject", + "short": "Who and/or what this is about", + "definition": "The patient, or group of patients, location, or device whose characteristics (direct or indirect) are described by the observation and into whose record the observation is placed. Comments: Indirect characteristics may be those of a specimen, fetus, donor, other observer (for example a relative or EMT), or any observation made about the subject.", + "comments": "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. If the target of the observation is different than the subject, the general extension [observation-focal-subject](extension-observation-focal-subject.html). may be used. However, the distinction between the patient's own value for an observation versus that of the fetus, or the donor or blood product unit, etc., are often specified in the observation code.", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "PID-3" + }, + { + "identity": "rim", + "map": "participation[typeCode=SBJ]" + }, + { + "identity": "w5", + "map": "who.focus" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "requirements": "For some observations it may be important to know the link between an observation and a particular encounter.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.encounter", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Encounter" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "PV1" + }, + { + "identity": "rim", + "map": "inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]" + }, + { + "identity": "w5", + "map": "context" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "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.", + "comments": "At least a date should be present unless this observation is a historical report.", + "requirements": "Knowing when an observation was deemed true is important to its relevance as well as determining trends.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.effective[x]", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "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, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "OBX-14, and/or OBX-19 after v2.4 (depends on who observation made)" + }, + { + "identity": "rim", + "map": "effectiveTime" + }, + { + "identity": "w5", + "map": "when.done" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.issued", + "path": "Observation.issued", + "short": "Date/Time this was made available", + "definition": "The date and time this observation was made available to providers, typically after the results have been reviewed and verified.", + "comments": "Updated when the result is updated.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.issued", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "instant" + } + ], + "isSummary": true, + "mapping": [ + { + "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": "w5", + "map": "when.recorded" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Organization" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/RelatedPerson" + } + ], + "isSummary": true, + "mapping": [ + { + "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]" + }, + { + "identity": "w5", + "map": "who.actor" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity", + "path": "Observation.valueQuantity", + "short": "Vital Sign Value recorded with UCUM", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is derived). If a value is present, the datatype for this element should be determined by Observation.code. This element has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueString, valueRange, valueRatio, valueSampledData, valueAttachment, valueTime, valueDateTime, or valuePeriod. (The name format is \"'value' + the type name\" with a capital on the first letter of the type). If the data element is usually coded or if the type associated with the Observation.value defines a coded value, use CodeableConcept instead of string datatype even if the value is uncoded text. A value set is bound to the ValueCodeableConcept element. For boolean values use valueCodeableConcept and select codes from [HL7 Version 2 Table 0136](v2/0136/index.html). These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed. For further discussion and examples see the [notes section](observation.html#4.20.4) 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" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.id", + "path": "Observation.valueQuantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.extension", + "path": "Observation.valueQuantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.value", + "path": "Observation.valueQuantity.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscorevitalsigns.valueQuantity.comparator", + "path": "Observation.valueQuantity.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.", + "comments": "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.", + "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", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.unit", + "path": "Observation.valueQuantity.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.system", + "path": "Observation.valueQuantity.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" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.code", + "path": "Observation.valueQuantity.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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\". The 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.dataAbsentReason", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "condition": [ + "obs-6" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.interpretation", + "path": "Observation.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "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": "1", + "base": { + "path": "Observation.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.comment", + "path": "Observation.comment", + "short": "Comments about result", + "definition": "May include statements about significant, unexpected or unreliable values, or information about the source of the value where this may be relevant to the interpretation of the result.", + "requirements": "Need to be able to provide free text additional information.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.comment", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "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:uscorevitalsigns.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).", + "comments": "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. If the use case requires BodySite to be handled as a separate resource (e.g. to identify and track separately) then use The standard extension[ body-site-instance](extension-body-site-instance.html).", + "requirements": "Knowing where the observation is made is important for tracking if multiple sites are possible.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.bodySite", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Codes describing anatomical locations. May include laterality.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/body-site" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-20" + }, + { + "identity": "rim", + "map": "targetSiteCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.method", + "path": "Observation.method", + "short": "How it was done", + "definition": "Indicates the mechanism used to perform the observation.", + "comments": "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" + } + ], + "binding": { + "strength": "example", + "description": "Methods for simple observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-methods" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-17" + }, + { + "identity": "rim", + "map": "methodCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.specimen", + "path": "Observation.specimen", + "short": "Specimen used for this observation", + "definition": "The specimen that was used when this observation was made.", + "comments": "Observations are not made on specimens themselves; they are made on a subject, but usually 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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "SPM segment" + }, + { + "identity": "rim", + "map": "participation[typeCode=SPC].specimen" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.device", + "path": "Observation.device", + "short": "(Measurement) Device", + "definition": "The device used to generate the observation data.", + "comments": "An extension should be used if further typing of the device is needed. Devices used to support obtaining an observation can be represented using either extension or through the Observation.related element.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.device", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device" + }, + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/StructureDefinition/DeviceMetric" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-17 / PRT -10" + }, + { + "identity": "rim", + "map": "participation[typeCode=DEV]" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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 may 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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "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))" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.referenceRange.id", + "path": "Observation.referenceRange.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.referenceRange.modifierExtension", + "path": "Observation.referenceRange.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.low" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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" + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:IVL_PQ.high" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.referenceRange.meaning", + "path": "Observation.referenceRange.meaning", + "short": "Reference range qualifier", + "definition": "Codes to indicate the the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex, race, therapeutic status, or endocrine or reproductive status.", + "comments": "This SHOULD be populated if there is more than one range. If this element is not present then the norma population 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": "*", + "base": { + "path": "Observation.referenceRange.meaning", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "example", + "description": "Code for the meaning of a reference range.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/referencerange-meaning" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-10?" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "outboundRelationship[typeCode=PRCN].targetObservationCriterion[code=\"age\"].value" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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" + } + ], + "mapping": [ + { + "identity": "v2", + "map": "OBX-7" + }, + { + "identity": "rim", + "map": "value:ST" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related", + "path": "Observation.related", + "short": "Used when reporting systolic and diastolic blood pressure.", + "definition": "A reference to another resource (usually another Observation) whose relationship is defined by the relationship type code.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes below](observation.html#4.20.4).", + "requirements": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and a set of related observations or sometimes QuestionnaireResponse from which the measure is derived.", + "min": 0, + "max": "1", + "base": { + "path": "Observation.related", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "BackboneElement" + } + ], + "constraint": [ + { + "key": "ele-1", + "severity": "error", + "human": "All FHIR elements must have a @value or children", + "expression": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "Relationships established by OBX-4 usage" + }, + { + "identity": "rim", + "map": "outBoundRelationship" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related.id", + "path": "Observation.related.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related.extension", + "path": "Observation.related.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related.modifierExtension", + "path": "Observation.related.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related.type", + "path": "Observation.related.type", + "short": "has-member | derived-from | sequel-to | replaces | qualified-by | interfered-by", + "definition": "A code specifying the kind of relationship that exists with the target resource.", + "comments": "\"derived-from\" is only logical choice when referencing QuestionnaireAnswer resource.", + "requirements": "A relationship type SHOULD be provided.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.related.type", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "code" + } + ], + "fixedCode": "has-member", + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "required", + "description": "Codes specifying how two observations are related.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-relationshiptypes" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": ".typeCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.related.target", + "path": "Observation.related.target", + "short": "Resource that is related to this one", + "definition": "A reference to the observation or [QuestionnaireResponse](questionnaireresponse.html#) resource that is related to this observation.", + "min": 1, + "max": "1", + "base": { + "path": "Observation.related.target", + "min": 1, + "max": "1" + }, + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "rim", + "map": ".targetObservation" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component", + "path": "Observation.component", + "short": "Used when reporting systolic and diastolic blood pressure.", + "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.", + "comments": "For a discussion on the ways Observations can assembled in groups together see [Notes](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": "children().count() > id.count()", + "xpath": "@value|f:*|h:div", + "source": "Element" + }, + { + "key": "us-core-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "containment by OBX-4?" + }, + { + "identity": "rim", + "map": "outBoundRelationship[typeCode=COMP]" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.id", + "path": "Observation.component.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.modifierExtension", + "path": "Observation.component.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 element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content", + "modifiers" + ], + "min": 0, + "max": "*", + "base": { + "path": "BackboneElement.modifierExtension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "isModifier": true, + "isSummary": true, + "mapping": [ + { + "identity": "rim", + "map": "N/A" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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\".", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-3" + }, + { + "identity": "rim", + "map": "code" + }, + { + "identity": "w5", + "map": "what" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity", + "path": "Observation.component.valueQuantity", + "short": "Vital Sign Value recorded with UCUM", + "definition": "The information determined as a result of making the observation, if the information has a simple value.", + "comments": "Normally, an observation will have either a value or a set of related observations. A few observations (e.g. Apgar score) may have both a value and related observations (for an Apgar score, the observations from which the measure is 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 boolean values use valueCodeableConcept and select codes from (These \"yes/no\" concepts can be mapped to the display name \"true/false\" or other mutually exclusive terms that may be needed\"). The element, Observation.value[x], has a variable name depending on the type as follows: valueQuantity, valueCodeableConcept, valueRatio, valueChoice, valuePeriod, valueSampleData, or valueString (The name format is \"'value' + the type name\" with a capital on the first letter of the type).", + "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" + } + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX.2, OBX.5, OBX.6" + }, + { + "identity": "rim", + "map": "value" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.id", + "path": "Observation.component.valueQuantity.id", + "representation": [ + "xmlAttr" + ], + "short": "xml:id (or equivalent in JSON)", + "definition": "unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", + "min": 0, + "max": "1", + "base": { + "path": "Element.id", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "string" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.extension", + "path": "Observation.component.valueQuantity.extension", + "short": "Additional Content defined by implementations", + "definition": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the 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.", + "comments": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", + "alias": [ + "extensions", + "user content" + ], + "min": 0, + "max": "*", + "base": { + "path": "Element.extension", + "min": 0, + "max": "*" + }, + "type": [ + { + "code": "Extension" + } + ], + "mapping": [ + { + "identity": "rim", + "map": "n/a" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.value", + "path": "Observation.component.valueQuantity.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "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:uscorevitalsigns.component.valueQuantity.comparator", + "path": "Observation.component.valueQuantity.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.", + "comments": "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.", + "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", + "isModifier": true, + "isSummary": true, + "binding": { + "strength": "required", + "description": "How the Quantity should be understood and represented.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/quantity-comparator" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "SN.1 / CQ.1" + }, + { + "identity": "rim", + "map": "IVL properties" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.unit", + "path": "Observation.component.valueQuantity.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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.unit" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.system", + "path": "Observation.component.valueQuantity.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" + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "CO.codeSystem, PQ.translation.codeSystem" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.code", + "path": "Observation.component.valueQuantity.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.", + "comments": "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" + } + ], + "mustSupport": true, + "isSummary": false, + "mapping": [ + { + "identity": "v2", + "map": "(see OBX.6 etc.) / CQ.2" + }, + { + "identity": "rim", + "map": "PQ.code, MO.currency, PQ.translation.code" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.value[x] is missing.", + "comments": "\"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\". The 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" + ], + "mustSupport": true, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "N/A" + }, + { + "identity": "rim", + "map": "value.nullFlavor" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.component.interpretation", + "path": "Observation.component.interpretation", + "short": "High, low, normal, etc.", + "definition": "The assessment made based on the result of the observation. Intended as a simple compact code often placed adjacent to the result value in reports and flow sheets to signal the meaning/normalcy status of the result. Otherwise known as abnormal flag.", + "comments": "The component interpretation is applies only to the indivual component value. For an overall interpretation all components together use Observation.interpretation element.", + "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": "1", + "base": { + "path": "Observation.component.interpretation", + "min": 0, + "max": "1" + }, + "type": [ + { + "code": "CodeableConcept" + } + ], + "binding": { + "strength": "extensible", + "description": "Codes identifying interpretations of observations.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-interpretation" + } + }, + "mapping": [ + { + "identity": "v2", + "map": "OBX-8" + }, + { + "identity": "rim", + "map": "interpretationCode" + } + ] + }, + { + "id": "Observation:uscorevitalsigns.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.", + "comments": "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 may 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:uscorevitalsigns.referenceRange", + "mapping": [ + { + "identity": "v2", + "map": "OBX.7" + }, + { + "identity": "rim", + "map": "outboundRelationship[typeCode=REFV]/target[classCode=OBS, moodCode=EVN]" + } + ] + } + ] + }, + "differential": { + "element": [ + { + "id": "Observation:uscorevitalsigns", + "path": "Observation", + "sliceName": "USCoreVitalSigns", + "short": "US Core Vital Signs Profile", + "definition": "The US Core Vital Signs Profile is based upon the core FHIR Observation Resource and created to meet the 2015 Edition Common Clinical Data Set 'Vital Signs' requirements.", + "alias": [ + "Vital Signs", + "Measurement", + "Results", + "Tests" + ], + "constraint": [ + { + "key": "us-core-2", + "severity": "error", + "human": "If there is no component or related element then either a value[x] or a data absent reason must be present", + "expression": "component.value.exists() or dataAbsentReason.exists()", + "xpath": "exists(f:component) or exists(f:related) or exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": false, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.status", + "path": "Observation.status", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "required", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-status" + } + } + }, + { + "id": "Observation:uscorevitalsigns.category", + "path": "Observation.category", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "patternCodeableConcept": { + "coding": [ + { + "system": "http://hl7.org/fhir/observation-category", + "code": "vital-signs" + } + ] + }, + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.code", + "path": "Observation.code", + "short": "Coded Responses from C-CDA Vital Sign Results", + "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).", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult" + } + } + }, + { + "id": "Observation:uscorevitalsigns.subject", + "path": "Observation.subject", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.effective[x]", + "path": "Observation.effective[x]", + "short": "Often just a dateTime for Vital Signs", + "min": 1, + "max": "1", + "type": [ + { + "code": "dateTime" + }, + { + "code": "Period" + } + ], + "constraint": [ + { + "key": "us-core-1", + "severity": "error", + "human": "Datetime must be at least to day.", + "expression": "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": false + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity", + "path": "Observation.valueQuantity", + "short": "Vital Sign Value recorded with UCUM", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common" + } + } + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.value", + "path": "Observation.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.unit", + "path": "Observation.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.valueQuantity.system", + "path": "Observation.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.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, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.dataAbsentReason", + "path": "Observation.dataAbsentReason", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + } + }, + { + "id": "Observation:uscorevitalsigns.related", + "path": "Observation.related", + "short": "Used when reporting systolic and diastolic blood pressure.", + "min": 0, + "max": "1", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.related.type", + "path": "Observation.related.type", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "fixedCode": "has-member", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.related.target", + "path": "Observation.related.target", + "min": 1, + "max": "1", + "type": [ + { + "code": "Reference", + "targetProfile": "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component", + "path": "Observation.component", + "short": "Used when reporting systolic and diastolic blood pressure.", + "min": 0, + "max": "1", + "constraint": [ + { + "key": "us-core-3", + "severity": "error", + "human": "If there is no a value a data absent reason must be present", + "expression": "value.exists() or dataAbsentReason.exists()", + "xpath": "exists(f:*[starts-with(local-name(.), 'value)]) or exists(f:dataAbsentReason)" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component.code", + "path": "Observation.component.code", + "min": 1, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "This identifies the vital sign result type.", + "valueSetReference": { + "reference": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult" + } + } + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity", + "path": "Observation.component.valueQuantity", + "short": "Vital Sign Value recorded with UCUM", + "requirements": "9. SHALL contain exactly one [1..1] value with @xsi:type=\"PQ\" (CONF:7305).", + "min": 0, + "max": "1", + "type": [ + { + "code": "Quantity" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "description": "Common UCUM units for recording Vital Signs", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/ucum-vitals-common" + } + } + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.value", + "path": "Observation.component.valueQuantity.value", + "min": 1, + "max": "1", + "type": [ + { + "code": "decimal" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.unit", + "path": "Observation.component.valueQuantity.unit", + "min": 1, + "max": "1", + "type": [ + { + "code": "string" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.system", + "path": "Observation.component.valueQuantity.system", + "min": 1, + "max": "1", + "type": [ + { + "code": "uri" + } + ], + "fixedUri": "http://unitsofmeasure.org", + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component.valueQuantity.code", + "path": "Observation.component.valueQuantity.code", + "short": "Coded responses from the common UCUM units for vital signs value set.", + "min": 1, + "max": "1", + "type": [ + { + "code": "code" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false + }, + { + "id": "Observation:uscorevitalsigns.component.dataAbsentReason", + "path": "Observation.component.dataAbsentReason", + "min": 0, + "max": "1", + "type": [ + { + "code": "CodeableConcept" + } + ], + "mustSupport": true, + "isModifier": false, + "isSummary": false, + "binding": { + "strength": "extensible", + "valueSetReference": { + "reference": "http://hl7.org/fhir/ValueSet/observation-valueabsentreason" + } + } + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-detailed-ethnicity.json b/lib/resources/us_core/ValueSet-detailed-ethnicity.json new file mode 100755 index 0000000..f1090d2 --- /dev/null +++ b/lib/resources/us_core/ValueSet-detailed-ethnicity.json @@ -0,0 +1,36 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-ethnicity", + "text": { + "status": "generated", + "div": "

US-Core Detailed ethnicity

The 41 CDC ethnicity codes that are grouped under one of the 2 OMB ethnicity category codes.

\n

This value set includes codes from the following code systems:

  • Import all the codes that are contained in http://hl7.org/fhir/ValueSet/v3-Ethnicity
  • Exclude these codes as defined in http://hl7.org/fhir/v3/Ethnicity
    CodeDisplay
    2135-2Hispanic or LatinoHispanic or Latino
    2186-5Not 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": "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity", + "name": "US-Core Detailed ethnicity", + "status": "draft", + "publisher": "USRealm Task Force", + "date": "2016-08-30", + "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.", + "compose": { + "include": [ + { + "valueSet": [ + "http://hl7.org/fhir/ValueSet/v3-Ethnicity" + ] + } + ], + "exclude": [ + { + "system": "http://hl7.org/fhir/v3/Ethnicity", + "concept": [ + { + "code": "2135-2" + }, + { + "code": "2186-5" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-detailed-race.json b/lib/resources/us_core/ValueSet-detailed-race.json new file mode 100755 index 0000000..2f2fc6b --- /dev/null +++ b/lib/resources/us_core/ValueSet-detailed-race.json @@ -0,0 +1,45 @@ +{ + "resourceType": "ValueSet", + "id": "detailed-race", + "text": { + "status": "generated", + "div": "

US-Core Detailed Race

The 900+ CDC Race codes that are grouped under one of the 5 OMB race category codes.

\n

This value set includes codes from the following code systems:

  • Import all the codes that are contained in http://hl7.org/fhir/ValueSet/v3-Race
  • Exclude these codes as defined in http://hl7.org/fhir/v3/Race
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/detailed-race", + "name": "US-Core Detailed Race", + "status": "draft", + "publisher": "USRealm Task Force", + "date": "2016-08-30", + "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.", + "compose": { + "include": [ + { + "valueSet": [ + "http://hl7.org/fhir/ValueSet/v3-Race" + ] + } + ], + "exclude": [ + { + "system": "http://hl7.org/fhir/v3/Race", + "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/lib/resources/us_core/ValueSet-omb-ethnicity.json b/lib/resources/us_core/ValueSet-omb-ethnicity.json new file mode 100755 index 0000000..957a0fc --- /dev/null +++ b/lib/resources/us_core/ValueSet-omb-ethnicity.json @@ -0,0 +1,31 @@ +{ + "resourceType": "ValueSet", + "id": "omb-ethnicity", + "text": { + "status": "generated", + "div": "

OMB Ethnicity Categories

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.

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/ValueSet/v3-Ethnicity
    CodeDisplay
    2135-2Hispanic or Latino
    2186-5Non Hispanic or Latino
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity", + "name": "OMB Ethnicity Categories", + "status": "draft", + "publisher": "USRealm Task Force", + "date": "2016-08-30", + "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.whitehouse.gov/omb/fedreg_1997standards).", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/ValueSet/v3-Ethnicity", + "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/lib/resources/us_core/ValueSet-omb-race.json b/lib/resources/us_core/ValueSet-omb-race.json new file mode 100755 index 0000000..db01923 --- /dev/null +++ b/lib/resources/us_core/ValueSet-omb-race.json @@ -0,0 +1,82 @@ +{ + "resourceType": "ValueSet", + "id": "omb-race", + "text": { + "status": "generated", + "div": "

OMB Race Categories

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 .

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/v3/Race
    CodeDisplay
    1002-5American Indian or Alaska NativeAmerican Indian or Alaska Native
    2028-9AsianAsian
    2054-5Black or African AmericanBlack or African American
    2076-8Native Hawaiian or Other Pacific IslanderNative Hawaiian or Other Pacific Islander
    2106-3WhiteWhite
  • Include these codes as defined in http://hl7.org/fhir/v3/NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known. Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless: Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown') Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
    ASKUAsked but no answerInformation was sought but not found (e.g., patient was asked but didn't know)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/omb-race", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.575" + } + ], + "version": "1.5.0", + "name": "OMB Race Categories", + "status": "active", + "experimental": true, + "publisher": "DAF Project", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + }, + { + "telecom": [ + { + "system": "other", + "value": "http://wiki.siframework.org/Data+Access+Framework+Homepage" + } + ] + } + ], + "date": "2016-05-25T16:59:08+10:00", + "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.whitehouse.gov/omb/fedreg_1997standards) .", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/v3/Race", + "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://hl7.org/fhir/v3/NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + }, + { + "code": "ASKU", + "display": "Asked but no answer" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-birthsex.json b/lib/resources/us_core/ValueSet-us-core-birthsex.json new file mode 100755 index 0000000..3215dea --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-birthsex.json @@ -0,0 +1,51 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-birthsex", + "text": { + "status": "generated", + "div": "

US Core Birth Sex Value Set

Codes for assigning sex at birth as specified by the Office of the National Coordinator for Health IT (ONC)

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/v3/AdministrativeGender
    CodeDisplay
    FFemaleFemale
    MMaleMale
  • Include these codes as defined in http://hl7.org/fhir/v3/NullFlavor
    CodeDisplay
    UNKUnknownDescription:A proper value is applicable, but not known. Usage Notes: This means the actual value is not known. If the only thing that is unknown is how to properly express the value in the necessary constraints (value set, datatype, etc.), then the OTH or UNC flavor should be used. No properties should be included for a datatype with this property unless: Those properties themselves directly translate to a semantic of "unknown". (E.g. a local code sent as a translation that conveys 'unknown') Those properties further qualify the nature of what is unknown. (E.g. specifying a use code of "H" and a URL prefix of "tel:" to convey that it is the home phone number that is unknown.)
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex", + "version": "1.6.0", + "name": "US Core Birth Sex Value Set", + "status": "active", + "publisher": "US Realm Steering Committee", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "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)", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/v3/AdministrativeGender", + "concept": [ + { + "code": "F", + "display": "Female" + }, + { + "code": "M", + "display": "Male" + } + ] + }, + { + "system": "http://hl7.org/fhir/v3/NullFlavor", + "concept": [ + { + "code": "UNK", + "display": "Unknown" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json b/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json new file mode 100755 index 0000000..3f89bfa --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-careteam-provider-roles.json @@ -0,0 +1,53 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-provider-roles", + "text": { + "status": "generated", + "div": "

CareTeam Provider Roles

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 125676002 Person (person) heirarchy and the SCTID 394730007 Healthcare related organization (qualifier value) heirarchy.

\n

Copyright Statement: 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. TODO: Permission to Use and Distribute the Health Care Provider Taxonomy Code Set

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles", + "name": "CareTeam Provider Roles", + "status": "draft", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-08T08:27:28-07:00", + "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 125676002 Person (person) heirarchy and the SCTID 394730007 Healthcare related organization (qualifier value) heirarchy.", + "purpose": "Codes that may be used for implementation of the Argonaut Procedures IG and MU2015 certification.", + "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. TODO: Permission to Use and Distribute the Health Care Provider Taxonomy Code Set", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "125676002" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "394730007" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-careteam-status.json b/lib/resources/us_core/ValueSet-us-core-careteam-status.json new file mode 100755 index 0000000..aa0d187 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-careteam-status.json @@ -0,0 +1,21 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-careteam-status", + "text": { + "status": "generated", + "div": "

CareTeamStatus

Indicates whether the team is current , represents future intentions or is now a historical record.

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-status", + "name": "CareTeamStatus", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-12-06T22:13:05+11:00", + "description": "Indicates whether the team is current , represents future intentions or is now a historical record.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/careteam-status" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-condition-category.json b/lib/resources/us_core/ValueSet-us-core-condition-category.json new file mode 100755 index 0000000..fc85637 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-condition-category.json @@ -0,0 +1,35 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-condition-category", + "text": { + "status": "generated", + "div": "

US Core Condition Category Codes

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

\n

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category", + "name": "US Core Condition Category Codes", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-08-10", + "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", + "purpose": "So API consumers can separate health concerns and problems.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/condition-category" + }, + { + "system": "http://hl7.org/fhir/us/core/CodeSystem/condition-category", + "concept": [ + { + "code": "problem", + "display": "Problem" + }, + { + "code": "health-concern", + "display": "Health Concern" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-cvx.json b/lib/resources/us_core/ValueSet-us-core-cvx.json new file mode 100755 index 0000000..7c4ce95 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-cvx.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-cvx", + "text": { + "status": "generated", + "div": "

Vaccine Administered Value Set (CVX)

This identifies the vaccine substance administered - CVX codes

\n

This value set includes codes from the following code systems:

  • Include all codes defined in http://hl7.org/fhir/sid/cvx
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-cvx", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.22" + } + ], + "version": "1.6.0", + "name": "Vaccine Administered Value Set (CVX)", + "status": "active", + "experimental": true, + "publisher": "HL7 FHIR", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "description": "This identifies the vaccine substance administered - CVX codes", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/sid/cvx" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-immunization-status.json b/lib/resources/us_core/ValueSet-us-core-immunization-status.json new file mode 100755 index 0000000..7bde886 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-immunization-status.json @@ -0,0 +1,57 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-immunization-status", + "text": { + "status": "generated", + "div": "
\n

Immunization codes constrained from the DSTU core to include only 'completed' and 'enter-in-error' which are the only two clinically relevent values.

\n

Codes that may be used for implementation of the Argonaut Immunization IG and MU2015 certification.

\n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
CodeDisplayDefinition
completedCompletedAll actions that are implied by the administration have occurred.
entered-in-errorEntered in ErrorThe administration was entered in error and therefore nullified.
\n

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-immunization-status", + "name": "Immunization Status", + "status": "draft", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-12-06T22:13:05+11:00", + "description": "Immunization codes constrained from the STU core to include only 'completed' and 'enter-in-error' which are the only two clinically relevent values.", + "purpose": "Codes that may be used for implementation of the Argonaut Immunization IG and MU2015 certification.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/medication-admin-status", + "concept": [ + { + "code": "completed", + "display": "Completed", + "designation": [ + { + "value": "All actions that are implied by the administration have occurred" + } + ] + } + ] + }, + { + "system": "http://hl7.org/fhir/medication-admin-status", + "concept": [ + { + "code": "entered-in-error", + "display": "Entered in Error", + "designation": [ + { + "value": "The administration was entered in error and therefore nullified" + } + ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-medication-codes.json b/lib/resources/us_core/ValueSet-us-core-medication-codes.json new file mode 100755 index 0000000..425344c --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-medication-codes.json @@ -0,0 +1,52 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-medication-codes", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Medication Clinical Drug (RxNorm)

\n

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

This value set includes codes from the following code systems:

\n
    \n
  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in SCD,SBD,GPCK,BPCK,SCDG,SBDG,SCDF,SBDF
  • \n
\n
" + }, + "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": "1.6.0", + "name": "Medication Clinical Drug (RxNorm)", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-05-25T16:59:08+10:00", + "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)", + "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/lib/resources/us_core/ValueSet-us-core-narrative-status.json b/lib/resources/us_core/ValueSet-us-core-narrative-status.json new file mode 100755 index 0000000..2ba440d --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-narrative-status.json @@ -0,0 +1,42 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-narrative-status", + "text": { + "status": "generated", + "div": "

Narrative Status

This value set limits the text status for the resource narrative.

\n

Copyright Statement: HL7

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/narrative-status
    CodeDisplay
    additionaladditionalThe contents of the narrative may contain additional information not found in the structured data. Note that there is no computable way to determine what the extra information is, other than by human inspection
    generatedgeneratedThe contents of the narrative are entirely generated from the structured data in the content.
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status", + "name": "Narrative Status", + "status": "draft", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-12-06T22:13:05+11:00", + "description": "This value set limits the text status for the resource narrative.", + "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/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json b/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json new file mode 100755 index 0000000..207a097 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-ndc-vaccine-codes.json @@ -0,0 +1,2051 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ndc-vaccine-codes", + "text": { + "status": "generated", + "div": "

Vaccine National Drug Code (NDC)

This value set includes all the Vaccine National Drug Codes (NDC). This source of this data is provided by the CDC

\n

This value set includes codes from the following code systems:

  • Include these codes as defined in http://hl7.org/fhir/sid/ndc
    CodeDisplay
    49281-0589-58Menactra
    49281-0623-78FLUZONE QUADRIVALENT
    49281-0515-00Fluzone Quadrivalent, peds
    49281-0415-88Fluzone Quadrivalent PF
    49281-0415-58FLUZONE QUADRIVALENT PF
    33332-0115-11AFLURIA
    33332-0015-02AFLURIA
    66019-0302-01FluMist Quadrivalent
    42874-0015-01Flublok
    66521-0118-12Fluvirin
    66521-0118-11Fluvirin
    58160-0883-41FLUARIX
    66521-0000-11Fluad
    69401-0000-01Vivotif
    66019-0301-01FluMist Quadrivalent
    33332-0014-02AFLURIA
    33332-0114-11AFLURIA
    63851-0613-11Flucelvax
    66521-0117-11FLUVIRIN
    66521-0117-12Fluvirin
    00006-4093-01RECOMBIVAX HB
    00006-4094-01RECOMBIVAX HB
    00006-4095-01VAQTA
    00006-4096-01VAQTA
    00006-4963-01ZOSTAVAX
    00006-4963-01ZOSTAVAX
    42874-0014-01Flublok
    49281-0414-88Fluzone Quadrivalent PF
    49281-0395-88Fluzone HD
    49281-0709-48FLUZONE Intradermal
    58160-0881-41FLUARIX
    58160-0809-01MENHIBRIX
    62577-0613-11Flucelvax
    19515-0893-02FLULAVAL
    49281-0621-78FLUZONE QUADRIVALENT
    00005-0100-01Trumenba
    00005-0100-01Trumenba
    00005-0100-01Trumenba
    00006-4047-01RotaTeq
    00006-4109-01GARDASIL
    62577-0613-11Flucelvax
    00006-4121-01GARDASIL 9
    00006-4119-01GARDASIL 9
    00006-4119-01GARDASIL 9
    63851-0511-11RabAvert
    49281-0562-58QUADRACEL
    46028-0114-11Bexsero
    46028-0114-11Bexsero
    00006-4171-01ProQuad
    13533-0131-00Tetanus and Diphtheria Toxoids Adsorbed
    49281-0396-78FLUZONE
    49281-0397-88FLUZONE High-Dose
    62577-0614-11Flucelvax
    58160-0903-41FLUARIX QUADRIVALENT
    19515-0898-01Flulaval Quadrivalent
    19515-0901-41Flulaval Quadrivalent
    49281-0393-88FLUZONE High-Dose
    58160-0810-43INFANRIX
    58160-0810-01INFANRIX
    49281-0790-38Typhim Vi
    49281-0790-88Typhim Vi
    49281-0640-15INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0650-10INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0650-90INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0650-25INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0650-70INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0650-50INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE
    49281-0707-48FLUZONE
    66019-0110-01FluMist
    00006-4681-01M-M-R II
    49281-0215-58TENIVAC
    49281-0215-88TENIVAC
    46028-0218-11Meningococcal (Groups A) CRM197 Oligosaccharide Co
    49281-0387-65FLUZONE
    49281-0386-15FLUZONE
    49281-0010-10FLUZONE
    49281-0010-25Fluzone
    49281-0010-50FLUZONE
    54868-0980-00M-M-R II
    58160-0830-43CERVARIX
    58160-0830-05CERVARIX
    00005-1971-01PREVNAR 13
    00005-1971-01PREVNAR 13
    00005-1971-01PREVNAR 13
    17478-0131-00Tetanus and Diphtheria Toxoids Adsorbed
    58160-0812-43KINRIX
    58160-0812-01KINRIX
    66019-0108-01FluMist
    00006-4898-01COMVAX
    58160-0809-01MENHIBRIX
    63851-0612-11Flucelvax
    00006-4992-01RECOMBIVAX HB
    00006-4981-01RECOMBIVAX HB
    00006-4980-00RECOMBIVAX HB
    00006-4093-01RECOMBIVAX HB
    00006-4094-01RECOMBIVAX HB
    00006-4109-01GARDASIL
    66521-0112-02FLUVIRIN
    66521-0112-10FLUVIRIN
    66019-0107-01FluMist
    49281-0225-58DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    49281-0705-55FLUZONE
    42515-0001-00IXIARO
    58160-0879-41FLUARIX
    58160-0880-41FLUARIX
    58160-0820-01ENGERIX-B
    58160-0820-43ENGERIX-B
    58160-0821-01ENGERIX-B
    58160-0821-43ENGERIX-B
    58160-0821-05ENGERIX-B
    42874-0012-01Flublok
    49281-0278-10DIPHTHERIA AND TETANUS TOXOIDS ADSORBED
    66019-0109-01FluMist
    19515-0890-02FLULAVAL
    19515-0889-02FLULAVAL
    58160-0900-41FLUARIX QUADRIVALENT
    49281-0860-78IPOL
    49281-0860-88IPOL
    49281-0389-65FLUZONE High-Dose
    49281-0388-15FLUZONE
    49281-0011-10FLUZONE
    49281-0011-50FLUZONE
    49281-0703-55FLUZONE Intradermal
    49281-0111-25FLUZONE
    66521-0200-10Influenza A (H1N1) 2009 Monovalent Vaccine
    66521-0200-02Influenza A (H1N1) 2009 Monovalent Vaccine
    49281-0298-10TRIPEDIA
    58160-0806-01HIBERIX
    33332-0013-02AFLURIA
    33332-0113-11AFLURIA
    49281-0391-65FLUZONE High-Dose
    49281-0012-50FLUZONE
    49281-0012-10FLUZONE
    49281-0112-25FLUZONE
    49281-0390-15FLUZONE
    00006-4897-01PedvaxHIB
    49281-0291-83DECAVAC
    49281-0291-10DECAVAC
    49281-0413-88FLUZONE QUADRIVALENT
    49281-0413-58FLUZONE QUADRIVALENT
    49281-0513-00FLUZONE QUADRIVALENT
    66521-0113-02Fluvirin
    66521-0113-10Fluvirin
    00005-1970-49Prevnar
    00006-4047-01RotaTeq
    58160-0811-43PEDIARIX
    58160-0811-41PEDIARIX
    00006-4827-01VARIVAX
    00006-4826-01VARIVAX
    58160-0842-41BOOSTRIX
    58160-0842-01BOOSTRIX
    58160-0842-43BOOSTRIX
    58160-0842-05BOOSTRIX
    66019-0300-01FluMist Quadrivalent
    49281-0589-58Menactra
    00006-4095-01VAQTA
    00006-4096-01VAQTA
    00006-4831-01VAQTA
    63851-0511-11RabAvert
    66019-0200-01Influenza A H1N1 2009 Monovalent Vaccine Live Intr
    14362-0111-03Tetanus and Diphtheria Toxoids Adsorbed
    33332-0519-01Influenza A
    33332-0519-25Influenza A
    33332-0629-10Influenza A
    58160-0825-43HAVRIX
    58160-0825-01HAVRIX
    58160-0826-43HAVRIX
    58160-0826-05HAVRIX
    58160-0826-01HAVRIX
    33332-0010-01AFLURIA
    33332-0110-10AFLURIA
    66521-0115-10Fluvirin
    66521-0115-02Fluvirin
    00006-4133-01Tetanus and Diphtheria Toxoids Adsorbed
    54868-4320-09PNEUMOVAX 23
    54868-3339-09PNEUMOVAX 23
    00052-0603-01BCG VACCINE
    64678-0211-05BioThrax
    00006-4739-01PNEUMOVAX 23
    00006-4943-01PNEUMOVAX 23
    49281-0013-58FLUZONE
    49281-0013-88FLUZONE
    49281-0392-78FLUZONE
    49281-0113-00FLUZONE
    49281-0820-10TETANUS TOXOID ADSORBED
    49281-0800-83TETANUS TOXOID ADSORBED
    49281-0400-88Adacel
    49281-0286-58DAPTACEL
    49281-0286-58DAPTACEL
    49281-0286-58DAPTACEL
    58160-0815-41TWINRIX
    58160-0815-43TWINRIX
    58160-0815-05TWINRIX
    58160-0815-43TWINRIX
    58160-0815-01TWINRIX
    66521-0114-10Fluvirin
    76420-0482-01FLUVIRIN
    19515-0895-01Flulaval Quadrivalent
    00006-4999-01ProQuad
    49281-0545-15ACTHIB
    51285-0174-02Adenovirus Type 4 Vaccine, Live, Oral
    49281-0248-58IMOVAX RABIES
    49281-0487-58MENOMUNE - A/C/Y/W-135 COMBINED
    49281-0915-58YF-VAX
    49281-0547-58ACTHIB
    58160-0851-01ROTARIX
    49281-0915-68YF-VAX
    49281-0488-78MENOMUNE - A/C/Y/W-135 COMBINED
    46028-0219-11Meningococcal (Groups C, Y, W-135) CRM197 Oligosac
    51285-0175-02Adenovirus Type 7 Vaccine, Live, Oral
    49281-0560-05DTAP-IPV
    49281-0400-58Adacel
    49281-0400-58Adacel
    42874-0013-01Flublok
    66521-0116-11FLUVIRIN
    66521-0116-12FLUVIRIN
    00006-4045-01GARDASIL
    00006-4045-01GARDASIL
    00006-4995-01RECOMBIVAX HB
    00006-4995-01RECOMBIVAX HB
    00006-4841-01VAQTA
    00006-4841-01VAQTA
    58160-0804-01INFLUENZA (H5N1), adjuvanted
    58160-0802-02AS03 Adjuvant
    58160-0901-41FLUARIX QUADRIVALENT
    00006-4837-01PNEUMOVAX 23
    19515-0891-01Flulaval Quadrivalent
    19515-0893-02FLULAVAL
    19515-0894-41Flulaval Quadrivalent
    49281-0514-00Fluzone Quadrivalent, Peds
    49281-0394-78FLUZONE
    49281-0014-88FLUZONE
    49281-0414-58FLUZONE QUADRIVALENT PF
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes", + "name": "Vaccine National Drug Code (NDC)", + "status": "draft", + "publisher": "HL7 (FHIR Project)", + "date": "2016-08-10", + "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)", + "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-0589-58", + "display": "Menactra", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS GROUP A CAPSULAR POLYSACCHARIDE DIPHTHERIA TOXOID CONJUGATE ANTIGEN, NEISSERI" + } + ] + }, + { + "code": "49281-0623-78", + "display": "FLUZONE QUADRIVALENT" + }, + { + "code": "49281-0515-00", + "display": "Fluzone Quadrivalent, peds" + }, + { + "code": "49281-0415-88", + "display": "Fluzone Quadrivalent PF" + }, + { + "code": "49281-0415-58", + "display": "FLUZONE QUADRIVALENT PF" + }, + { + "code": "33332-0115-11", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS" + } + ] + }, + { + "code": "33332-0015-02", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS" + } + ] + }, + { + "code": "66019-0302-01", + "display": "FluMist Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "42874-0015-01", + "display": "Flublok", + "designation": [ + { + "value": "influenza virus vaccine" + } + ] + }, + { + "code": "66521-0118-12", + "display": "Fluvirin", + "designation": [ + { + "value": "INFLUENZA VIRUS" + } + ] + }, + { + "code": "66521-0118-11", + "display": "Fluvirin", + "designation": [ + { + "value": "Influenza Virus Vaccine" + } + ] + }, + { + "code": "58160-0883-41", + "display": "FLUARIX", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "66521-0000-11", + "display": "Fluad", + "designation": [ + { + "value": "TRIVALENT INFLUENZA WITH ADJUVANT 2015/2016" + } + ] + }, + { + "code": "69401-0000-01", + "display": "Vivotif", + "designation": [ + { + "value": "SALMONELLA TYPHI TY21A" + } + ] + }, + { + "code": "66019-0301-01", + "display": "FluMist Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "33332-0014-02", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "33332-0114-11", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "63851-0613-11", + "display": "Flucelvax" + }, + { + "code": "66521-0117-11", + "display": "FLUVIRIN" + }, + { + "code": "66521-0117-12", + "display": "Fluvirin" + }, + { + "code": "00006-4093-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4094-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4095-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "00006-4096-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "00006-4963-01", + "display": "ZOSTAVAX", + "designation": [ + { + "value": "ZOSTER VACCINE LIVE" + } + ] + }, + { + "code": "00006-4963-01", + "display": "ZOSTAVAX", + "designation": [ + { + "value": "ZOSTER VACCINE LIVE" + } + ] + }, + { + "code": "42874-0014-01", + "display": "Flublok", + "designation": [ + { + "value": "influenza virus vaccine" + } + ] + }, + { + "code": "49281-0414-88", + "display": "Fluzone Quadrivalent PF" + }, + { + "code": "49281-0395-88", + "display": "Fluzone HD" + }, + { + "code": "49281-0709-48", + "display": "FLUZONE Intradermal" + }, + { + "code": "58160-0881-41", + "display": "FLUARIX", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "58160-0809-01", + "display": "MENHIBRIX", + "designation": [ + { + "value": "MENINGOCOCCAL GROUPS C AND Y AND HAEMOPHILUS B TETANUS TOXOID CONJUGATE VACCINE" + } + ] + }, + { + "code": "62577-0613-11", + "display": "Flucelvax", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/BRISBANE/10/2010 (H1N1) ANTIGEN (MDCK CELL DERIVED, PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "19515-0893-02", + "display": "FLULAVAL", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "49281-0621-78", + "display": "FLUZONE QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "00005-0100-01", + "display": "Trumenba", + "designation": [ + { + "value": "Meningococcal B, recombinant" + } + ] + }, + { + "code": "00005-0100-01", + "display": "Trumenba", + "designation": [ + { + "value": "Meningococcal B, recombinant" + } + ] + }, + { + "code": "00005-0100-01", + "display": "Trumenba", + "designation": [ + { + "value": "Meningococcal B, recombinant" + } + ] + }, + { + "code": "00006-4047-01", + "display": "RotaTeq", + "designation": [ + { + "value": "ROTAVIRUS VACCINE, LIVE, ORAL, PENTAVALENT" + } + ] + }, + { + "code": "00006-4109-01", + "display": "GARDASIL", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS QUADRIVALENT (TYPES 6, 11, 16, AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "62577-0613-11", + "display": "Flucelvax", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/BRISBANE/10/2010 (H1N1) ANTIGEN (MDCK CELL DERIVED, PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "00006-4121-01", + "display": "GARDASIL 9", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS 9-VALENT VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "00006-4119-01", + "display": "GARDASIL 9", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS 9-VALENT VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "00006-4119-01", + "display": "GARDASIL 9", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS 9-VALENT VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "63851-0511-11", + "display": "RabAvert", + "designation": [ + { + "value": "RABIES VACCINE" + } + ] + }, + { + "code": "49281-0562-58", + "display": "QUADRACEL", + "designation": [ + { + "value": "DTAP, IPV" + } + ] + }, + { + "code": "46028-0114-11", + "display": "Bexsero", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS SEROGROUP B NHBA FUSION PROTEIN ANTIGEN, NEISSERIA MENINGITIDIS SEROGROUP B F" + } + ] + }, + { + "code": "46028-0114-11", + "display": "Bexsero", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS SEROGROUP B NHBA FUSION PROTEIN ANTIGEN, NEISSERIA MENINGITIDIS SEROGROUP B F" + } + ] + }, + { + "code": "00006-4171-01", + "display": "ProQuad", + "designation": [ + { + "value": "MEASLES, MUMPS, RUBELLA AND VARICELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "13533-0131-00", + "display": "Tetanus and Diphtheria Toxoids Adsorbed", + "designation": [ + { + "value": "TETANUS AND DIPHTHERIA TOXOIDS ADSORBED" + } + ] + }, + { + "code": "49281-0396-78", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0397-88", + "display": "FLUZONE High-Dose", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "62577-0614-11", + "display": "Flucelvax", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/BRISBANE/10/2010 (H1N1) ANTIGEN (MDCK CELL DERIVED, PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "58160-0903-41", + "display": "FLUARIX QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "19515-0898-01", + "display": "Flulaval Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "19515-0901-41", + "display": "Flulaval Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "49281-0393-88", + "display": "FLUZONE High-Dose", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "58160-0810-43", + "display": "INFANRIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS VACCINE ADSORBED" + } + ] + }, + { + "code": "58160-0810-01", + "display": "INFANRIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS VACCINE ADSORBED" + } + ] + }, + { + "code": "49281-0790-38", + "display": "Typhim Vi", + "designation": [ + { + "value": "SALMONELLA TYPHI TY2 VI POLYSACCHARIDE ANTIGEN" + } + ] + }, + { + "code": "49281-0790-88", + "display": "Typhim Vi", + "designation": [ + { + "value": "SALMONELLA TYPHI TY2 VI POLYSACCHARIDE ANTIGEN" + } + ] + }, + { + "code": "49281-0640-15", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0650-10", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0650-90", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0650-25", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0650-70", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0650-50", + "display": "INFLUENZA A (H1N1) 2009 MONOVALENT VACCINE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0707-48", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "66019-0110-01", + "display": "FluMist", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "00006-4681-01", + "display": "M-M-R II", + "designation": [ + { + "value": "MEASLES, MUMPS, AND RUBELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "49281-0215-58", + "display": "TENIVAC", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CORYNEBACTERIUM DIPHTHERIAE TOXOID" + } + ] + }, + { + "code": "49281-0215-88", + "display": "TENIVAC", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CORYNEBACTERIUM DIPHTHERIAE TOXOID" + } + ] + }, + { + "code": "46028-0218-11", + "display": "Meningococcal (Groups A) CRM197 Oligosaccharide Co", + "designation": [ + { + "value": "MENA VACCINE" + } + ] + }, + { + "code": "49281-0387-65", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0386-15", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0010-10", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0010-25", + "display": "Fluzone", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "49281-0010-50", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "54868-0980-00", + "display": "M-M-R II", + "designation": [ + { + "value": "MEASLES, MUMPS, AND RUBELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "58160-0830-43", + "display": "CERVARIX", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS BIVALENT (TYPES 16 AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "58160-0830-05", + "display": "CERVARIX", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS BIVALENT (TYPES 16 AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "00005-1971-01", + "display": "PREVNAR 13", + "designation": [ + { + "value": "PNEUMOCOCCAL 13-VALENT CONJUGATE VACCINE" + } + ] + }, + { + "code": "00005-1971-01", + "display": "PREVNAR 13", + "designation": [ + { + "value": "PNEUMOCOCCAL 13-VALENT CONJUGATE VACCINE" + } + ] + }, + { + "code": "00005-1971-01", + "display": "PREVNAR 13", + "designation": [ + { + "value": "PNEUMOCOCCAL 13-VALENT CONJUGATE VACCINE" + } + ] + }, + { + "code": "17478-0131-00", + "display": "Tetanus and Diphtheria Toxoids Adsorbed", + "designation": [ + { + "value": "TETANUS AND DIPHTHERIA TOXOIDS ADSORBED" + } + ] + }, + { + "code": "58160-0812-43", + "display": "KINRIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS ADSORBED AND INACTIVATED POLIOVIRUS VACCINE" + } + ] + }, + { + "code": "58160-0812-01", + "display": "KINRIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS ADSORBED AND INACTIVATED POLIOVIRUS VACCINE" + } + ] + }, + { + "code": "66019-0108-01", + "display": "FluMist", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "00006-4898-01", + "display": "COMVAX", + "designation": [ + { + "value": "HAEMOPHILUS B CONJUGATE (MENINGOCOCCAL PROTEIN CONJUGATE) AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "58160-0809-01", + "display": "MENHIBRIX", + "designation": [ + { + "value": "MENINGOCOCCAL GROUPS C AND Y AND HAEMOPHILUS B TETANUS TOXOID CONJUGATE VACCINE" + } + ] + }, + { + "code": "63851-0612-11", + "display": "Flucelvax", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/BRISBANE/10/2010 (H1N1) ANTIGEN (MDCK CELL DERIVED, PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "00006-4992-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4981-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4980-00", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4093-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4094-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4109-01", + "display": "GARDASIL", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS QUADRIVALENT (TYPES 6, 11, 16, AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "66521-0112-02", + "display": "FLUVIRIN", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "66521-0112-10", + "display": "FLUVIRIN", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "66019-0107-01", + "display": "FluMist", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "49281-0225-58", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CLOSTRIDIUM TETANI TOXOID" + } + ] + }, + { + "code": "49281-0705-55", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "42515-0001-00", + "display": "IXIARO", + "designation": [ + { + "value": "JAPANESE ENCEPHALITIS VACCINE, INACTIVATED, ADSORBED" + } + ] + }, + { + "code": "58160-0879-41", + "display": "FLUARIX", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "58160-0880-41", + "display": "FLUARIX", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "58160-0820-01", + "display": "ENGERIX-B", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "58160-0820-43", + "display": "ENGERIX-B", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "58160-0821-01", + "display": "ENGERIX-B", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "58160-0821-43", + "display": "ENGERIX-B", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "58160-0821-05", + "display": "ENGERIX-B", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "42874-0012-01", + "display": "Flublok", + "designation": [ + { + "value": "INFLUENZA VACCINE" + } + ] + }, + { + "code": "49281-0278-10", + "display": "DIPHTHERIA AND TETANUS TOXOIDS ADSORBED", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CLOSTRIDIUM TETANI TOXOID" + } + ] + }, + { + "code": "66019-0109-01", + "display": "FluMist", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "19515-0890-02", + "display": "FLULAVAL", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "19515-0889-02", + "display": "FLULAVAL", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "58160-0900-41", + "display": "FLUARIX QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "49281-0860-78", + "display": "IPOL", + "designation": [ + { + "value": "POLIOVIRUS TYPE 1 ANTIGEN (FORMALDEHYDE INACTIVATED), POLIOVIRUS TYPE 2 ANTIGEN (FORMALDEHYDE INACTI" + } + ] + }, + { + "code": "49281-0860-88", + "display": "IPOL", + "designation": [ + { + "value": "POLIOVIRUS TYPE 1 ANTIGEN (FORMALDEHYDE INACTIVATED), POLIOVIRUS TYPE 2 ANTIGEN (FORMALDEHYDE INACTI" + } + ] + }, + { + "code": "49281-0389-65", + "display": "FLUZONE High-Dose", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0388-15", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0011-10", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0011-50", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0703-55", + "display": "FLUZONE Intradermal", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0111-25", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "66521-0200-10", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine", + "designation": [ + { + "value": "Influenza A (H1N1) 2009 Monovalent Vaccine" + } + ] + }, + { + "code": "66521-0200-02", + "display": "Influenza A (H1N1) 2009 Monovalent Vaccine", + "designation": [ + { + "value": "Influenza A (H1N1) 2009 Monovalent Vaccine" + } + ] + }, + { + "code": "49281-0298-10", + "display": "TRIPEDIA", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CLOSTRIDIUM TETANI TOXOID ANT" + } + ] + }, + { + "code": "58160-0806-01", + "display": "HIBERIX", + "designation": [ + { + "value": "HAEMOPHILUS B CONJUGATE VACCINE (TETANUS TOXOID CONJUGATE)" + } + ] + }, + { + "code": "33332-0013-02", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "33332-0113-11", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0391-65", + "display": "FLUZONE High-Dose", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0012-50", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0012-10", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0112-25", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0390-15", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "00006-4897-01", + "display": "PedvaxHIB", + "designation": [ + { + "value": "HAEMOPHILUS B CONJUGATE VACCINE (MENINGOCOCCAL PROTEIN CONJUGATE)" + } + ] + }, + { + "code": "49281-0291-83", + "display": "DECAVAC", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CORYNEBACTERIUM DIPHTHERIAE TOXOID" + } + ] + }, + { + "code": "49281-0291-10", + "display": "DECAVAC", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED) AND CORYNEBACTERIUM DIPHTHERIAE TOXOID" + } + ] + }, + { + "code": "49281-0413-88", + "display": "FLUZONE QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0413-58", + "display": "FLUZONE QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0513-00", + "display": "FLUZONE QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "66521-0113-02", + "display": "Fluvirin", + "designation": [ + { + "value": "Influenza Virus Vaccine" + } + ] + }, + { + "code": "66521-0113-10", + "display": "Fluvirin", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CHRISTCHURCH/16/2010 NIB-74 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZ" + } + ] + }, + { + "code": "00005-1970-49", + "display": "Prevnar", + "designation": [ + { + "value": "PNEUMOCOCCAL 7-VALENT" + } + ] + }, + { + "code": "00006-4047-01", + "display": "RotaTeq", + "designation": [ + { + "value": "ROTAVIRUS VACCINE, LIVE, ORAL, PENTAVALENT" + } + ] + }, + { + "code": "58160-0811-43", + "display": "PEDIARIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS ADSORBED, HEPATITIS B (RECOMBINANT) AND INACT" + } + ] + }, + { + "code": "58160-0811-41", + "display": "PEDIARIX", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS ADSORBED, HEPATITIS B (RECOMBINANT) AND INACT" + } + ] + }, + { + "code": "00006-4827-01", + "display": "VARIVAX", + "designation": [ + { + "value": "VARICELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "00006-4826-01", + "display": "VARIVAX", + "designation": [ + { + "value": "VARICELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "58160-0842-41", + "display": "BOOSTRIX", + "designation": [ + { + "value": "TETANUS TOXOID, REDUCED DIPHTHERIA TOXOID AND ACELLULAR PERTUSSIS VACCINE, ADSORBED" + } + ] + }, + { + "code": "58160-0842-01", + "display": "BOOSTRIX", + "designation": [ + { + "value": "TETANUS TOXOID, REDUCED DIPHTHERIA TOXOID AND ACELLULAR PERTUSSIS VACCINE, ADSORBED" + } + ] + }, + { + "code": "58160-0842-43", + "display": "BOOSTRIX", + "designation": [ + { + "value": "TETANUS TOXOID, REDUCED DIPHTHERIA TOXOID AND ACELLULAR PERTUSSIS VACCINE, ADSORBED" + } + ] + }, + { + "code": "58160-0842-05", + "display": "BOOSTRIX", + "designation": [ + { + "value": "TETANUS TOXOID, REDUCED DIPHTHERIA TOXOID AND ACELLULAR PERTUSSIS VACCINE, ADSORBED" + } + ] + }, + { + "code": "66019-0300-01", + "display": "FluMist Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "49281-0589-58", + "display": "Menactra", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS GROUP A CAPSULAR POLYSACCHARIDE DIPHTHERIA TOXOID CONJUGATE ANTIGEN, NEISSERI" + } + ] + }, + { + "code": "00006-4095-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "00006-4096-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "00006-4831-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "63851-0511-11", + "display": "RabAvert", + "designation": [ + { + "value": "RABIES VACCINE" + } + ] + }, + { + "code": "66019-0200-01", + "display": "Influenza A H1N1 2009 Monovalent Vaccine Live Intr", + "designation": [ + { + "value": "INFLUENZA A H1N1 2009 MONOVALENT VACCINE LIVE INTRANASAL" + } + ] + }, + { + "code": "14362-0111-03", + "display": "Tetanus and Diphtheria Toxoids Adsorbed", + "designation": [ + { + "value": "TETANUS AND DIPHTHERIA TOXOIDS ADSORBED" + } + ] + }, + { + "code": "33332-0519-01", + "display": "Influenza A", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "33332-0519-25", + "display": "Influenza A", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "33332-0629-10", + "display": "Influenza A", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "58160-0825-43", + "display": "HAVRIX", + "designation": [ + { + "value": "HEPATITIS A VACCINE" + } + ] + }, + { + "code": "58160-0825-01", + "display": "HAVRIX", + "designation": [ + { + "value": "HEPATITIS A VACCINE" + } + ] + }, + { + "code": "58160-0826-43", + "display": "HAVRIX", + "designation": [ + { + "value": "HEPATITIS A VACCINE" + } + ] + }, + { + "code": "58160-0826-05", + "display": "HAVRIX", + "designation": [ + { + "value": "HEPATITIS A VACCINE" + } + ] + }, + { + "code": "58160-0826-01", + "display": "HAVRIX", + "designation": [ + { + "value": "HEPATITIS A VACCINE" + } + ] + }, + { + "code": "33332-0010-01", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "33332-0110-10", + "display": "AFLURIA", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-181 (H1N1) HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "66521-0115-10", + "display": "Fluvirin", + "designation": [ + { + "value": "Influenza Virus Vaccine" + } + ] + }, + { + "code": "66521-0115-02", + "display": "Fluvirin", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "00006-4133-01", + "display": "Tetanus and Diphtheria Toxoids Adsorbed", + "designation": [ + { + "value": "TETANUS AND DIPHTHERIA TOXOIDS ADSORBED" + } + ] + }, + { + "code": "54868-4320-09", + "display": "PNEUMOVAX 23", + "designation": [ + { + "value": "PNEUMOCOCCAL VACCINE POLYVALENT" + } + ] + }, + { + "code": "54868-3339-09", + "display": "PNEUMOVAX 23", + "designation": [ + { + "value": "PNEUMOCOCCAL VACCINE POLYVALENT" + } + ] + }, + { + "code": "00052-0603-01", + "display": "BCG VACCINE", + "designation": [ + { + "value": "BACILLUS CALMETTE-GUERIN SUBSTRAIN TICE LIVE ANTIGEN" + } + ] + }, + { + "code": "64678-0211-05", + "display": "BioThrax", + "designation": [ + { + "value": "BACILLUS ANTHRACIS" + } + ] + }, + { + "code": "00006-4739-01", + "display": "PNEUMOVAX 23", + "designation": [ + { + "value": "PNEUMOCOCCAL VACCINE POLYVALENT" + } + ] + }, + { + "code": "00006-4943-01", + "display": "PNEUMOVAX 23", + "designation": [ + { + "value": "PNEUMOCOCCAL VACCINE POLYVALENT" + } + ] + }, + { + "code": "49281-0013-58", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0013-88", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0392-78", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0113-00", + "display": "FLUZONE", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009 X-179A (H1N1) ANTIGEN (FORMALDEHYDE INACTIVATED), INFLUENZA A" + } + ] + }, + { + "code": "49281-0820-10", + "display": "TETANUS TOXOID ADSORBED", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0800-83", + "display": "TETANUS TOXOID ADSORBED", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED)" + } + ] + }, + { + "code": "49281-0400-88", + "display": "Adacel", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CORYNEBACTERIUM DIPHTHERIAE TOXOID ANT" + } + ] + }, + { + "code": "49281-0286-58", + "display": "DAPTACEL", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CLOSTRIDIUM TETANI TOXOID ANT" + } + ] + }, + { + "code": "49281-0286-58", + "display": "DAPTACEL", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CLOSTRIDIUM TETANI TOXOID ANT" + } + ] + }, + { + "code": "49281-0286-58", + "display": "DAPTACEL", + "designation": [ + { + "value": "CORYNEBACTERIUM DIPHTHERIAE TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CLOSTRIDIUM TETANI TOXOID ANT" + } + ] + }, + { + "code": "58160-0815-41", + "display": "TWINRIX", + "designation": [ + { + "value": "HEPATITIS A AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "58160-0815-43", + "display": "TWINRIX", + "designation": [ + { + "value": "HEPATITIS A AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "58160-0815-05", + "display": "TWINRIX", + "designation": [ + { + "value": "HEPATITIS A AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "58160-0815-43", + "display": "TWINRIX", + "designation": [ + { + "value": "HEPATITIS A AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "58160-0815-01", + "display": "TWINRIX", + "designation": [ + { + "value": "HEPATITIS A AND HEPATITIS B (RECOMBINANT) VACCINE" + } + ] + }, + { + "code": "66521-0114-10", + "display": "Fluvirin", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CHRISTCHURCH/16/2010 NIB-74 (H1N1) ANTIGEN (PROPIOLACTONE INACTIVATED), INFLUENZ" + } + ] + }, + { + "code": "76420-0482-01", + "display": "FLUVIRIN", + "designation": [ + { + "value": "INFLUENZA A VIRUS A/CALIFORNIA/7/2009(H1N1)-LIKE HEMAGGLUTININ ANTIGEN (PROPIOLACTONE INACTIVATED)," + } + ] + }, + { + "code": "19515-0895-01", + "display": "Flulaval Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "00006-4999-01", + "display": "ProQuad", + "designation": [ + { + "value": "MEASLES, MUMPS, RUBELLA AND VARICELLA VIRUS VACCINE LIVE" + } + ] + }, + { + "code": "49281-0545-15", + "display": "ACTHIB", + "designation": [ + { + "value": "HAEMOPHILUS B CONJUGATE VACCINE (TETANUS TOXOID CONJUGATE)" + } + ] + }, + { + "code": "51285-0174-02", + "display": "Adenovirus Type 4 Vaccine, Live, Oral", + "designation": [ + { + "value": "ADENOVIRUS TYPE 4 VACCINE, LIVE, ORAL" + } + ] + }, + { + "code": "49281-0248-58", + "display": "IMOVAX RABIES", + "designation": [ + { + "value": "RABIES VIRUS STRAIN PM-1503-3M ANTIGEN (PROPIOLACTONE INACTIVATED)" + } + ] + }, + { + "code": "49281-0487-58", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS GROUP A CAPSULAR POLYSACCHARIDE ANTIGEN, NEISSERIA MENINGITIDIS GROUP C CAPSU" + } + ] + }, + { + "code": "49281-0915-58", + "display": "YF-VAX", + "designation": [ + { + "value": "YELLOW FEVER VIRUS LIVE ANTIGEN, A" + } + ] + }, + { + "code": "49281-0547-58", + "display": "ACTHIB", + "designation": [ + { + "value": "HAEMOPHILUS INFLUENZAE TYPE B STRAIN 1482 CAPSULAR POLYSACCHARIDE TETANUS TOXOID CONJUGATE ANTIGEN" + } + ] + }, + { + "code": "58160-0851-01", + "display": "ROTARIX", + "designation": [ + { + "value": "ROTAVIRUS VACCINE, LIVE, ORAL" + } + ] + }, + { + "code": "49281-0915-68", + "display": "YF-VAX", + "designation": [ + { + "value": "YELLOW FEVER VIRUS LIVE ANTIGEN, A" + } + ] + }, + { + "code": "49281-0488-78", + "display": "MENOMUNE - A/C/Y/W-135 COMBINED", + "designation": [ + { + "value": "NEISSERIA MENINGITIDIS GROUP A POLYSACCHARIDE ANTIGEN, A, NEISSERIA MENINGITIDIS GROUP C POLYSACCHAR" + } + ] + }, + { + "code": "46028-0219-11", + "display": "Meningococcal (Groups C, Y, W-135) CRM197 Oligosac", + "designation": [ + { + "value": "MENC, Y, W-135 VACCINE" + } + ] + }, + { + "code": "51285-0175-02", + "display": "Adenovirus Type 7 Vaccine, Live, Oral", + "designation": [ + { + "value": "ADENOVIRUS TYPE 7 VACCINE, LIVE, ORAL" + } + ] + }, + { + "code": "49281-0560-05", + "display": "DTAP-IPV", + "designation": [ + { + "value": "DIPHTHERIA AND TETANUS TOXOIDS AND ACELLULAR PERTUSSIS ADSORBED, INACTIVATED POLIOVIRUS" + } + ] + }, + { + "code": "49281-0400-58", + "display": "Adacel", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CORYNEBACTERIUM DIPHTHERIAE TOXOID ANT" + } + ] + }, + { + "code": "49281-0400-58", + "display": "Adacel", + "designation": [ + { + "value": "CLOSTRIDIUM TETANI TOXOID ANTIGEN (FORMALDEHYDE INACTIVATED), CORYNEBACTERIUM DIPHTHERIAE TOXOID ANT" + } + ] + }, + { + "code": "42874-0013-01", + "display": "Flublok", + "designation": [ + { + "value": "INFLUENZA VACCINE" + } + ] + }, + { + "code": "66521-0116-11", + "display": "FLUVIRIN", + "designation": [ + { + "value": "influenza a virus a/christchurch , influenza a virus a/texas , influenza b virus b/massachusetts" + } + ] + }, + { + "code": "66521-0116-12", + "display": "FLUVIRIN", + "designation": [ + { + "value": "influenza a virus a/christchurch , influenza a virus a/texas , influenza b virus b/massachusetts" + } + ] + }, + { + "code": "00006-4045-01", + "display": "GARDASIL", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS QUADRIVALENT (TYPES 6, 11, 16, AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "00006-4045-01", + "display": "GARDASIL", + "designation": [ + { + "value": "HUMAN PAPILLOMAVIRUS QUADRIVALENT (TYPES 6, 11, 16, AND 18) VACCINE, RECOMBINANT" + } + ] + }, + { + "code": "00006-4995-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4995-01", + "display": "RECOMBIVAX HB", + "designation": [ + { + "value": "HEPATITIS B VACCINE (RECOMBINANT)" + } + ] + }, + { + "code": "00006-4841-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "00006-4841-01", + "display": "VAQTA", + "designation": [ + { + "value": "HEPATITIS A VACCINE, INACTIVATED" + } + ] + }, + { + "code": "58160-0804-01", + "display": "INFLUENZA (H5N1), adjuvanted", + "designation": [ + { + "value": "INFLUENZA (H5N1) MONOVALENT, ADJUVANTED" + } + ] + }, + { + "code": "58160-0802-02", + "display": "AS03 Adjuvant", + "designation": [ + { + "value": "Adjuvant" + } + ] + }, + { + "code": "58160-0901-41", + "display": "FLUARIX QUADRIVALENT", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "00006-4837-01", + "display": "PNEUMOVAX 23", + "designation": [ + { + "value": "PNEUMOCOCCAL VACCINE POLYVALENT" + } + ] + }, + { + "code": "19515-0891-01", + "display": "Flulaval Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "19515-0893-02", + "display": "FLULAVAL", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "19515-0894-41", + "display": "Flulaval Quadrivalent", + "designation": [ + { + "value": "INFLUENZA VIRUS VACCINE" + } + ] + }, + { + "code": "49281-0514-00", + "display": "Fluzone Quadrivalent, Peds" + }, + { + "code": "49281-0394-78", + "display": "FLUZONE" + }, + { + "code": "49281-0014-88", + "display": "FLUZONE" + }, + { + "code": "49281-0414-58", + "display": "FLUZONE QUADRIVALENT PF" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json b/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json new file mode 100755 index 0000000..c407369 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-observation-ccdasmokingstatus.json @@ -0,0 +1,80 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-ccdasmokingstatus", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

Smoking Status

This value set indicates the current smoking status of a patient.

\n

Copyright Statement: 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

This value set includes codes from the following code systems:

  • Include these codes as defined in http://snomed.info/sct
    CodeDisplay
    449868002Current every day smoker
    428041000124106Current some day smoker
    8517006Former smoker
    266919005Never smoker
    77176002Smoker, current status unknown
    266927001Unknown if ever smoked
    428071000124103Current Heavy tobacco smoker
    428061000124105Current Light tobacco smoker
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.602" + } + ], + "version": "1.6.0", + "name": "Smoking Status", + "status": "active", + "experimental": true, + "publisher": "FHIR OO CDA Template team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "description": "This value set indicates the current smoking status of a patient.", + "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/lib/resources/us_core/ValueSet-us-core-observation-ccdavitalsignresult.json b/lib/resources/us_core/ValueSet-us-core-observation-ccdavitalsignresult.json new file mode 100755 index 0000000..c23139c --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-observation-ccdavitalsignresult.json @@ -0,0 +1,80 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-ccdavitalsignresult", + "text": { + "status": "generated", + "div": "

US Core Vital Sign Codes

This value set indicates the allowed vital sign result types. The vocabulary selected for this value set based on ONC 2015 Edition Common Clinical Data Set (CCDS) for vitals. Note the concept Blood pressure systolic and diastolic (55284-4) is used to group the related observations Systolic blood pressure (8480-6) and Diastolic blood pressure (8462-4). It SHALL NOT be used alone, but both 8480-6 and 8462-2 SHALL also be valued.

\n

Copyright Statement: This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use

This value set includes codes from the following code systems:

  • Include these codes as defined in http://loinc.org
    CodeDisplay
    8716-3Vital signs
    9279-1Respiratory rate
    8867-4Heart rate
    59408-5Oxygen saturation in Arterial blood by Pulse oximetry
    8310-5Body temperature
    8302-2Body height
    8306-3Body height --lying
    8287-5Head Occipital-frontal circumference by Tape measure
    29463-7Body weight
    39156-5Body mass index (BMI) [Ratio]
    55284-4Blood pressure systolic and diastolic
    8480-6Systolic blood pressure
    8462-4Diastolic blood pressure
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.62" + } + ], + "version": "1.6.0", + "name": "US Core Vital Sign Codes", + "status": "active", + "publisher": "FHIR Project", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "description": "This value set indicates the allowed vital sign result types. The vocabulary selected for this value set based on ONC 2015 Edition Common Clinical Data Set (CCDS) for vitals. Note the concept Blood pressure systolic and diastolic (55284-4) is used to group the related observations Systolic blood pressure (8480-6) and Diastolic blood pressure (8462-4). It SHALL NOT be used alone, but both 8480-6 and 8462-2 SHALL also be valued.", + "copyright": "This content from LOINC® is copyright © 1995 Regenstrief Institute, Inc. and the LOINC Committee, and available at no cost under the license at http://loinc.org/terms-of-use", + "compose": { + "include": [ + { + "system": "http://loinc.org", + "concept": [ + { + "code": "8716-3" + }, + { + "code": "9279-1" + }, + { + "code": "8867-4" + }, + { + "code": "59408-5" + }, + { + "code": "8310-5" + }, + { + "code": "8302-2" + }, + { + "code": "8306-3" + }, + { + "code": "8287-5" + }, + { + "code": "29463-7" + }, + { + "code": "39156-5" + }, + { + "code": "55284-4" + }, + { + "code": "8480-6" + }, + { + "code": "8462-4" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json b/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json new file mode 100755 index 0000000..4e651f7 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-observation-value-codes.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-observation-value-codes", + "text": { + "status": "generated", + "div": "

Observation Value Codes (SNOMED-CT)

Snomed-CT concept codes for coded results

\n

Copyright Statement: 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

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes", + "version": "1.6.0", + "name": "Observation Value Codes (SNOMED-CT)", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "date": "2016-08-10", + "description": "[Snomed-CT](http://www.ihtsdo.org/) concept codes for coded results", + "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", + "extensible": true, + "compose": { + "include": [ + { + "system": "http://snomed.info/sct" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-problem.json b/lib/resources/us_core/ValueSet-us-core-problem.json new file mode 100755 index 0000000..6efed63 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-problem.json @@ -0,0 +1,71 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-problem", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "
\n

Problem Value Set

\n

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)

\n

\n Copyright Statement: 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\n

\n

This value set includes codes from the following code systems:

\n
    \n
  • No current problems or disability 160245001
  • \n
  • Include codes from http://snomed.info/sct where concept is-a 404684003
  • \n
  • Include codes from http://snomed.info/sct where concept is-a 243796009
  • \n
\n
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-problem", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.3221.7.4" + } + ], + "version": "1.6.0", + "name": "Problem Value Set", + "status": "active", + "experimental": true, + "publisher": "PHIN VADS", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://phinvads.cdc.gov/vads/ViewValueSet.action?oid=2.16.840.1.113883.3.88.12.3221.7.4" + } + ] + } + ], + "date": "2016-05-25T16:59:08+10:00", + "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)", + "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": "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" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json b/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json new file mode 100755 index 0000000..d9ff561 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-procedure-icd10pcs.json @@ -0,0 +1,40 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-icd10pcs", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US Core Procedure Type ICD-10-PCS Codes

This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed

\n

Copyright Statement: 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.

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.icd10data.com/icd10pcs
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs", + "version": "1.6.0", + "name": "US Core Procedure Type ICD-10-PCS Codes", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "description": "This value set defines a set of codes from ICD10-PCS that can be used to indicate a type of procedure performed", + "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.icd10data.com/icd10pcs" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-procedure-type.json b/lib/resources/us_core/ValueSet-us-core-procedure-type.json new file mode 100755 index 0000000..666c3f9 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-procedure-type.json @@ -0,0 +1,56 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-procedure-type", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US CoreProcedureType

This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT or SNOMED CT.

\n

Copyright Statement: CPT copyright 2014 American Medical Association. All rights reserved. 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

This value set includes codes from the following code systems:

  • Include all codes defined in http://www.ama-assn.org/go/cpt
  • Include codes from http://snomed.info/sct where concept is-a 71388002
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-type", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.4.642.2.607" + } + ], + "version": "1.6.0", + "name": "US CoreProcedureType", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-05-25T16:59:08+10:00", + "description": "This example value set defines a set of codes that can be used to indicate the type of procedure: a specific code indicating type of procedure performed, from CPT or SNOMED CT.", + "copyright": "CPT copyright 2014 American Medical Association. All rights reserved. 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://www.ama-assn.org/go/cpt" + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "71388002" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-provider-role.json b/lib/resources/us_core/ValueSet-us-core-provider-role.json new file mode 100755 index 0000000..3827e43 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-provider-role.json @@ -0,0 +1,32 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-role", + "text": { + "status": "generated", + "div": "
\n\t\t\t

US Core Provider Role (NUCC)

\n\t\t\t
\n\t\t\t\t

Provider roles codes which are composed of the NUCC Health Care Provider Taxonomy\n\t\t\t\t\tCode Set for providers. Only concepts with a classification and no specialization are included.

\n\t\t\t
\n\t\t\t

Copyright Statement: TODO: Permission to Use and Distribute the Health Care\n\t\t\t\tProvider Taxonomy Code Set

\n\t\t\t

This value set includes codes from the following code systems:

\n\t\t\t
    \n\t\t\t\t
  • Include only concepts with a classification and no specialization from: http://nucc.org/provider-taxonomy
  • \n\t\t\t
\n\t\t
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role", + "name": "US Core Provider Role (NUCC)", + "status": "draft", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "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. ", + "copyright": "TODO: Permission to Use and Distribute the Health Care Provider Taxonomy Code Set", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-provider-specialty.json b/lib/resources/us_core/ValueSet-us-core-provider-specialty.json new file mode 100755 index 0000000..103d2da --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-provider-specialty.json @@ -0,0 +1,32 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-provider-specialty", + "text": { + "status": "generated", + "div": "

US Core Provider Speciality (NUCC)

Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers

\n

Copyright Statement: TODO: Permission to Use and Distribute the Health Care Provider Taxonomy Code Set

This value set includes codes from the following code systems:

  • Include all codes defined in http://nucc.org/provider-taxonomy
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty", + "name": "US Core Provider Speciality (NUCC)", + "status": "draft", + "publisher": "FHIR Project Team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-08-10", + "description": "Provider speciality roles codes which are composed of the NUCC Health Care Provider Taxonomy Code Set for providers", + "copyright": "TODO: Permission to Use and Distribute the Health Care Provider Taxonomy Code Set", + "compose": { + "include": [ + { + "system": "http://nucc.org/provider-taxonomy" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json b/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json new file mode 100755 index 0000000..80c2c1d --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-substance-ndfrt.json @@ -0,0 +1,67 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-ndfrt", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00" + }, + "text": { + "status": "generated", + "div": "

US Core Substance ND-FRT codes

All ND-FRT NUIs for concepts that are subsumed by 'Mechanism of Action - N0000000223', 'Physiologic Effect - N0000009802' or 'Chemical Structure - N0000000002'.

\n

This value set includes codes from the following code systems:

  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000000223
  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000009802
  • Include codes from http://hl7.org/fhir/ndfrt where concept is-a N0000000002
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-ndfrt", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113883.3.88.12.80.18" + } + ], + "name": "US Core Substance ND-FRT codes", + "status": "draft", + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-12-06T22:13:05+11:00", + "description": "All ND-FRT NUIs for concepts that are subsumed by 'Mechanism of Action - N0000000223', 'Physiologic Effect - N0000009802' or 'Chemical Structure - N0000000002'.", + "compose": { + "include": [ + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000000223" + } + ] + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000009802" + } + ] + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "N0000000002" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json b/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json new file mode 100755 index 0000000..c9745af --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-substance-rxnorm.json @@ -0,0 +1,59 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-rxnorm", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00" + }, + "text": { + "status": "generated", + "div": "

US Core Substance RxNorm Codes

All RxNorm codes that have TTY = IN,PIN,MIN,BN, but TTY != OCD.

\n

This value set includes codes from the following code systems:

  • Include codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY in IN,PIN,MIN,BN
  • Exclude codes from http://www.nlm.nih.gov/research/umls/rxnorm where TTY = OCD
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-rxnorm", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.7" + } + ], + "name": "US Core Substance RxNorm Codes", + "status": "draft", + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-12-06T22:13:05+11:00", + "description": "All RxNorm codes that have TTY = IN,PIN,MIN,BN, but TTY != OCD.", + "compose": { + "include": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "in", + "value": "IN,PIN,MIN,BN" + } + ] + } + ], + "exclude": [ + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "filter": [ + { + "property": "TTY", + "op": "=", + "value": "OCD" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-substance-sct.json b/lib/resources/us_core/ValueSet-us-core-substance-sct.json new file mode 100755 index 0000000..5e31d1f --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-substance-sct.json @@ -0,0 +1,107 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance-sct", + "text": { + "status": "generated", + "div": "

US Core SNOMED CT Substances Other Than Clinical Drugs

SNOMED CT concepts from SCTID 716186003 No Known allergy (situation) and substance concepts Other Than Clinical Drug Substances that are not represented by RXNORM drug concepts or FDA UNII substance concepts. This value set is meant to be quite broad and includes many substances that may never be prescribed or be a reactant. It does not remove all overlap with RXNORM and UNII; for those concepts, the alternative code system should be chosen.

\n

Copyright Statement: 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.

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-sct", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.9" + } + ], + "name": "US Core SNOMED CT Substances Other Than Clinical Drugs", + "status": "draft", + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-12-02", + "description": "SNOMED CT concepts from SCTID 716186003 No Known allergy (situation) and substance concepts Other Than Clinical Drug Substances that are not represented by RXNORM drug concepts or FDA UNII substance concepts. This value set is meant to be quite broad and includes many substances that may never be prescribed or be a reactant. It does not remove all overlap with RXNORM and UNII; for those concepts, the alternative code system should be chosen.", + "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", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "716186003" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "105590001" + } + ] + } + ], + "exclude": [ + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "410942007" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "438951008" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312412007" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312413002" + } + ] + }, + { + "system": "http://snomed.info/sct", + "filter": [ + { + "property": "concept", + "op": "is-a", + "value": "312417001" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-substance.json b/lib/resources/us_core/ValueSet-us-core-substance.json new file mode 100755 index 0000000..3ef4f8a --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-substance.json @@ -0,0 +1,58 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-substance", + "meta": { + "lastUpdated": "2016-05-25T16:59:08.250+10:00", + "profile": [ + "http://hl7.org/fhir/StructureDefinition/valueset-shareable-definition" + ] + }, + "text": { + "status": "generated", + "div": "

US Core Substance-Reactant for Intolerance and Negation Codes

A substance or other type of agent (e.g., sunshine) that may be associated with an intolerance reaction event or a propensity to such an event. These concepts are expected to be at a more general level of abstraction (ingredients versus more specific formulations). This value set is quite general and includes concepts that may never cause an adverse event, particularly the included SNOMED CT concepts. The code system-specific value sets in this grouping value set are intended to provide broad coverage of all kinds of agents, but the expectation for use is that the chosen concept identifier for a substance should be appropriately specific and drawn from the available code systems in the following priority order: 1. NDF-RT codes for drug class allergies 2. RxNorm codes limited to term types (TTY) , 'BN' Brand Name, 'IN' ingredient, 'MIN' multiple ingredient, and 'PIN' precise ingredient for drug ingredient allergies 3. SNOMED CT including concepts from SCTID 716186003 No Known allergy (situation) and if no other code from above code systems are available

\n

Copyright Statement: 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

This value set includes codes from the following code systems:

" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-substance", + "identifier": [ + { + "system": "urn:ietf:rfc:3986", + "value": "urn:oid:2.16.840.1.113762.1.4.1010.1" + } + ], + "version": "1.6.0", + "name": "US Core Substance-Reactant for Intolerance and Negation Codes", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project team", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + } + ] + } + ], + "date": "2016-05-25T16:59:08+10:00", + "description": "A substance or other type of agent (e.g., sunshine) that may be associated with an intolerance reaction event or a propensity to such an event. These concepts are expected to be at a more general level of abstraction (ingredients versus more specific formulations). This value set is quite general and includes concepts that may never cause an adverse event, particularly the included SNOMED CT concepts. The code system-specific value sets in this grouping value set are intended to provide broad coverage of all kinds of agents, but the expectation for use is that the chosen concept identifier for a substance should be appropriately specific and drawn from the available code systems in the following priority order: 1. NDF-RT codes for drug class allergies 2. RxNorm codes limited to term types (TTY) , 'BN' Brand Name, 'IN' ingredient, 'MIN' multiple ingredient, and 'PIN' precise ingredient for drug ingredient allergies 3. SNOMED CT including concepts from SCTID 716186003 No Known allergy (situation) and if no other code from above code systems are available ", + "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": [ + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-ndfrt" + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-rxnorm" + ] + }, + { + "valueSet": [ + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-sct" + ] + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/ValueSet-us-core-ucum.json b/lib/resources/us_core/ValueSet-us-core-ucum.json new file mode 100755 index 0000000..65cb998 --- /dev/null +++ b/lib/resources/us_core/ValueSet-us-core-ucum.json @@ -0,0 +1,39 @@ +{ + "resourceType": "ValueSet", + "id": "us-core-ucum", + "text": { + "status": "generated", + "div": "

UCUM units

UCUM unit for coded form of units

\n

Copyright Statement: UCUM is Copyright © 1999-2013 Regenstrief Institute, Inc. and The UCUM Organization, Indianapolis, IN. All rights reserved. See http://unitsofmeasure.org/trac//wiki/TermsOfUse for details

This value set includes codes from the following code systems:

  • Include all codes defined in http://unitsofmeasure.org
" + }, + "url": "http://hl7.org/fhir/us/core/ValueSet/us-core-ucum", + "version": "1.6.0", + "name": "UCUM units", + "status": "draft", + "experimental": true, + "publisher": "FHIR Project", + "contact": [ + { + "telecom": [ + { + "system": "other", + "value": "http://hl7.org/fhir" + }, + { + "system": "email", + "value": "fhir@lists.hl7.org" + } + ] + } + ], + "date": "2016-08-10", + "description": "[UCUM](http://unitsofmeasure.org/) unit for coded form of units", + "copyright": "UCUM is Copyright © 1999-2013 Regenstrief Institute, Inc. and The UCUM Organization, Indianapolis, IN. All rights reserved. See http://unitsofmeasure.org/trac//wiki/TermsOfUse for details", + "extensible": true, + "compose": { + "include": [ + { + "system": "http://unitsofmeasure.org" + } + ] + } +} \ No newline at end of file diff --git a/lib/resources/us_core/spec.internals b/lib/resources/us_core/spec.internals new file mode 100755 index 0000000..34447d8 --- /dev/null +++ b/lib/resources/us_core/spec.internals @@ -0,0 +1,694 @@ +{ + "version": "1.8.0", + "build": "10514", + "webUrl": "http://hl7.org/fhir/us/core", + "date": "2016-12-06", + "paths": { + "http://hl7.org/fhir/us/core/ImplementationGuide/ig": "ImplementationGuide-ig.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance": "StructureDefinition-us-core-allergyintolerance.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careplan": "StructureDefinition-us-core-careplan.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-careteam": "StructureDefinition-us-core-careteam.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition": "StructureDefinition-us-core-condition.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-device": "StructureDefinition-us-core-device.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-diagnosticreport": "StructureDefinition-us-core-diagnosticreport.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-goal": "StructureDefinition-us-core-goal.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-immunization": "StructureDefinition-us-core-immunization.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-location": "StructureDefinition-us-core-location.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication": "StructureDefinition-us-core-medication.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest": "StructureDefinition-us-core-medicationrequest.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationstatement": "StructureDefinition-us-core-medicationstatement.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-observationresults": "StructureDefinition-us-core-observationresults.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-smokingstatus": "StructureDefinition-us-core-smokingstatus.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-vitalsigns": "StructureDefinition-us-core-vitalsigns.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-organization": "StructureDefinition-us-core-organization.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-direct": "StructureDefinition-us-core-direct.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex": "StructureDefinition-us-core-birthsex.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-race": "StructureDefinition-us-core-race.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity": "StructureDefinition-us-core-ethnicity.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-patient": "StructureDefinition-us-core-patient.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pract": "StructureDefinition-us-core-pract.html", + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure": "StructureDefinition-us-core-procedure.html", + "http://hl7.org/fhir/us/core/Observation/weight": "Observation-weight.html", + "http://hl7.org/fhir/us/core/Observation/vitals-panel": "Observation-vitals-panel.html", + "http://hl7.org/fhir/us/core/Observation/usg": "Observation-usg.html", + "http://hl7.org/fhir/us/core/Bundle/uscore-ms3": "Bundle-uscore-ms3.html", + "http://hl7.org/fhir/us/core/MedicationStatement/uscore-ms2": "MedicationStatement-uscore-ms2.html", + "http://hl7.org/fhir/us/core/MedicationStatement/uscore-ms1": "MedicationStatement-uscore-ms1.html", + "http://hl7.org/fhir/us/core/Bundle/uscore-mo3": "Bundle-uscore-mo3.html", + "http://hl7.org/fhir/us/core/MedicationRequest/uscore-mo2": "MedicationRequest-uscore-mo2.html", + "http://hl7.org/fhir/us/core/MedicationRequest/uscore-mo1": "MedicationRequest-uscore-mo1.html", + "http://hl7.org/fhir/us/core/Medication/uscore-med2": "Medication-uscore-med2.html", + "http://hl7.org/fhir/us/core/Medication/uscore-med1": "Medication-uscore-med1.html", + "http://hl7.org/fhir/us/core/Observation/urobilinogen": "Observation-urobilinogen.html", + "http://hl7.org/fhir/us/core/Observation/urine-wbcs": "Observation-urine-wbcs.html", + "http://hl7.org/fhir/us/core/Observation/urine-sediment": "Observation-urine-sediment.html", + "http://hl7.org/fhir/us/core/Observation/urine-rbcs": "Observation-urine-rbcs.html", + "http://hl7.org/fhir/us/core/Observation/urine-protein": "Observation-urine-protein.html", + "http://hl7.org/fhir/us/core/Observation/urine-ph": "Observation-urine-ph.html", + "http://hl7.org/fhir/us/core/Observation/urine-nitrite": "Observation-urine-nitrite.html", + "http://hl7.org/fhir/us/core/Observation/urine-leukocyte-esterase": "Observation-urine-leukocyte-esterase.html", + "http://hl7.org/fhir/us/core/Observation/urine-ketone": "Observation-urine-ketone.html", + "http://hl7.org/fhir/us/core/Observation/urine-hemoglobin": "Observation-urine-hemoglobin.html", + "http://hl7.org/fhir/us/core/Observation/urine-glucose": "Observation-urine-glucose.html", + "http://hl7.org/fhir/us/core/Observation/urine-epi-cells": "Observation-urine-epi-cells.html", + "http://hl7.org/fhir/us/core/Observation/urine-color": "Observation-urine-color.html", + "http://hl7.org/fhir/us/core/Observation/urine-clarity": "Observation-urine-clarity.html", + "http://hl7.org/fhir/us/core/Observation/urine-cells": "Observation-urine-cells.html", + "http://hl7.org/fhir/us/core/Observation/urine-bilirubin": "Observation-urine-bilirubin.html", + "http://hl7.org/fhir/us/core/Observation/urine-bacteria": "Observation-urine-bacteria.html", + "http://hl7.org/fhir/us/core/DiagnosticReport/urinalysis": "DiagnosticReport-urinalysis.html", + "http://hl7.org/fhir/us/core/Device/udi-1": "Device-udi-1.html", + "http://hl7.org/fhir/us/core/Observation/temperature": "Observation-temperature.html", + "http://hl7.org/fhir/us/core/Observation/some-day-smoker": "Observation-some-day-smoker.html", + "http://hl7.org/fhir/us/core/Observation/serum-total-bilirubin": "Observation-serum-total-bilirubin.html", + "http://hl7.org/fhir/us/core/Observation/serum-sodium": "Observation-serum-sodium.html", + "http://hl7.org/fhir/us/core/Observation/serum-potassium": "Observation-serum-potassium.html", + "http://hl7.org/fhir/us/core/Observation/serum-creatinine": "Observation-serum-creatinine.html", + "http://hl7.org/fhir/us/core/Observation/serum-co2": "Observation-serum-co2.html", + "http://hl7.org/fhir/us/core/Observation/serum-chloride": "Observation-serum-chloride.html", + "http://hl7.org/fhir/us/core/Observation/serum-calcium": "Observation-serum-calcium.html", + "http://hl7.org/fhir/us/core/Observation/respiratory-rate": "Observation-respiratory-rate.html", + "http://hl7.org/fhir/us/core/Procedure/rehab": "Procedure-rehab.html", + "http://hl7.org/fhir/us/core/Practitioner/practitioner-1": "Practitioner-practitioner-1.html", + "http://hl7.org/fhir/us/core/Patient/example": "Patient-example.html", + "http://hl7.org/fhir/us/core/Observation/oxygen-saturation": "Observation-oxygen-saturation.html", + "http://hl7.org/fhir/us/core/Observation/neutrophils": "Observation-neutrophils.html", + "http://hl7.org/fhir/us/core/DiagnosticReport/metabolic-panel": "DiagnosticReport-metabolic-panel.html", + "http://hl7.org/fhir/us/core/Observation/mchc": "Observation-mchc.html", + "http://hl7.org/fhir/us/core/Observation/length": "Observation-length.html", + "http://hl7.org/fhir/us/core/Immunization/imm-1": "Immunization-imm-1.html", + "http://hl7.org/fhir/us/core/Location/hl7east": "Location-hl7east.html", + "http://hl7.org/fhir/us/core/Observation/hemoglobin": "Observation-hemoglobin.html", + "http://hl7.org/fhir/us/core/Observation/height": "Observation-height.html", + "http://hl7.org/fhir/us/core/Observation/heart-rate": "Observation-heart-rate.html", + "http://hl7.org/fhir/us/core/Observation/head-circumference": "Observation-head-circumference.html", + "http://hl7.org/fhir/us/core/Condition/hc1": "Condition-hc1.html", + "http://hl7.org/fhir/us/core/Goal/goal-1": "Goal-goal-1.html", + "http://hl7.org/fhir/us/core/Observation/erythrocytes": "Observation-erythrocytes.html", + "http://hl7.org/fhir/us/core/Condition/example": "Condition-example.html", + "http://hl7.org/fhir/us/core/CarePlan/colonoscopy": "Careplan-colonoscopy.html", + "http://hl7.org/fhir/us/core/DiagnosticReport/cbc": "DiagnosticReport-cbc.html", + "http://hl7.org/fhir/us/core/CareTeam/example": "Careteam-example.html", + "http://hl7.org/fhir/us/core/Observation/BUN": "Observation-BUN.html", + "http://hl7.org/fhir/us/core/Observation/bp-data-absent": "Observation-bp-data-absent.html", + "http://hl7.org/fhir/us/core/Observation/bmi": "Observation-bmi.html", + "http://hl7.org/fhir/us/core/Observation/blood-pressure": "Observation-blood-pressure.html", + "http://hl7.org/fhir/us/core/Observation/blood-glucose": "Observation-blood-glucose.html", + "http://hl7.org/fhir/us/core/AllergyIntolerance/example": "AllergyIntolerance-example.html", + "http://hl7.org/fhir/us/core/Organization/acme-lab": "Organization-acme-lab.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-ucum": "ValueSet-us-core-ucum.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance": "ValueSet-us-core-substance.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-sct": "ValueSet-us-core-substance-sct.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-rxnorm": "ValueSet-us-core-substance-rxnorm.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-substance-ndfrt": "ValueSet-us-core-substance-ndfrt.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-specialty": "ValueSet-us-core-provider-specialty.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-provider-role": "ValueSet-us-core-provider-role.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-type": "ValueSet-us-core-procedure-type.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-procedure-icd10pcs": "ValueSet-us-core-procedure-icd10pcs.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-problem": "ValueSet-us-core-problem.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-value-codes": "ValueSet-us-core-observation-value-codes.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdavitalsignresult": "ValueSet-us-core-observation-ccdavitalsignresult.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-observation-ccdasmokingstatus": "ValueSet-us-core-observation-ccdasmokingstatus.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-ndc-vaccine-codes": "ValueSet-us-core-ndc-vaccine-codes.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-narrative-status": "ValueSet-us-core-narrative-status.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-medication-codes": "ValueSet-us-core-medication-codes.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-immunization-status": "ValueSet-us-core-immunization-status.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-cvx": "ValueSet-us-core-cvx.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-condition-category": "ValueSet-us-core-condition-category.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-status": "ValueSet-us-core-careteam-status.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-careteam-provider-roles": "ValueSet-us-core-careteam-provider-roles.html", + "http://hl7.org/fhir/us/core/ValueSet/us-core-birthsex": "ValueSet-us-core-birthsex.html", + "http://hl7.org/fhir/us/core/ValueSet/omb-race": "ValueSet-omb-race.html", + "http://hl7.org/fhir/us/core/ValueSet/omb-ethnicity": "ValueSet-omb-ethnicity.html", + "http://hl7.org/fhir/us/core/ValueSet/detailed-race": "ValueSet-detailed-race.html", + "http://hl7.org/fhir/us/core/ValueSet/detailed-ethnicity": "ValueSet-detailed-ethnicity.html", + "http://hl7.org/fhir/us/core/SearchParameter/us-core-race": "SearchParameter-us-core-race.html", + "http://hl7.org/fhir/us/core/SearchParameter/us-core-ethnicity": "SearchParameter-us-core-ethnicity.html", + "http://hl7.org/fhir/us/core/CodeSystem/condition-category": "CodeSystem-condition-category.html", + "http://hl7.org/fhir/us/core/CodeSystem/careteam-status": "CodeSystem-careteam-status.html", + "http://hl7.org/fhir/us/core/CodeSystem/careplan-category": "CodeSystem-careplan-category.html", + "http://hl7.org/fhir/us/core/CapabilityStatement/server": "CapabilityStatement-server.html", + "http://hl7.org/fhir/us/core/CapabilityStatement/client": "CapabilityStatement-client.html" + }, + "pages": {}, + "targets": [ + "all-examples.html", + "AllergyIntolerance-example.html", + "AllergyIntolerance-example.json.html", + "AllergyIntolerance-example.ttl.html", + "AllergyIntolerance-example.xml.html", + "Bundle-uscore-mo3.html", + "Bundle-uscore-mo3.json.html", + "Bundle-uscore-mo3.ttl.html", + "Bundle-uscore-mo3.xml.html", + "Bundle-uscore-ms3.html", + "Bundle-uscore-ms3.json.html", + "Bundle-uscore-ms3.ttl.html", + "Bundle-uscore-ms3.xml.html", + "CapabilityStatement-client.html", + "CapabilityStatement-client.json.html", + "CapabilityStatement-client.ttl.html", + "CapabilityStatement-client.xml.html", + "CapabilityStatement-server.html", + "CapabilityStatement-server.json.html", + "CapabilityStatement-server.ttl.html", + "CapabilityStatement-server.xml.html", + "capstmnts.html", + "Careplan-colonoscopy.html", + "CarePlan-colonoscopy.json.html", + "CarePlan-colonoscopy.ttl.html", + "CarePlan-colonoscopy.xml.html", + "Careteam-example.html", + "CareTeam-example.json.html", + "CareTeam-example.ttl.html", + "CareTeam-example.xml.html", + "CodeSystem-careplan-category.html", + "CodeSystem-careplan-category.json.html", + "CodeSystem-careplan-category.ttl.html", + "CodeSystem-careplan-category.xml.html", + "CodeSystem-careteam-status.html", + "CodeSystem-careteam-status.json.html", + "CodeSystem-careteam-status.ttl.html", + "CodeSystem-careteam-status.xml.html", + "CodeSystem-condition-category.html", + "CodeSystem-condition-category.json.html", + "CodeSystem-condition-category.ttl.html", + "CodeSystem-condition-category.xml.html", + "Condition-example.html", + "Condition-example.json.html", + "Condition-example.ttl.html", + "Condition-example.xml.html", + "Condition-hc1.html", + "Condition-hc1.json.html", + "Condition-hc1.ttl.html", + "Condition-hc1.xml.html", + "definitions.html", + "Device-udi-1.html", + "Device-udi-1.json.html", + "Device-udi-1.ttl.html", + "Device-udi-1.xml.html", + "DiagnosticReport-cbc.html", + "DiagnosticReport-cbc.json.html", + "DiagnosticReport-cbc.ttl.html", + "DiagnosticReport-cbc.xml.html", + "DiagnosticReport-metabolic-panel.html", + "DiagnosticReport-metabolic-panel.json.html", + "DiagnosticReport-metabolic-panel.ttl.html", + "DiagnosticReport-metabolic-panel.xml.html", + "DiagnosticReport-urinalysis.html", + "DiagnosticReport-urinalysis.json.html", + "DiagnosticReport-urinalysis.ttl.html", + "DiagnosticReport-urinalysis.xml.html", + "downloads.html", + "extensions.html", + "Goal-goal-1.html", + "Goal-goal-1.json.html", + "Goal-goal-1.ttl.html", + "Goal-goal-1.xml.html", + "history.html", + "Immunization-imm-1.html", + "Immunization-imm-1.json.html", + "Immunization-imm-1.ttl.html", + "Immunization-imm-1.xml.html", + "ImplementationGuide-ig.html", + "ImplementationGuide-ig.json.html", + "ImplementationGuide-ig.ttl.html", + "ImplementationGuide-ig.xml.html", + "index.html", + "Location-hl7east.html", + "Location-hl7east.json.html", + "Location-hl7east.ttl.html", + "Location-hl7east.xml.html", + "Medication-uscore-med1.html", + "Medication-uscore-med1.json.html", + "Medication-uscore-med1.ttl.html", + "Medication-uscore-med1.xml.html", + "Medication-uscore-med2.html", + "Medication-uscore-med2.json.html", + "Medication-uscore-med2.ttl.html", + "Medication-uscore-med2.xml.html", + "MedicationRequest-uscore-mo1.html", + "MedicationRequest-uscore-mo1.json.html", + "MedicationRequest-uscore-mo1.ttl.html", + "MedicationRequest-uscore-mo1.xml.html", + "MedicationRequest-uscore-mo2.html", + "MedicationRequest-uscore-mo2.json.html", + "MedicationRequest-uscore-mo2.ttl.html", + "MedicationRequest-uscore-mo2.xml.html", + "MedicationStatement-uscore-ms1.html", + "MedicationStatement-uscore-ms1.json.html", + "MedicationStatement-uscore-ms1.ttl.html", + "MedicationStatement-uscore-ms1.xml.html", + "MedicationStatement-uscore-ms2.html", + "MedicationStatement-uscore-ms2.json.html", + "MedicationStatement-uscore-ms2.ttl.html", + "MedicationStatement-uscore-ms2.xml.html", + "Observation-blood-glucose.html", + "Observation-blood-glucose.json.html", + "Observation-blood-glucose.ttl.html", + "Observation-blood-glucose.xml.html", + "Observation-blood-pressure.html", + "Observation-blood-pressure.json.html", + "Observation-blood-pressure.ttl.html", + "Observation-blood-pressure.xml.html", + "Observation-bmi.html", + "Observation-bmi.json.html", + "Observation-bmi.ttl.html", + "Observation-bmi.xml.html", + "Observation-bp-data-absent.html", + "Observation-bp-data-absent.json.html", + "Observation-bp-data-absent.ttl.html", + "Observation-bp-data-absent.xml.html", + "Observation-BUN.html", + "Observation-BUN.json.html", + "Observation-BUN.ttl.html", + "Observation-BUN.xml.html", + "Observation-erythrocytes.html", + "Observation-erythrocytes.json.html", + "Observation-erythrocytes.ttl.html", + "Observation-erythrocytes.xml.html", + "Observation-head-circumference.html", + "Observation-head-circumference.json.html", + "Observation-head-circumference.ttl.html", + "Observation-head-circumference.xml.html", + "Observation-heart-rate.html", + "Observation-heart-rate.json.html", + "Observation-heart-rate.ttl.html", + "Observation-heart-rate.xml.html", + "Observation-height.html", + "Observation-height.json.html", + "Observation-height.ttl.html", + "Observation-height.xml.html", + "Observation-hemoglobin.html", + "Observation-hemoglobin.json.html", + "Observation-hemoglobin.ttl.html", + "Observation-hemoglobin.xml.html", + "Observation-length.html", + "Observation-length.json.html", + "Observation-length.ttl.html", + "Observation-length.xml.html", + "Observation-mchc.html", + "Observation-mchc.json.html", + "Observation-mchc.ttl.html", + "Observation-mchc.xml.html", + "Observation-neutrophils.html", + "Observation-neutrophils.json.html", + "Observation-neutrophils.ttl.html", + "Observation-neutrophils.xml.html", + "Observation-oxygen-saturation.html", + "Observation-oxygen-saturation.json.html", + "Observation-oxygen-saturation.ttl.html", + "Observation-oxygen-saturation.xml.html", + "Observation-respiratory-rate.html", + "Observation-respiratory-rate.json.html", + "Observation-respiratory-rate.ttl.html", + "Observation-respiratory-rate.xml.html", + "Observation-serum-calcium.html", + "Observation-serum-calcium.json.html", + "Observation-serum-calcium.ttl.html", + "Observation-serum-calcium.xml.html", + "Observation-serum-chloride.html", + "Observation-serum-chloride.json.html", + "Observation-serum-chloride.ttl.html", + "Observation-serum-chloride.xml.html", + "Observation-serum-co2.html", + "Observation-serum-co2.json.html", + "Observation-serum-co2.ttl.html", + "Observation-serum-co2.xml.html", + "Observation-serum-creatinine.html", + "Observation-serum-creatinine.json.html", + "Observation-serum-creatinine.ttl.html", + "Observation-serum-creatinine.xml.html", + "Observation-serum-potassium.html", + "Observation-serum-potassium.json.html", + "Observation-serum-potassium.ttl.html", + "Observation-serum-potassium.xml.html", + "Observation-serum-sodium.html", + "Observation-serum-sodium.json.html", + "Observation-serum-sodium.ttl.html", + "Observation-serum-sodium.xml.html", + "Observation-serum-total-bilirubin.html", + "Observation-serum-total-bilirubin.json.html", + "Observation-serum-total-bilirubin.ttl.html", + "Observation-serum-total-bilirubin.xml.html", + "Observation-some-day-smoker.html", + "Observation-some-day-smoker.json.html", + "Observation-some-day-smoker.ttl.html", + "Observation-some-day-smoker.xml.html", + "Observation-temperature.html", + "Observation-temperature.json.html", + "Observation-temperature.ttl.html", + "Observation-temperature.xml.html", + "Observation-urine-bacteria.html", + "Observation-urine-bacteria.json.html", + "Observation-urine-bacteria.ttl.html", + "Observation-urine-bacteria.xml.html", + "Observation-urine-bilirubin.html", + "Observation-urine-bilirubin.json.html", + "Observation-urine-bilirubin.ttl.html", + "Observation-urine-bilirubin.xml.html", + "Observation-urine-cells.html", + "Observation-urine-cells.json.html", + "Observation-urine-cells.ttl.html", + "Observation-urine-cells.xml.html", + "Observation-urine-clarity.html", + "Observation-urine-clarity.json.html", + "Observation-urine-clarity.ttl.html", + "Observation-urine-clarity.xml.html", + "Observation-urine-color.html", + "Observation-urine-color.json.html", + "Observation-urine-color.ttl.html", + "Observation-urine-color.xml.html", + "Observation-urine-epi-cells.html", + "Observation-urine-epi-cells.json.html", + "Observation-urine-epi-cells.ttl.html", + "Observation-urine-epi-cells.xml.html", + "Observation-urine-glucose.html", + "Observation-urine-glucose.json.html", + "Observation-urine-glucose.ttl.html", + "Observation-urine-glucose.xml.html", + "Observation-urine-hemoglobin.html", + "Observation-urine-hemoglobin.json.html", + "Observation-urine-hemoglobin.ttl.html", + "Observation-urine-hemoglobin.xml.html", + "Observation-urine-ketone.html", + "Observation-urine-ketone.json.html", + "Observation-urine-ketone.ttl.html", + "Observation-urine-ketone.xml.html", + "Observation-urine-leukocyte-esterase.html", + "Observation-urine-leukocyte-esterase.json.html", + "Observation-urine-leukocyte-esterase.ttl.html", + "Observation-urine-leukocyte-esterase.xml.html", + "Observation-urine-nitrite.html", + "Observation-urine-nitrite.json.html", + "Observation-urine-nitrite.ttl.html", + "Observation-urine-nitrite.xml.html", + "Observation-urine-ph.html", + "Observation-urine-ph.json.html", + "Observation-urine-ph.ttl.html", + "Observation-urine-ph.xml.html", + "Observation-urine-protein.html", + "Observation-urine-protein.json.html", + "Observation-urine-protein.ttl.html", + "Observation-urine-protein.xml.html", + "Observation-urine-rbcs.html", + "Observation-urine-rbcs.json.html", + "Observation-urine-rbcs.ttl.html", + "Observation-urine-rbcs.xml.html", + "Observation-urine-sediment.html", + "Observation-urine-sediment.json.html", + "Observation-urine-sediment.ttl.html", + "Observation-urine-sediment.xml.html", + "Observation-urine-wbcs.html", + "Observation-urine-wbcs.json.html", + "Observation-urine-wbcs.ttl.html", + "Observation-urine-wbcs.xml.html", + "Observation-urobilinogen.html", + "Observation-urobilinogen.json.html", + "Observation-urobilinogen.ttl.html", + "Observation-urobilinogen.xml.html", + "Observation-usg.html", + "Observation-usg.json.html", + "Observation-usg.ttl.html", + "Observation-usg.xml.html", + "Observation-vitals-panel.html", + "Observation-vitals-panel.json.html", + "Observation-vitals-panel.ttl.html", + "Observation-vitals-panel.xml.html", + "Observation-weight.html", + "Observation-weight.json.html", + "Observation-weight.ttl.html", + "Observation-weight.xml.html", + "Organization-acme-lab.html", + "Organization-acme-lab.json.html", + "Organization-acme-lab.ttl.html", + "Organization-acme-lab.xml.html", + "Patient-example.html", + "Patient-example.json.html", + "Patient-example.ttl.html", + "Patient-example.xml.html", + "Practitioner-practitioner-1.html", + "Practitioner-practitioner-1.json.html", + "Practitioner-practitioner-1.ttl.html", + "Practitioner-practitioner-1.xml.html", + "Procedure-rehab.html", + "Procedure-rehab.json.html", + "Procedure-rehab.ttl.html", + "Procedure-rehab.xml.html", + "profiles.html", + "SearchParameter-us-core-ethnicity.html", + "SearchParameter-us-core-ethnicity.json.html", + "SearchParameter-us-core-ethnicity.ttl.html", + "SearchParameter-us-core-ethnicity.xml.html", + "SearchParameter-us-core-race.html", + "SearchParameter-us-core-race.json.html", + "SearchParameter-us-core-race.ttl.html", + "SearchParameter-us-core-race.xml.html", + "searchparams.html", + "security.html", + "StructureDefinition-us-core-allergyintolerance-definitions.html", + "StructureDefinition-us-core-allergyintolerance-mappings.html", + "StructureDefinition-us-core-allergyintolerance.html", + "StructureDefinition-us-core-allergyintolerance.json.html", + "StructureDefinition-us-core-allergyintolerance.ttl.html", + "StructureDefinition-us-core-allergyintolerance.xml.html", + "StructureDefinition-us-core-birthsex-definitions.html", + "StructureDefinition-us-core-birthsex-mappings.html", + "StructureDefinition-us-core-birthsex.html", + "StructureDefinition-us-core-birthsex.json.html", + "StructureDefinition-us-core-birthsex.ttl.html", + "StructureDefinition-us-core-birthsex.xml.html", + "StructureDefinition-us-core-careplan-definitions.html", + "StructureDefinition-us-core-careplan-mappings.html", + "StructureDefinition-us-core-careplan.html", + "StructureDefinition-us-core-careplan.json.html", + "StructureDefinition-us-core-careplan.ttl.html", + "StructureDefinition-us-core-careplan.xml.html", + "StructureDefinition-us-core-careteam-definitions.html", + "StructureDefinition-us-core-careteam-mappings.html", + "StructureDefinition-us-core-careteam.html", + "StructureDefinition-us-core-careteam.json.html", + "StructureDefinition-us-core-careteam.ttl.html", + "StructureDefinition-us-core-careteam.xml.html", + "StructureDefinition-us-core-condition-definitions.html", + "StructureDefinition-us-core-condition-mappings.html", + "StructureDefinition-us-core-condition.html", + "StructureDefinition-us-core-condition.json.html", + "StructureDefinition-us-core-condition.ttl.html", + "StructureDefinition-us-core-condition.xml.html", + "StructureDefinition-us-core-device-definitions.html", + "StructureDefinition-us-core-device-mappings.html", + "StructureDefinition-us-core-device.html", + "StructureDefinition-us-core-device.json.html", + "StructureDefinition-us-core-device.ttl.html", + "StructureDefinition-us-core-device.xml.html", + "StructureDefinition-us-core-diagnosticreport-definitions.html", + "StructureDefinition-us-core-diagnosticreport-mappings.html", + "StructureDefinition-us-core-diagnosticreport.html", + "StructureDefinition-us-core-diagnosticreport.json.html", + "StructureDefinition-us-core-diagnosticreport.ttl.html", + "StructureDefinition-us-core-diagnosticreport.xml.html", + "StructureDefinition-us-core-direct-definitions.html", + "StructureDefinition-us-core-direct-mappings.html", + "StructureDefinition-us-core-direct.html", + "StructureDefinition-us-core-direct.json.html", + "StructureDefinition-us-core-direct.ttl.html", + "StructureDefinition-us-core-direct.xml.html", + "StructureDefinition-us-core-ethnicity-definitions.html", + "StructureDefinition-us-core-ethnicity-mappings.html", + "StructureDefinition-us-core-ethnicity.html", + "StructureDefinition-us-core-ethnicity.json.html", + "StructureDefinition-us-core-ethnicity.ttl.html", + "StructureDefinition-us-core-ethnicity.xml.html", + "StructureDefinition-us-core-goal-definitions.html", + "StructureDefinition-us-core-goal-mappings.html", + "StructureDefinition-us-core-goal.html", + "StructureDefinition-us-core-goal.json.html", + "StructureDefinition-us-core-goal.ttl.html", + "StructureDefinition-us-core-goal.xml.html", + "StructureDefinition-us-core-immunization-definitions.html", + "StructureDefinition-us-core-immunization-mappings.html", + "StructureDefinition-us-core-immunization.html", + "StructureDefinition-us-core-immunization.json.html", + "StructureDefinition-us-core-immunization.ttl.html", + "StructureDefinition-us-core-immunization.xml.html", + "StructureDefinition-us-core-location-definitions.html", + "StructureDefinition-us-core-location-mappings.html", + "StructureDefinition-us-core-location.html", + "StructureDefinition-us-core-location.json.html", + "StructureDefinition-us-core-location.ttl.html", + "StructureDefinition-us-core-location.xml.html", + "StructureDefinition-us-core-medication-definitions.html", + "StructureDefinition-us-core-medication-mappings.html", + "StructureDefinition-us-core-medication.html", + "StructureDefinition-us-core-medication.json.html", + "StructureDefinition-us-core-medication.ttl.html", + "StructureDefinition-us-core-medication.xml.html", + "StructureDefinition-us-core-medicationrequest-definitions.html", + "StructureDefinition-us-core-medicationrequest-mappings.html", + "StructureDefinition-us-core-medicationrequest.html", + "StructureDefinition-us-core-medicationrequest.json.html", + "StructureDefinition-us-core-medicationrequest.ttl.html", + "StructureDefinition-us-core-medicationrequest.xml.html", + "StructureDefinition-us-core-medicationstatement-definitions.html", + "StructureDefinition-us-core-medicationstatement-mappings.html", + "StructureDefinition-us-core-medicationstatement.html", + "StructureDefinition-us-core-medicationstatement.json.html", + "StructureDefinition-us-core-medicationstatement.ttl.html", + "StructureDefinition-us-core-medicationstatement.xml.html", + "StructureDefinition-us-core-observationresults-definitions.html", + "StructureDefinition-us-core-observationresults-mappings.html", + "StructureDefinition-us-core-observationresults.html", + "StructureDefinition-us-core-observationresults.json.html", + "StructureDefinition-us-core-observationresults.ttl.html", + "StructureDefinition-us-core-observationresults.xml.html", + "StructureDefinition-us-core-Organization-definitions.html", + "StructureDefinition-us-core-organization-mappings.html", + "StructureDefinition-us-core-organization.html", + "StructureDefinition-us-core-organization.json.html", + "StructureDefinition-us-core-organization.ttl.html", + "StructureDefinition-us-core-organization.xml.html", + "StructureDefinition-us-core-patient-definitions.html", + "StructureDefinition-us-core-patient-mappings.html", + "StructureDefinition-us-core-patient.html", + "StructureDefinition-us-core-patient.json.html", + "StructureDefinition-us-core-patient.ttl.html", + "StructureDefinition-us-core-patient.xml.html", + "StructureDefinition-us-core-pract-definitions.html", + "StructureDefinition-us-core-pract-mappings.html", + "StructureDefinition-us-core-pract.html", + "StructureDefinition-us-core-pract.json.html", + "StructureDefinition-us-core-pract.ttl.html", + "StructureDefinition-us-core-pract.xml.html", + "StructureDefinition-us-core-procedure-definitions.html", + "StructureDefinition-us-core-procedure-mappings.html", + "StructureDefinition-us-core-procedure.html", + "StructureDefinition-us-core-procedure.json.html", + "StructureDefinition-us-core-procedure.ttl.html", + "StructureDefinition-us-core-procedure.xml.html", + "StructureDefinition-us-core-race-definitions.html", + "StructureDefinition-us-core-race-mappings.html", + "StructureDefinition-us-core-race.html", + "StructureDefinition-us-core-race.json.html", + "StructureDefinition-us-core-race.ttl.html", + "StructureDefinition-us-core-race.xml.html", + "StructureDefinition-us-core-smokingstatus-definitions.html", + "StructureDefinition-us-core-smokingstatus-mappings.html", + "StructureDefinition-us-core-smokingstatus.html", + "StructureDefinition-us-core-smokingstatus.json.html", + "StructureDefinition-us-core-smokingstatus.ttl.html", + "StructureDefinition-us-core-smokingstatus.xml.html", + "StructureDefinition-us-core-vitalsigns-definitions.html", + "StructureDefinition-us-core-vitalsigns-mappings.html", + "StructureDefinition-us-core-vitalsigns.html", + "StructureDefinition-us-core-vitalsigns.json.html", + "StructureDefinition-us-core-vitalsigns.ttl.html", + "StructureDefinition-us-core-vitalsigns.xml.html", + "ValueSet-detailed-ethnicity.html", + "ValueSet-detailed-ethnicity.json.html", + "ValueSet-detailed-ethnicity.ttl.html", + "ValueSet-detailed-ethnicity.xml.html", + "ValueSet-detailed-race.html", + "ValueSet-detailed-race.json.html", + "ValueSet-detailed-race.ttl.html", + "ValueSet-detailed-race.xml.html", + "ValueSet-omb-ethnicity.html", + "ValueSet-omb-ethnicity.json.html", + "ValueSet-omb-ethnicity.ttl.html", + "ValueSet-omb-ethnicity.xml.html", + "ValueSet-omb-race.html", + "ValueSet-omb-race.json.html", + "ValueSet-omb-race.ttl.html", + "ValueSet-omb-race.xml.html", + "ValueSet-us-core-birthsex.html", + "ValueSet-us-core-birthsex.json.html", + "ValueSet-us-core-birthsex.ttl.html", + "ValueSet-us-core-birthsex.xml.html", + "ValueSet-us-core-careteam-provider-roles.html", + "ValueSet-us-core-careteam-provider-roles.json.html", + "ValueSet-us-core-careteam-provider-roles.ttl.html", + "ValueSet-us-core-careteam-provider-roles.xml.html", + "ValueSet-us-core-careteam-status.html", + "ValueSet-us-core-careteam-status.json.html", + "ValueSet-us-core-careteam-status.ttl.html", + "ValueSet-us-core-careteam-status.xml.html", + "ValueSet-us-core-condition-category.html", + "ValueSet-us-core-condition-category.json.html", + "ValueSet-us-core-condition-category.ttl.html", + "ValueSet-us-core-condition-category.xml.html", + "ValueSet-us-core-cvx.html", + "ValueSet-us-core-cvx.json.html", + "ValueSet-us-core-cvx.ttl.html", + "ValueSet-us-core-cvx.xml.html", + "ValueSet-us-core-immunization-status.html", + "ValueSet-us-core-immunization-status.json.html", + "ValueSet-us-core-immunization-status.ttl.html", + "ValueSet-us-core-immunization-status.xml.html", + "ValueSet-us-core-medication-codes.html", + "ValueSet-us-core-medication-codes.json.html", + "ValueSet-us-core-medication-codes.ttl.html", + "ValueSet-us-core-medication-codes.xml.html", + "ValueSet-us-core-narrative-status.html", + "ValueSet-us-core-narrative-status.json.html", + "ValueSet-us-core-narrative-status.ttl.html", + "ValueSet-us-core-narrative-status.xml.html", + "ValueSet-us-core-ndc-vaccine-codes.html", + "ValueSet-us-core-ndc-vaccine-codes.json.html", + "ValueSet-us-core-ndc-vaccine-codes.ttl.html", + "ValueSet-us-core-ndc-vaccine-codes.xml.html", + "ValueSet-us-core-observation-ccdasmokingstatus.html", + "ValueSet-us-core-observation-ccdasmokingstatus.json.html", + "ValueSet-us-core-observation-ccdasmokingstatus.ttl.html", + "ValueSet-us-core-observation-ccdasmokingstatus.xml.html", + "ValueSet-us-core-observation-ccdavitalsignresult.html", + "ValueSet-us-core-observation-ccdavitalsignresult.json.html", + "ValueSet-us-core-observation-ccdavitalsignresult.ttl.html", + "ValueSet-us-core-observation-ccdavitalsignresult.xml.html", + "ValueSet-us-core-observation-value-codes.html", + "ValueSet-us-core-observation-value-codes.json.html", + "ValueSet-us-core-observation-value-codes.ttl.html", + "ValueSet-us-core-observation-value-codes.xml.html", + "ValueSet-us-core-problem.html", + "ValueSet-us-core-problem.json.html", + "ValueSet-us-core-problem.ttl.html", + "ValueSet-us-core-problem.xml.html", + "ValueSet-us-core-procedure-icd10pcs.html", + "ValueSet-us-core-procedure-icd10pcs.json.html", + "ValueSet-us-core-procedure-icd10pcs.ttl.html", + "ValueSet-us-core-procedure-icd10pcs.xml.html", + "ValueSet-us-core-procedure-type.html", + "ValueSet-us-core-procedure-type.json.html", + "ValueSet-us-core-procedure-type.ttl.html", + "ValueSet-us-core-procedure-type.xml.html", + "ValueSet-us-core-provider-role.html", + "ValueSet-us-core-provider-role.json.html", + "ValueSet-us-core-provider-role.ttl.html", + "ValueSet-us-core-provider-role.xml.html", + "ValueSet-us-core-provider-specialty.html", + "ValueSet-us-core-provider-specialty.json.html", + "ValueSet-us-core-provider-specialty.ttl.html", + "ValueSet-us-core-provider-specialty.xml.html", + "ValueSet-us-core-substance-ndfrt.html", + "ValueSet-us-core-substance-ndfrt.json.html", + "ValueSet-us-core-substance-ndfrt.ttl.html", + "ValueSet-us-core-substance-ndfrt.xml.html", + "ValueSet-us-core-substance-rxnorm.html", + "ValueSet-us-core-substance-rxnorm.json.html", + "ValueSet-us-core-substance-rxnorm.ttl.html", + "ValueSet-us-core-substance-rxnorm.xml.html", + "ValueSet-us-core-substance-sct.html", + "ValueSet-us-core-substance-sct.json.html", + "ValueSet-us-core-substance-sct.ttl.html", + "ValueSet-us-core-substance-sct.xml.html", + "ValueSet-us-core-substance.html", + "ValueSet-us-core-substance.json.html", + "ValueSet-us-core-substance.ttl.html", + "ValueSet-us-core-substance.xml.html", + "ValueSet-us-core-ucum.html", + "ValueSet-us-core-ucum.json.html", + "ValueSet-us-core-ucum.ttl.html", + "ValueSet-us-core-ucum.xml.html", + "valuesets.html" + ], + "images": [] +} \ No newline at end of file diff --git a/lib/rubrics.rb b/lib/rubrics.rb index 5cdbefe..ba754a3 100644 --- a/lib/rubrics.rb +++ b/lib/rubrics.rb @@ -1,12 +1,13 @@ module FHIR class Rubrics + @@disabled = [:us_core, :standard_health_record] @@rubrics = {} def self.apply(record) report = {} @@rubrics.each do |key,rubric| - report[key] = rubric.call(record) + report[key] = rubric.call(record) unless @@disabled.include?(key) end report end @@ -19,5 +20,13 @@ def self.response(points,message) {:points=>points,:message=>message} end + def self.enable(rubric) + @@disabled.delete(rubric) + end + + def self.disable(rubric) + @@disabled << rubric unless @@disabled.include?(rubric) + end + end end diff --git a/lib/rubrics/standard_health_record.rb b/lib/rubrics/standard_health_record.rb new file mode 100644 index 0000000..53a753c --- /dev/null +++ b/lib/rubrics/standard_health_record.rb @@ -0,0 +1,39 @@ +module FHIR + class StandardHealthRecordRubric < FHIR::Rubrics + + # Resources should adhere to the Standard Health Record (SHR) Implementation Guide (IG) + rubric :standard_health_record do |record| + results = { + :eligible_resources => 0, + :validated_resources => 0 + } + + resources = record.entry.map{|e|e.resource} + resources.each_with_index do |resource, index| + profile = FHIR::ImplementationGuideLookup.guess_shr_profile(resource) + if profile + results[:eligible_resources] += 1 + errors = profile.validate_resource(resource) + if errors.empty? + results[:validated_resources] += 1 + else + puts "------------------------------" + puts "#{index+1} of #{resources.size}" + puts "Profile: #{profile.id}" + puts "ERRORS" + puts errors + puts "WARNINGS" + puts profile.warnings + end + end + end + + percentage = results[:validated_resources].to_f / results[:eligible_resources].to_f + percentage = 0.0 if percentage.nan? + points = 10.0 * percentage + message = "#{(100 * percentage).to_i}% (#{results[:validated_resources]}/#{results[:eligible_resources]}) of eligible resources conform to the Standard Health Record (SHR) Implementation Guide." + response(points.to_i,message) + end + + end +end diff --git a/lib/rubrics/us_core.rb b/lib/rubrics/us_core.rb new file mode 100644 index 0000000..1baeecf --- /dev/null +++ b/lib/rubrics/us_core.rb @@ -0,0 +1,39 @@ +module FHIR + class USCoreRubric < FHIR::Rubrics + + # Resources should adhere to the US Core Implementation Guide (IG) + rubric :us_core do |record| + results = { + :eligible_resources => 0, + :validated_resources => 0 + } + + resources = record.entry.map{|e|e.resource} + resources.each_with_index do |resource, index| + profile = FHIR::ImplementationGuideLookup.guess_uscore_profile(resource) + if profile + results[:eligible_resources] += 1 + errors = profile.validate_resource(resource) + if errors.empty? + results[:validated_resources] += 1 + else + puts "------------------------------" + puts "#{index+1} of #{resources.size}" + puts "Profile: #{profile.id}" + puts "ERRORS" + puts errors + puts "WARNINGS" + puts profile.warnings + end + end + end + + percentage = results[:validated_resources].to_f / results[:eligible_resources].to_f + percentage = 0.0 if percentage.nan? + points = 10.0 * percentage + message = "#{(100 * percentage).to_i}% (#{results[:validated_resources]}/#{results[:eligible_resources]}) of eligible resources conform to the US Core Implementation Guide." + response(points.to_i,message) + end + + end +end diff --git a/lib/scorecard.rb b/lib/scorecard.rb index 79b47ed..7875132 100644 --- a/lib/scorecard.rb +++ b/lib/scorecard.rb @@ -42,5 +42,13 @@ def score(bundle_raw) @report end + def enable_us_core + FHIR::Rubrics.enable(:us_core) + end + + def enable_shr + FHIR::Rubrics.enable(:standard_health_record) + end + end end \ No newline at end of file diff --git a/lib/tasks/tasks.rake b/lib/tasks/tasks.rake index 31f32b1..0f35155 100644 --- a/lib/tasks/tasks.rake +++ b/lib/tasks/tasks.rake @@ -12,17 +12,20 @@ namespace :fhir do puts 'A path to FHIR Bundle is required!' else contents = File.open(bundle_path,'r:UTF-8',&:read) + FHIR.logger.level = Logger::INFO scorecard = FHIR::Scorecard.new + scorecard.enable_us_core + scorecard.enable_shr report = scorecard.score(contents) puts puts " POINTS CATEGORY MESSAGE" puts " ------ -------- -------" report.each do |key,value| next if key==:points - printf(" %3d %20s %s\n", value[:points], key, value[:message]) + printf(" %3d %22s %s\n", value[:points], key, value[:message]) end puts " ------" - printf(" %3d %20s\n", report[:points], 'TOTAL') + printf(" %3d %22s\n", report[:points], 'TOTAL') puts end end